CLICK ME
yes, even hidden code blocks!
print("hello world!")
// # PugJs Cheat Sheet | |
// ## Syntax | |
doctype html | |
html | |
head | |
meta(name="Pugcupid", content="Wiggle with love") | |
body | |
main#page |
{ | |
"scripts": { | |
"build": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min", | |
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015", | |
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm", | |
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs", | |
"build:umd": "rollup dist/esm/index.js --format umd --name YourLibrary --sourceMap --output dist/umd/yourlibrary.js", | |
"build:umd:min": "cd dist/umd && uglifyjs --compress --mangle --source-map --screw-ie8 --comments --o yourlibrary.min.js -- yourlibrary.js && gzip yourlibrary.min.js -c > yourlibrary.min.js.gz", | |
} | |
} |
'use strict'; | |
// Based on https://gist.github.com/zhoujiealex/4d926889b02b85d4d8d73f036ef728eb | |
let Promise = require('bluebird'); | |
let gulp = require('gulp'); | |
let cssnano = require('gulp-cssnano'); | |
let uglify = require('gulp-uglify'); | |
let htmlmin = require('gulp-htmlmin'); | |
let htmlclean = require('gulp-htmlclean'); | |
let imagemin = require('gulp-imagemin'); |
#! /bin/bash | |
# The Windows folder needs to be shared appropriately | |
WINDOWS_DIR_PATH="//10.0.2.2/workdir" | |
MNTPOINT="/workdir_local" | |
if [ ! -d "$MNTPOINT" ]; then | |
mkdir $MNTPOINT | |
fi |
require('./module.js') // { a: 1 } | |
import module from './module.js' // undefined | |
import { a } from './module.js' // 1 | |
require('./module2.js') // { default: { a: 1 }, b: 2 } | |
import module2 from './module2.js' // { a: 1} | |
import { b } from './module2.js' // 2 | |
require('./module3.js') // { default: { a: 1 }, b: 2 } |
Picking the right architecture = Picking the right battles + Managing trade-offs
# Install pip | |
# $ curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python | |
# | |
# Install Cython | |
# $ pip install cython | |
# | |
# compile command | |
python setup.py build_ext --inplace |
This gist will show the support of BiDirectional text in the terminal emulators and console programs. You can read more about the standardization efforts at the dedicated page of FreeDesktop Terminal BiDi working group.
Logical Order | ◀ ◀ ◀ RTL | LTR ▶ ▶ ▶ |
---|---|---|
WHAT IS UNICODE؟ in arabic | in arabic ؟EDOCINU SI TAHW | ؟EDOCINU SI TAHW in arabic |
ما هو الترميز الموحد يونيكود؟ in Arabic | ما هو الترميز الموحد يونيكود؟ in Arabic |