Enable Option Key as Meta in iTerm. Set as Esc+ - http://stackoverflow.com/a/438892
Ctrl + aGo to the beginning of the line (Home)Ctrl + eGo to the End of the line (End)Ctrl + pPrevious command (Up arrow)Ctrl + nNext command (Down arrow)
Enable Option Key as Meta in iTerm. Set as Esc+ - http://stackoverflow.com/a/438892
Ctrl + a Go to the beginning of the line (Home)Ctrl + e Go to the End of the line (End)Ctrl + p Previous command (Up arrow)Ctrl + n Next command (Down arrow)| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| function deepClone(data) { | |
| const cache = new WeakSet(); | |
| return JSON.parse(JSON.stringify(data, function(key, value) { | |
| if (typeof value === 'object' && value !== null) { | |
| if (cache.has(value)) return; | |
| cache.add(value); | |
| } | |
| return value; | |
| })); |
| // | |
| // 原文: http://my.csdn.net/sxjiake/code/detail/13833 | |
| // | |
| // 感谢 sxjiake | |
| // | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <locale.h> |
(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.