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
// Production steps of ECMA-262, Edition 5, 15.4.4.18 | |
// Reference: http://es5.github.io/#x15.4.4.18 | |
if (!Array.prototype.forEach) { | |
Array.prototype.forEach = function(callback, thisArg) { | |
var T, k; | |
if (this == null) { | |
throw new TypeError(' this is null or not defined'); |
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
{ | |
/** | |
* Tell JSHint about global variables. | |
*/ | |
"predef": [ | |
// https://github.com/pivotal/jasmine | |
"after", | |
"afterEach", |
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
From: Chris DeSalvo <chris.desalvo@voxer.com> | |
Subject: Why we can't process Emoji anymore | |
Date: Thu, 12 Jan 2012 18:49:20 -0800 | |
Message-Id: <AE459007-DF2E-4E41-B7A4-FA5C2A83025F@voxer.com> | |
--Apple-Mail=_6DEAA046-886A-4A03-8508-6FD077D18F8B | |
Content-Transfer-Encoding: quoted-printable | |
Content-Type: text/plain; | |
charset=utf-8 |
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 ffi = require('ffi'), | |
ref = require('ref'), | |
Struct = require('ref-struct'), | |
Library = require('./Library'), | |
Type = ref.Type, | |
NULL = ref.NULL, | |
isNull = ref.isNull; | |
var groups = ['libs', 'types', 'structs', 'callbacks', 'enums']; |
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
Latest output after 'git reset --hard' | |
caco:local bmix$ git status | |
# On branch master | |
# Untracked files: | |
# (use "git add <file>..." to include in what will be committed) | |
# | |
# Library/Aliases/boost-jam | |
# Library/Aliases/fastcgi | |
# Library/Aliases/gpg2 |
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
coca:~ bmix$ brew install gptsync | |
==> Downloading http://downloads.sourceforge.net/refit/refit-src-0.14.tar.gz | |
######################################################################## 100,0% | |
==> Patching | |
patching file gptsync/Makefile.unix | |
==> make -f Makefile.unix | |
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -c gptsync.c -o gptsync.unix.o | |
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -c lib.c -o lib.unix.o | |
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DPROGNAME=gptsync -Wall -c os_unix.c -o os_unix.gptsync.o | |
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wall -c showpart.c -o showpart.unix.o |
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
brew install sane-backends | |
==> Downloading ftp://ftp2.sane-project.org/pub/sane/sane-backends-1.0.22/sane-backends-1.0.22.tar.gz | |
File already downloaded in /Users/bmix/Library/Caches/Homebrew | |
==> ./configure --prefix=/usr/local/Cellar/sane-backends/1.0.22 --without-gphoto2 --enable-local-backends --enable-libusb --disable-latex | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no |
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
==> Cloning https://github.com/fuse4x/fuse.git | |
Updating /Users/bmix/Library/Caches/Homebrew/fuse4x--git | |
git remote set-url origin https://github.com/fuse4x/fuse.git | |
git fetch origin | |
git fetch --tags | |
==> Checking out tag fuse4x_0_8_12 | |
git checkout fuse4x_0_8_12 | |
HEAD is now at a4d177b... Use exact header where PAGE_SIZE is specificified | |
git checkout-index -a -f --prefix=/private/tmp/homebrew-fuse4x-0.8.12-ippG/ | |
==> autoreconf --force --install |
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
If you have installed MacGPG2 via the package installer, several other | |
checks in this script will turn up problems, such as stray .dylibs in | |
/usr/local and permissions issues with share and man in /usr/local/. | |
(YES! I DID!) | |
Unbrewed dylibs were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. |
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
an abstract class describing any possible object: | |
CLASS: Anything { | |
ATTRIBUTE: i.am_asociated_with = [a list of associations] | |
METHOD: i.associate_with(INPUT) { | |
i.am_associated_with.Append(INPUT) | |
} | |
METHOD: i.report_associations() { |