Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| require 'rubygems' | |
| require 'eventmachine' | |
| require 'benchmark' | |
| require 'net/http' | |
| require 'uri' | |
| CHECK_CONCURENCY = false | |
| REQUESTS_COUNT = 10 |
| .inversecustom.remark-slide-content p { | |
| color: red; | |
| } | |
| .inversecustom p { | |
| color: lime; | |
| } | |
| .remark-slide-content.inversecustom h1 { | |
| color: orange; | |
| } |
| [vpshost] | |
| xxx.xxx.xx.xx |
| find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch |
| 'use strict'; | |
| //npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev | |
| var gulp = require('gulp'), | |
| clean = require('gulp-clean'), | |
| cleanhtml = require('gulp-cleanhtml'), | |
| minifycss = require('gulp-minify-css'), | |
| jshint = require('gulp-jshint'), | |
| stripdebug = require('gulp-strip-debug'), |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| --- | |
| # ^^^ YAML documents must begin with the document separator "---" | |
| # | |
| #### Example docblock, I like to put a descriptive comment at the top of my | |
| #### playbooks. | |
| # | |
| # Overview: Playbook to bootstrap a new host for configuration management. | |
| # Applies to: production | |
| # Description: | |
| # Ensures that a host is configured for management with Ansible. |
| def keep_branches_config | |
| branches = `git config --get 'remove-branch.keep'` | |
| .split(/[\s,]/) | |
| .select { |b| !b.empty? } | |
| if branches.empty? | |
| `git config --add 'remove-branch.keep' 'master, production'` | |
| puts "Configuration added to .git/config" | |
| puts %{ |
| module Counter exposing (view, update, Msg) | |
| import Data exposing (Model) | |
| import Html exposing (Html, body, div, button, text) | |
| import Html.Attributes exposing (attribute, class) | |
| -- import Html.Events exposing (onClick) | |
| type Msg | |
| = Increment Int | |
| | Decrement Int |
I hereby claim:
To claim this, I am signing this object: