This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>GraphicsEnabler</key> | |
<string>Yes</string> | |
<key>Kernel Flags</key> | |
<string>arch=i386</string> | |
<key>DSDT</key> | |
<string>hd(0,1)/Extra/DSDT.aml</string> |
This file contains hidden or 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
### | |
Internal method for object merge, adopted form obj.merge from Sugar.js | |
### | |
_merge: (target, source, deep, resolve) -> | |
### | |
Some checking at start, we are dont need merge void objects at all | |
### | |
unless target? and source? | |
throw new Error """ |
This file contains hidden or 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
# underscore.js | |
target[key] = if _.isArray val then [] else {} | |
# sugar.js | |
target[key] = if val?.isArray then [] else {} |
This file contains hidden or 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
/* | |
Public method to get all settings at once | |
*/ | |
Configurator.prototype.get_all = function() { | |
return this._settings; | |
}; |
This file contains hidden or 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
### | |
Public method to get all settings at once | |
### | |
get_all: -> | |
@_settings |
This file contains hidden or 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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains hidden or 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
# app/environment/observer.coffee | |
### | |
This module for global Observer | |
very simple implementation, but works | |
and support method chaining | |
### | |
module.exports = class Observer |
This file contains hidden or 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
brew install readline | |
brew link readline | |
brew install libxml2 | |
brew link libxml2 | |
brew install libiconv | |
brew link libiconv |
This file contains hidden or 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
compiling readline.c | |
readline.c: In function ‘username_completion_proc_call’: | |
readline.c:1472: error: ‘username_completion_function’ undeclared (first use in this function) | |
readline.c:1472: error: (Each undeclared identifier is reported only once | |
readline.c:1472: error: for each function it appears in.) | |
{standard input}:3102:non-relocatable subtraction expression, "L_rl_filename_completion_function$non_lazy_ptr" minus "L00000000036$pb" | |
{standard input}:3102:symbol: "L_rl_filename_completion_function$non_lazy_ptr" can't be undefined in a subtraction expression | |
{standard input}:3064:non-relocatable subtraction expression, "L_rb_eIndexError$non_lazy_ptr" minus "L00000000035$pb" | |
{standard input}:3064:symbol: "L_rb_eIndexError$non_lazy_ptr" can't be undefined in a subtraction expression | |
{standard input}:3057:non-relocatable subtraction expression, "L_history_length$non_lazy_ptr" minus "L00000000035$pb" |
This file contains hidden or 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
compiling openssl_missing.c | |
In file included from openssl_missing.c:22: | |
openssl_missing.h:71: error: conflicting types for ‘HMAC_CTX_copy’ | |
/opt/local/include/openssl/hmac.h:102: error: previous declaration of ‘HMAC_CTX_copy’ was here | |
openssl_missing.h:95: error: conflicting types for ‘EVP_CIPHER_CTX_copy’ | |
/opt/local/include/openssl/evp.h:459: error: previous declaration of ‘EVP_CIPHER_CTX_copy’ was here | |
openssl_missing.h:173: error: conflicting types for ‘BN_rand_range’ | |
/opt/local/include/openssl/bn.h:419: error: previous declaration of ‘BN_rand_range’ was here | |
openssl_missing.h:177: error: conflicting types for ‘BN_pseudo_rand_range’ | |
/opt/local/include/openssl/bn.h:420: error: previous declaration of ‘BN_pseudo_rand_range’ was here |