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
/** | |
Title: White Hacker News | |
URL: http://stylebot.me/styles/55 | |
Author: http://stylebot.me/users/vinodpillai | |
**/ | |
body { | |
background-color: fff; | |
} |
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
#/bin/bash | |
# Make sure we're in the same folder as the vagrant file | |
SOURCE="${BASH_SOURCE[0]}" | |
DIR="$( dirname "$SOURCE" )" | |
while [ -h "$SOURCE" ] | |
do | |
SOURCE="$(readlink "$SOURCE")" | |
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" | |
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" |
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
ActiveSupport::Cache::Store.instrument = true | |
ActiveSupport::Notifications.subscribe do |name, start, finish, id, payload| | |
Rails.logger.debug(["notification:", name, start, finish, id, payload].join(" ")) | |
end |
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
# .profile for bash users. | |
# Executed on all machines because we do not permit the use of /bin/bash | |
# as a user's login shell. Note, however, on Linux PCs, /bin/sh is the | |
# same as /bin/bash. | |
case $cputype in | |
linux*) | |
SHELL=/bin/bash | |
export SHELL |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
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
matt@matt-laptop:~$ tree /usr/share/php/PHPUnit/ | |
/usr/share/php/PHPUnit/ | |
├── Autoload.php | |
├── Extensions | |
│ ├── Database | |
│ │ ├── AbstractTester.php | |
│ │ ├── Constraint | |
│ │ │ ├── DataSetIsEqual.php | |
│ │ │ └── TableIsEqual.php | |
│ │ ├── DataSet |
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
body { background: #f1f8db !important; } | |
#Body { | |
margin: 15px 0 0 !important; | |
overflow: visible !important; | |
padding: 0 15px !important; | |
position: relative !important; | |
width: auto !important; | |
} |
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
[LD] e.debug | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x0): multiple definition of `_pcre_OP_lengths' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x0): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x70): multiple definition of `_pcre_utf8_table1' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x70): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x88): multiple definition of `_pcre_utf8_table1_size' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x88): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x8c): multiple definition of `_pcre_utf8_table2' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x8c): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0xa4): multiple definition of `_pcre_utf8_table3' |
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
#!/bin/bash | |
# Simple script for looping unit test runs | |
# Relies on a phpunit.xml config being in the cwd | |
# Author: matthew@sigswitch.com | |
for(( ; ; )); do clear; echo -e "`phpunit`"; sleep 10; done |
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
<?php | |
class page_Core | |
{ | |
static $title = ''; | |
static $heading = ''; | |
static $stylesheets = array(); | |
static $scripts = array(); |