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
after 'deploy:stop', 'puma:stop' | |
after 'deploy:start', 'puma:start' | |
after 'deploy:restart', 'puma:restart' | |
_cset(:puma_cmd) { "#{fetch(:bundle_cmd, 'bundle')} exec puma" } | |
_cset(:pumactl_cmd) { "#{fetch(:bundle_cmd, 'bundle')} exec pumactl" } | |
_cset(:puma_state) { "#{shared_path}/sockets/puma.state" } | |
_cset(:puma_role) { :app } | |
namespace :puma do |
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: Linux | |
0.0.0 Linux 2.6.32-350-ec2 #57-Ubuntu SMP Thu Nov 15 15:59:03 UTC 2012 x86_64 | |
CPU: amd64 | |
family 6 model 26 stepping 5 | |
2 CPUs | |
Crash reason: SIGSEGV | |
Crash address: 0x0 | |
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
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
#!/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
require 'rubygems' | |
require 'socket' | |
include Socket::Constants | |
class ChatServer | |
def initialize | |
@reading = Array.new | |
@writing = Array.new | |
@clients = Hash.new |
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} |