Original: https://github.com/nvie/gitflow/wiki/Command-Line-Arguments
(version 0.4.1)
-d
use default branch names
-f
force
Original: https://github.com/nvie/gitflow/wiki/Command-Line-Arguments
(version 0.4.1)
-d
use default branch names
-f
force
{ | |
// The plugin looks for a .jsbeautifyrc file in the same directory as the | |
// source file you're prettifying (or any directory above if it doesn't exist, | |
// or in your home folder if everything else fails) and uses those options | |
// along the default ones. | |
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options | |
// Documentation: https://github.com/einars/js-beautify/ | |
"html": { | |
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"], |
import _ from 'lodash'; | |
import { | |
reduce | |
} from 'lodash'; | |
const IP_CAL = [Math.pow(256, 3), Math.pow(256, 2), Math.pow(256, 1), Math.pow(256, 0)]; | |
function ipToNum(ip) { |
HTTP Verb Path Controller#Action Used for
GET /photos photos#index display a list of all photos
GET /photos/new photos#new return an HTML form for creating a new photo
POST /photos photos#create create a new photo
GET /photos/:id photos#show display a specific photo
GET /photos/:id/edit photos#edit return an HTML form for editing a photo
PATCH/PUT /photos/:id photos#update update a specific photo
DELETE /photos/:id photos#destroy delete a specific photo
Host app-nat | |
Hostname app-nat.example.com | |
User app-nat-user | |
IdentityFile ~/.ssh/app-nat-id_rsa | |
Host app-remote | |
ProxyCommand ssh -q app-nat nc app-remote.example.com 22 | |
User app-remote-user | |
IdentityFile ~/.ssh/app-remote-id_rsa |
(function() { | |
// angular.module('TwttrMaxlengthDirectiveDemo', ['ngMaterial']) | |
// .constant('twttr', twttr) // https://github.com/twitter/twitter-text/tree/master/js | |
// .directive('twttrMaxlength', TwttrMaxlengthDirective); | |
TwttrMaxlengthDirective.$inject = ['$animate', 'twttr']; | |
function TwttrMaxlengthDirective($animate, twttr) { | |
return { |
package me.rishabhmhjn.droid.widgets; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.PorterDuff; | |
import android.graphics.PorterDuffXfermode; |
def getVersionName = { -> | |
def hashStdOut = new ByteArrayOutputStream() | |
exec { | |
commandLine "git", "rev-parse", "--short", "HEAD" | |
standardOutput = hashStdOut | |
} | |
def buildNumberStdOut = new ByteArrayOutputStream() | |
exec { | |
commandLine 'echo', "$BUILD_NUMBER" |
<!-- Viewport mobile tag for sensible mobile support --> | |
<meta name="MobileOptimized" content="320" /> | |
<meta http-equiv="cleartype" content="on" /> | |
<meta name="HandheldFriendly" content="True" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> |
package in.jasonleon.vanityviews.widget; | |
import android.animation.ObjectAnimator; | |
import android.animation.PropertyValuesHolder; | |
import android.animation.ValueAnimator; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.os.Build; | |
import android.util.AttributeSet; |