Includes a description of Git including blobs, objects, trees, and explains everything through DAC graphs.
# let's assume the command is: | |
# sshcd -v -q root@example.com:/path/to/file | |
# grabs the last argument of command, the target: "root@example.com:/path/to/file | |
t="${!#}" | |
# command to run, which I've broken down line by line | |
c=( | |
"ssh" | |
"-t" # force pseudo-tty allocation (http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1) |
Dir.glob("*.flac").each do |f| | |
flac = "./#{f.gsub(' ', '\ ')}" | |
mp3 = "./#{f.gsub(' ', '\ ').chomp('.flac')}.mp3" | |
system("ffmpeg -i #{flac} -map_meta_data #{mp3}:#{flac} #{mp3}") | |
end |
site:http://www.opengl.org/registry/api/
- gl.tm
- headers
- specs
- Purely functional
- Different versions of packages can coexist
- Each package must have a UUID, so packages with conflicting names can coexist
- Build logic
- Each package's metadata and build logic is written in a central Rust source file,
package.rs
- Each package's metadata and build logic is written in a central Rust source file,
- Dependencies are declared in the package file and will be fetched and installed before
uint8_t watchdog_count = 0; | |
ISR(WDT_vect) { | |
// This vector is for the watchdog timer | |
PORTA = PORTA | (1 << LED ); // The LED never goes on | |
++watchdog_count; | |
} | |
ISR(PCINT0_vect) | |
{ |
// Original - @Gozola. This is a reimplemented version (with a few bug fixes). | |
window.WeakMap = window.WeakMap || (function () { | |
var privates = Name() | |
return { | |
get: function (key, fallback) { | |
var store = privates(key) | |
return store.hasOwnProperty("value") ? | |
store.value : fallback | |
}, |
-
Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.
-
Reset PS3 controller by inserting paperclip into pinhole near L2 button.
-
Connect PS3 controller to Mac with USB cable.
-
Enable Bluetooth.
The following features of ES5 cannot be shimmed.
Using Object.defineProperty
if you define a non-enumerable property on an object then for..in
loops over that object will behave correctly in modern browsers but enumerate over that property in legacy browsers.
This means that code that works in modern browsers, breaks in legacy browsers.
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9