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
Operating system: Mac OS X | |
10.8.2 12C60 | |
CPU: x86 | |
GenuineIntel family 6 model 37 stepping 5 | |
4 CPUs | |
Crash reason: EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE | |
Crash address: 0x58 | |
Thread 0 (crashed) |
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
require 'stringio' | |
require 'benchmark/ips' | |
list = 1...10_000 | |
Benchmark.ips do |x| | |
x.config(:time => 10, :warmup => 2) | |
x.report('String#<<') do | |
s = '' |
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
#!/usr/bin/env ruby | |
require 'optparse' | |
options = {} | |
# parse commandline options | |
OptionParser.new do |opts| | |
opts.banner = "Usage: #{__FILE__} [-lmw] [file]" |
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
# coding: utf-8 | |
require 'rubygems' | |
require 'hpricot' | |
require 'fileutils' | |
require 'yaml' | |
require 'time' | |
module Jekyll | |
# This importer takes a wordpress.xml file, which can be exported from your |
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 http = require("http"); | |
var TIMEOUT_VALUE = 2020; | |
var options = { | |
host: 'localhost', | |
port: 3000, | |
path: '/', | |
method: 'GET' | |
}; |
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
" Map Command-# to switch tabs | |
map <D-0> 0gt | |
imap <D-0> <Esc>0gt | |
map <D-1> 1gt | |
imap <D-1> <Esc>1gt | |
map <D-2> 2gt | |
imap <D-2> <Esc>2gt | |
map <D-3> 3gt | |
imap <D-3> <Esc>3gt | |
map <D-4> 4gt |
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
<?xml version="1.0" ?><manifest android:versionCode="1" android:versionName="1" package="com.mwaysolutions.barcodeexample" xmlns:android="http://schemas.android.com/apk/res/android"> | |
<uses-sdk android:minSdkVersion="4"/> | |
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/> | |
<!-- TI_MANIFEST --> | |
<application android:debuggable="false" android:icon="@drawable/appicon" android:label="Barcode Example" android:name="BarcodeExampleApplication"> | |
<activity android:configChanges="keyboardHidden|orientation" android:label="Barcode Example" android:name=".BarcodeExampleActivity" android:theme="@style/Theme.Titanium"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> |
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
\documentclass[11pt,titlepage,a4paper,english]{article} | |
\usepackage[onehalfspacing]{setspace} | |
\usepackage[utf8]{inputenc} | |
\usepackage{babel} | |
\usepackage{underscore} | |
\usepackage{caption} | |
\usepackage{listings} | |
\usepackage{amsfonts} | |
\usepackage{amssymb} | |
\usepackage{graphicx} |
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 Db = require('mongodb').Db, | |
Connection = require('mongodb').Connection, | |
Server = require('mongodb').Server, | |
GridStore = require('mongodb').GridStore, | |
Step = require('step'), | |
Sys = require('sys'), | |
Fs = require('fs'); | |
var database; |
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
http://julien51.github.com/socket-sub/maps | |
http://saber-tooth-moose-lion.no.de/ | |
http://rallarpojken.no.de/ | |
http://rumpetroll.com/ |