Stage All Delete files
git rm $(git ls-files --deleted)
OR
git add `git ls-files --deleted`
Unstage File in git
git reset -- fileName
Example: git reset -- index.html
license: mit |
const preload = Preload(); | |
preload.fetch([ | |
'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4', | |
'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4', | |
'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerJoyrides.mp4' | |
]).then(result => { | |
// use either a promise or 'oncomplete' | |
}); |
Stage All Delete files
git rm $(git ls-files --deleted)
OR
git add `git ls-files --deleted`
Unstage File in git
git reset -- fileName
Example: git reset -- index.html
Use this to validate credit card numbers. Dashes are ignored, so users may input them if they like. Tests for Visa, Mastercard, Amex, Discover, JCB, and Diners Club. Uses two hidden fields to store the type of card entered and whether or not the number entered is a valid credit card number. Regex source: http://stackoverflow.com/questions/72768/how-do-you-detect-credit-card-type-based-on-number
A Pen by Jon Crowell on CodePen.
Use this to validate credit card numbers. Dashes are ignored, so users may input them if they like. Tests for Visa, Mastercard, Amex, Discover, JCB, and Diners Club. Uses two hidden fields to store the type of card entered and whether or not the number entered is a valid credit card number. Regex source: http://stackoverflow.com/questions/72768/how-do-you-detect-credit-card-type-based-on-number
A Pen by Jon Crowell on CodePen.
@echo off | |
REM We need to delay expansion, otherwise variables inside 'for' block will get replaced when the batch processor reads them in the 'for' loop, before it is executed. | |
REM See this link for details: https://stackoverflow.com/questions/5615206/windows-batch-files-setting-variable-in-for-loop | |
setlocal enabledelayedexpansion | |
REM Iterate over all git repositories | |
for /f %%l in ('find . -name ".git"') do ( | |
echo Checking dir:%%~dpnl |
List just aliases | |
$ git config --get-regexp alias | |
List all config parameters | |
$ git config --list |
Observable<String> database = Observable //Observable. This will emit the data | |
.just(new String[]{"1", "2", "3", "4"}); //Operator | |
Observer<String> observer = new Observer<String>() { | |
@Override | |
public void onCompleted() { | |
//... | |
} | |
@Override |
<?php | |
/** | |
* JSON Web Token implementation | |
* | |
* Minimum implementation used by Realtime auth, based on this spec: | |
* http://self-issued.info/docs/draft-jones-json-web-token-01.html. | |
* | |
* @author Neuman Vong <[email protected]> | |
*/ | |
class JWT |
/*! | |
* Bowser - a browser detector | |
* https://github.com/ded/bowser | |
* MIT License | (c) Dustin Diaz 2013 | |
*/ | |
!function (name, definition) { | |
if (typeof define == 'function') define(definition) | |
else if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition() | |
else window[name] = definition() |