Skip to content

Instantly share code, notes, and snippets.

@dblencowe
dblencowe / gist:5984471
Created July 12, 2013 13:31
My ~/.zshrc
source ~/.antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle bundler
antigen bundle rvm
antigen bundle rails3
antigen bundle history-substring-search
antigen bundle command-not-found
antigen bundle cp
source ~/.antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle bundler
antigen bundle rvm
antigen bundle rails3
antigen bundle history-substring-search
antigen bundle command-not-found
antigen bundle cp
Verifying that +dblencowe is my Bitcoin username. You can send me #bitcoin here: https://onename.io/dblencowe
@dblencowe
dblencowe / local.xml
Last active August 29, 2015 14:13
Basic Magento local.xml File
<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
@dblencowe
dblencowe / gist:3e1056a4d0ff240bb783
Created January 22, 2015 23:19
Spotify Crash Log
22/01/2015 23:18:16.141 Spotify[50366]: Spotify(50366,0xa0d3e1d4) malloc: *** mach_vm_map(size=1048576) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
@dblencowe
dblencowe / Spotify Error Log
Created February 8, 2015 18:38
Spotify Error Log
18:24:19.768 I [breakpad.cpp:110 ] Registered Breakpad for product: spotify
18:24:19.769 I [translate.cpp:152 ] Reloading language file
18:24:19.819 I [translate.cpp:152 ] Reloading language file
18:24:19.820 I [breakpad.cpp:269 ] Searching for crashdumps: /Users/dblencowe/Library/Caches/com.spotify.client/*.dmp
2015-02-08 18:24:19.878 Spotify[20991:1734374] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650
2015-02-08 18:24:19.946 Spotify[20991:1734374] Mac OS version: 11.0
18:24:25.353 E [watchdog.cpp:176 ] Deadlock detected (Thread: gui)
18:24:33.265 D [spirc_manager.cpp:230 ] GAIA: SpircManager::SpircManager, ident_=f11e70717bff90ce3a8735bfb5de5f69a6652bb1
@dblencowe
dblencowe / console.log
Created February 11, 2015 12:00
Spotify Beta Errors
11/02/2015 11:58:30.000 kernel[0]: process SpotifyBeta[30466] thread 3069953 caught burning CPU! It used more than 50% CPU (Actual recent usage: 50%) over 180 seconds. thread lifetime cpu usage 90.098415 seconds, (14.168682 user, 75.929733 system) ledger info: balance: 90004844056 credit: 90004844056 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 177704928889
11/02/2015 11:58:30.911 spindump[851]: Saved cpu_resource.diag report for SpotifyBeta version 1.0.0.974.ga39487e3 (1.0.0.974.ga39487e3-1439) to /Library/Logs/DiagnosticReports/SpotifyBeta_2015-02-11-115830_Davids-MacBook-Pro.cpu_resource.diag
@dblencowe
dblencowe / config.rb
Created December 28, 2015 20:44
Compass Config
require 'compass/import-once/activate'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "web/app/themes/qtvsports/assets/css"
sass_dir = "web/app/themes/qtvsports/assets/sass"
images_dir = "web/app/themes/qtvsports/assets/images"
javascripts_dir = "web/app/themes/qtvsports/assets/js"
// The following is pseudo code
response = ['lounge', 'main', 'on'];
device = "";
response.each(function (word){
device += word; // pop it here so the word is actually removed
response.splice(response.indexOf(word));
rst = database.select("SELECT FROM devices WHERE name = " + command);
if (rst.length == 1) {
<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL: