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
| ryan@lisa ~/workspace/nickler/www$ brew info couchdb ✹ ✭ inventory | |
| couchdb: stable 1.3.0, HEAD | |
| http://couchdb.apache.org/ | |
| /usr/local/Cellar/couchdb/1.2.1 (334 files, 3.6M) | |
| Built from source | |
| /usr/local/Cellar/couchdb/1.3.0 (431 files, 6.4M) * | |
| Built from source | |
| https://github.com/mxcl/homebrew/commits/master/Library/Formula/couchdb.rb | |
| ==> Dependencies | |
| Required: spidermonkey, icu4c, erlang |
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
| <?php defined('BASEPATH') || exit('No direct script access allowed'); | |
| /* | |
| Override CI loader to add comments indicating the location and count of views as they are loaded. | |
| Copyright (C) 2012 Ryan Neufeld | |
| This program is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU General Public License | |
| as published by the Free Software Foundation; either version 2 | |
| of the License, or (at your option) any later version. |
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
| <script type="text/javascript"> | |
| document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js' %3E%3C/script%3E")); | |
| </script> | |
| <script type="text/javascript"> | |
| function trackVideoView(contentType) { | |
| var c5 = null; | |
| var contentType = contentType.toLowerCase(); | |
| switch (contentType) { | |
| case "pre": | |
| c5 = 09; |
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
| SELECT 'music' AS 'type', ms.`title` as title, ms.`slug` as slug, ms.`id` as id, ma.`name` as artist, ms.`like_count` as like_count | |
| FROM (`music_songs` ms,`music_artists` ma) | |
| WHERE (ma.name LIKE ? OR ms.title LIKE ?) | |
| AND ms.status = 1 | |
| AND ms.artist_id = ma.id | |
| ORDER BY ms.`like_count` DESC |
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
| "use strict"; | |
| module.exports = function(grunt) { | |
| // Override process.stdout to log the name+args of the current task before | |
| // every logged line. | |
| var hooker = require('hooker'); | |
| var newline = true; | |
| hooker.hook(process.stdout, 'write', function(str) { | |
| var prefix = grunt.task.current.nameArgs; |
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
Show hidden characters
| { | |
| "auto_complete_commit_on_tab": true, | |
| "auto_complete_with_fields": true, | |
| "auto_indent": true, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
| "default_line_ending": "unix", | |
| "detect_indentation": true, | |
| "drag_text": false, |
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
| [alias] | |
| br = branch | |
| ci = commit | |
| co = checkout | |
| df = diff | |
| g = grep -I | |
| lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all | |
| pb = publish-branch | |
| sm = show-merges | |
| st = status |
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
| alias g=git | |
| alias ga='git add' | |
| alias gb='git branch' | |
| alias gba='git branch -a' | |
| alias gc='git commit -v' | |
| alias gca='git commit -v -a' | |
| alias gcl='git config --list' | |
| alias gcm='git checkout master' | |
| alias gco='git checkout' | |
| alias gcount='git shortlog -sn' |
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
| #!/bin/bash | |
| self="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" | |
| if [ -r "/tmp/${self}.pid" ]; then | |
| pid=`cat /tmp/${self}.pid` | |
| echo "Looks like the minifier is already running with pid=$pid!"; | |
| echo "Checking to see if PID $pid is still running..."; | |
| if [ -d "/proc/$pid" ]; then | |
| echo "Yup, it's really running according to /proc/$pid!" |
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
| root@beta:/usr/local/node-syslog# rm node_modules -r | |
| root@beta:/usr/local/node-syslog# npm install | |
| npm WARN cannot run in wd node-syslog@1.1.7 node-gyp rebuild (wd=/usr/local/node-syslog) | |
| root@beta:/usr/local/node-syslog# npm install --unsafe-perm | |
| > node-syslog@1.1.7 install /usr/local/node-syslog | |
| > node-gyp rebuild | |
| python: can't open file '/root/.node-gyp/0.8.6/tools/gyp_addon': [Errno 2] No such file or directory | |
| gyp ERR! configure error |