Inspired by lots of gitmoji proposals here on github.
| Commit type | Emoji |
|---|---|
| Git related | |
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Reverting changes | ⏪ :rewind: |
| Merging branches | 🔀 twisted_rightwards_arrows: |
| <VirtualHost *:{PORT}> | |
| ServerName www.yourdomain.com | |
| ServerAdmin [email protected] | |
| DocumentRoot /var/www/yourdir/ | |
| <Directory /var/www/yourdir> | |
| Options Indexes FollowSymLinks | |
| AllowOverride all | |
| Order allow,deny |
Inspired by lots of gitmoji proposals here on github.
| Commit type | Emoji |
|---|---|
| Git related | |
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Reverting changes | ⏪ :rewind: |
| Merging branches | 🔀 twisted_rightwards_arrows: |
| let gulp = require('gulp'); | |
| let sass = require('gulp-sass'); | |
| let concat = require('gulp-concat'); | |
| let minifyCss = require('gulp-cssnano'); | |
| let uglify = require('gulp-uglify'); | |
| let plumber = require('gulp-plumber'); | |
| let autoprefixer = require('gulp-autoprefixer'); | |
| let notify = require('gulp-notify'); | |
| gulp.task('sass', function() { |
| // Optimizely JavaScript API | |
| // http://developers.optimizely.com/javascript/ | |
| // To opt a visitor out of Optimizely tracking | |
| // http://www.example.com/page.html?optimizely_opt_out=true | |
| // 1. API Function Calls | |
| // http://developers.optimizely.com/javascript/#api-function-calls-2 | |
| // Mixpanel Cheatsheet | |
| // This requires the mixpanel javascript library to be embedded on your site | |
| // https://mixpanel.com/help/reference/javascript-full-api-reference | |
| // 1. API Methods. | |
| mixpanel.init('new token', { your: 'config' }, 'library_name'); // initialize a new instance of the Mixpanel tracking object | |
| mixpanel.push(['register', { a: 'b' }]); // push() keeps the standard async-array-push behavior around after the lib is loaded. This is only useful for external integrations that do not wish to rely on our convenience methods (created in the snippet). |
| alias go="export GOPATH=$(pwd) ; go" | |
| ==> Allow making go get at the root of our projects without setting gopath explicitly |
| // Alerts | |
| @include alert-variant($background, $border, $text-color); | |
| // Background Variant | |
| @include bg-variant($parent, $color); | |
| // Border Radius | |
| @include border-top-radius($radius); | |
| @include border-right-radius($radius); | |
| @include border-bottom-radius($radius); |
| food = ["pizza", "tacos", "ice cream", "cupcakes", "burgers"] | |
| print(', '.join(str(x) for x in food)) | |
| print(*food, sep=", ") | |
| #output: pizza, tacos, ice cream, cupcakes, burgers | |
| p = backwards | |
| print p[::-1] | |
| #output: sdrawkcab |