Whoaa512 commented on Oct 15, 2015 or nodemon
nodemon test.js --exec ava
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.22; | |
contract Utils { | |
function Utils() public { | |
} | |
// function compareStrings (string a, string b) view returns (bool){ | |
// return keccak256(a) == keccak256(b); | |
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.22; | |
contract Utils { | |
function Utils() public { | |
} | |
// function compareStrings (string a, string b) view returns (bool){ | |
// return keccak256(a) == keccak256(b); | |
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.22; | |
contract SafeMath { | |
function SafeMath() { | |
} | |
function safeAdd(uint256 _x, uint256 _y) internal returns (uint256) { | |
uint256 z = _x + _y; | |
assert(z >= _x); | |
return z; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dragonBones; | |
(function (dragonBones) { | |
(function (display) { | |
var PhaserDisplayBridge = (function () { | |
function PhaserDisplayBridge() { | |
} | |
PhaserDisplayBridge.prototype.getVisible = function () { | |
return this._display ? this._display.visible : false | |
}; |
git rebase -i will do it.
To split apart your most recent commit, first:
$ git reset HEAD~
Now commit the pieces individually in the usual way, producing as many commits as you need.
If it was farther back in the tree, then
$ git rebase -i HEAD~3
Run
sudo rm /usr/local/bin/gulp
sudo rm -rf /usr/local/lib/node_modules/gulp
npm uninstall gulp -g
npm uninstall gulp-cli -g
npm cache clean
npm install gulp-cli -g
while [ 1 ];do vardate=$(date +%d-%m-%Y_%H.%M.%S); screencapture -t jpg -x ~/Desktop/screencapture/$vardate.jpg; sleep 5; done
ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" -an output.mp4
http://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse?answertab=votes#tab-top
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+shift+q"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["super+up"], "command": "toggle_word"}, | |
{ "keys": ["super+down"], "command": "toggle_word"}, | |
{ "keys": ["super+shift+1"], "command": "open_terminal_project_folder" }, | |
{ | |
"keys": ["super+shif+e"], | |
"command": "chain", | |
"args": { | |
"commands": [ |
NewerOlder