(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
rsync -vaE --progress --delete-after --human-readable --relative \ | |
--exclude node_modules \ | |
--exclude .DS_Store \ | |
# folder to backup | |
~/SoureCode \ | |
~/.gnupg \ | |
# data foldler | |
~/Library/Application\ Support/another-redis-desktop-manager \ | |
~/Library/Application\ Support/com.tinyapp.TablePlus \ | |
~/Library/Application\ Support/Postman \ |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
I hereby claim:
To claim this, I am signing this object:
display: flex; // Inside will be flex item | |
// With flex block with can | |
// Horizontal align content | |
// Use on flex object (display: flex), affect to child flex-item | |
justify-content: flex-start; // (flex-start, flex-end, space-around, space-between, center) | |
// Vertical align content | |
// Use on flex object (display: flex), affect to child flex-item | |
align-content: stretch; // (stretch, flex-start, flex-end, space-around, space-between, center) |
// Đây chỉ là gợi ý thôi nhé | |
// Đâu tiên thì bạn cần phải có 1 hàm flag, để kiếm tra ra lệnh ngừng | |
int stopFlag = 0; | |
// Sau đó bạn cần có hàm custom delay, hàm này sẽ làm việc là chia nhỏ delay ra, và kiểm tra trong lúc đó nếu lúc đó stopFlag không phải là 0 thì ngừng việc delay | |
// Hàm custom delay này bạn dùng trong những function đổi màu của bạn | |
void customDelay(int milisecond) { | |
int stopPeriod = 100; // thời gian kiểm tra giữa các lần | |
for(int i = 0; i < milisecond; i + stopPeriod) { |
[alias] | |
# Add and remove all changes, note how this alias is calling another alias | |
addremove = !git r && git add . --all | |
# Show all of my configured aliases | |
aliases = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\ \t => \\2/' | sort | |
# For when you made that commit a bit too early, amend | |
amend = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend |
; Author: fwompner gmail com | |
#InstallKeybdHook | |
SetCapsLockState, alwaysoff | |
Capslock:: | |
Send {LControl Down} | |
KeyWait, CapsLock | |
Send {LControl Up} | |
if ( A_PriorKey = "CapsLock" ) | |
{ | |
Send {Esc} |
/* | |
Syntax | |
fun.bind(thisArg[, arg1[, arg2[, ...]]]) | |
Parameters | |
thisArg | |
The value to be passed as the this parameter to the target function when the bound function is called. The value is ignored if the bound function is constructed using the new operator. | |
Passed undefined = use original this | |
arg1, arg2, ... | |
Arguments to prepend to arguments provided to the bound function when invoking the target function. | |
Return value |
(function () { | |
WebSocket.prototype._send = WebSocket.prototype.send; | |
WebSocket.prototype.send = function (data) { | |
this._send(data); | |
this.addEventListener('message', function (msg) { | |
console.log('>> ' + msg.data); | |
}, false); | |
this.send = function (data) { | |
this._send(data); | |
console.log("<< " + data); |