Skip to content

Instantly share code, notes, and snippets.

View parkr's full-sized avatar
📡
E.T. Phone Home

Parker Moore parkr

📡
E.T. Phone Home
View GitHub Profile
@parkr
parkr / generator_scss.rb
Created June 5, 2012 13:19
Jekyll Plugin to output SCSS without requiring the "---" YAML Front Matter
#
# Jekyll Generator for SCSS
#
# (File paths in this description relative to jekyll project root directory)
# Place this file in ./_plugins
# Place .scss files in ./_scss
# Compiles .scss files in ./_scss to .css files in whatever directory you indicated in your config
# Config file placed in ./_sass/config.rb
#
@parkr
parkr / application.rb
Created June 15, 2012 22:44
RailsAdmin Precompilation Issue
module NameOfApplication
class Application < Rails::Application
# Enable the asset pipeline
config.assets.enabled = true
# Precompilation configuration
config.assets.compile = true
# Precompile *all* assets, except those that start with underscore
@parkr
parkr / devise.rb
Created June 16, 2012 23:57
Devise Problem with Mobile
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = "[FILTERED]"
# Configure the class responsible to send e-mails.
config.mailer = "Devise::Mailer"
@parkr
parkr / tm2_crash.txt
Created June 28, 2012 03:24
TextMate2 Crash Report
Process: TextMate [29444]
Path: /Applications/TextMate 2.app/Contents/MacOS/TextMate
Identifier: com.macromates.TextMate.preview
Version: 2.0 (9090)
Code Type: X86 (Native)
Parent Process: launchd [237]
Date/Time: 2012-06-27 23:19:40.425 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
@parkr
parkr / application_controller.rb
Created June 28, 2012 21:36
Devise Config: IH
class ApplicationController < ActionController::Base
...
before_filter :authenticate_user!, :except => [ :options ]
...
end
@parkr
parkr / apple_error_report.txt
Created July 26, 2012 17:49
JewelryBox Error, Mac OS 10.8
Process: JewelryBox [19129]
Path: /Applications/JewelryBox.app/Contents/MacOS/JewelryBox
Identifier: com.unfiniti.JewelryBox
Version: 1.3 (1.3)
Code Type: X86-64 (Native)
Parent Process: launchd [136]
User ID: 501
Date/Time: 2012-07-26 13:49:00.332 -0400
OS Version: Mac OS X 10.8 (12A269)
@parkr
parkr / crash_report.txt
Created August 30, 2012 16:39
2012-08-30: TextMate 2 Crash Report
Date/Time: 2012-08-30 12:37:20 -0400
OS Version: 10.8.1 (Build 12B19)
Architecture: x86_64
Report Version: 11
Command: TextMate
Path: /Applications/TextMate.app/Contents/MacOS/TextMate
Version: 2.0 (9293)
Parent: launchd [1]
@parkr
parkr / gist:4053106
Created November 11, 2012 00:16
macbook pro recurrent, frequent crash report
Interval Since Last Panic Report: 241869 sec
Panics Since Last Report: 4
Anonymous UUID: 6C27745B-5413-3304-7CE5-605412F440AA
Sat Nov 10 19:08:45 2012
panic(cpu 1 caller 0xffffff800aeb7bd5): Kernel trap at 0xffffff7f8c5ceb36, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000010, CR3: 0x00000000048a4000, CR4: 0x0000000000000660
RAX: 0x0000000000000001, RBX: 0xffffff80d6999000, RCX: 0xffffff801da8a550, RDX: 0xffffff80f2ed3a38
RSP: 0xffffff80f2ed3b60, RBP: 0xffffff80f2ed3b60, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8: 0x0000000000000000, R9: 0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
@parkr
parkr / gist:4092877
Created November 17, 2012 02:54
issue installing numpy centos6
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable f90
Found executable /usr/bin/f95
Could not locate executable fort
@parkr
parkr / gist:4190917
Created December 2, 2012 20:30
iTunes 11 Crash
Process: iTunes [37023]
Path: /Applications/iTunes.app/Contents/MacOS/iTunes
Identifier: com.apple.iTunes
Version: 11.0 (11.0)
Build Info: iTunes-1100099063000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [124]
User ID: 501
Date/Time: 2012-12-02 15:29:33.552 -0500