###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
npm install gulp-iconfont --save-dev | |
npm install gulp-iconfont-css --save-dev | |
curl https://gist.githubusercontent.com/prosenjit-itobuz/89d289a797a622667e77eeb0d8259ff8/raw/54a7c7accf25ea4d2f84e3fcee46d939b8300e14/gulpfile.js > gulpfile.js |
'use strict'; | |
var gulp = require('gulp'); | |
var iconfont = require('gulp-iconfont'); | |
var iconfontCss = require('gulp-iconfont-css'); | |
var fontName = 'Icons'; | |
gulp.task('iconfont_styles', function(){ |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
# Virtual Hosts | |
# | |
# Required modules: mod_log_config | |
# If you want to maintain multiple domains/hostnames on your | |
# machine you can setup VirtualHost containers for them. Most configurations | |
# use only name-based virtual hosts so the server doesn't need to worry about | |
# IP addresses. This is indicated by the asterisks in the directives below. | |
# | |
# Please see the documentation at |
sed ':a;N;$!ba;s/\n/\\n/g' my_key.pem | |
or in vi | |
:%s/\n/\\n/ | |
https://tickets.opscode.com/browse/CHEF-3540 |
{ | |
"name": "invited-ionic3", | |
"description": "An Ionic project", | |
"version": "0.0.1", | |
"author": "Ionic Framework", | |
"homepage": "http://ionicframework.com/", | |
"private": true, | |
"scripts": { | |
"clean": "ionic-app-scripts clean", | |
"build": "ionic-app-scripts build", |
In this demonstration I will show you how to read data in Angular2 final release before application startup. You can use it to read configuration files like you do in other languages like Java, Python, Ruby, Php.
This is how the demonstration will load data:
a) It will read an env file named 'env.json'. This file indicates what is the current working environment. Options are: 'production' and 'development';
b) It will read a config JSON file based on what is found in env file. If env is "production", the file is 'config.production.json'. If env is "development", the file is 'config.development.json'.
// Function | |
function wpex_video_oembed( $video = '', $classes = '', $params = array() ) { | |
// Define output | |
$output = ''; | |
// Sanitize URl | |
$video = esc_url( $video ); | |
// Video required |