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
6/11/12 9:43:48.563 AM LaunchBar[75305]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString objectForKey:]: unrecognized selector sent to instance 0xaee37c0' | |
*** Call stack at first throw: | |
( | |
0 CoreFoundation 0x91f907ab __raiseError + 219 | |
1 libobjc.A.dylib 0x9311c602 objc_exception_throw + 230 | |
2 CoreFoundation 0x91f9441d -[NSObject(NSObject) doesNotRecognizeSelector:] + 253 | |
3 CoreFoundation 0x91edcab7 ___forwarding___ + 487 | |
4 CoreFoundation 0x91edc862 _CF_forwarding_prep_0 + 50 | |
5 LaunchBar 0x000c2682 LaunchBar + 792194 | |
6 LaunchBar 0x000c3e5a LaunchBar + 798298 |
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
class CasesController < ApplicationController | |
include KeywordsHelper | |
before_filter :init, :only => [:index, :create, :new, :edit, :update] | |
def new | |
@case = LegalCase.new | |
end | |
def index |
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
Funways.Views.Groups ||= {} | |
class Funways.Views.Groups.NewView extends Backbone.View | |
template: JST['backbone/templates/groups/new'] | |
id: 'new_group' | |
events: | |
'click a.save' : 'save' | |
'change input:file' : 'putImage' | |
'click .actions a.message' : 'newMessage' |
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
# Get from form: | |
# params[:date] | |
# params[:categories] | |
def index | |
quote_requests_in_context | |
end | |
private |
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
# FWF60C Modem Config Example with Sierra Aircard 312 on FortiOS v4.2 | |
config system modem | |
set status enable | |
set mode redundant | |
set holddown-timer 45 | |
set interface "wan1" | |
set phone1 "*99**1#" | |
set extra-init1 "AT+CGDCONT=1,\"IP\",\"telstra.internet\"" | |
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
class FoxNews < UniverseController | |
def initialize | |
raise HellOnEarth | |
end | |
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
body { | |
background: black; | |
color: white; | |
font: normal 100 16px/1.4 "Helvetica Neue", Helvetica, sans-serif; | |
letter-spacing: .1em; | |
} | |
h2 { | |
font: normal 200 28px/1.2 "Helvetica Neue", Helvetica, sans-serif; | |
} |
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
#lol:after { | |
clear: both; | |
content: " "; | |
display: block; | |
height: 0; | |
overflow: hidden; | |
visibility: hidden; | |
} |
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
## DEFINE DIT ROOT/BASE/SUFFIX #### | |
## uses RFC 2377 format | |
## replace example and com as necessary below | |
## or for experimentation leave as is | |
## dcObject is an AUXILLIARY objectclass and MUST | |
## have a STRUCTURAL objectclass (organization in this case) | |
# this is an ENTRY sequence and is preceded by a BLANK line | |
dn: cn=users,dc=win,dc=inspire9,dc=local |
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
Fixing Lion libpng issues | |
------------------------- | |
Until this issue https://github.com/mxcl/homebrew/issues/4468 is resolved installing Lion screws up ImageMagick's png support. The following steps are a hacky work around to get things going again. `identify: memory allocation failed` is the error message you'll receive before applying the fix. | |
brew uninstall imagemagick | |
cd /usr/X11R6/lib | |
sudo mv libpng.dylib libpng.old.dylib | |
sudo ln -s libpng12.0.dylib libpng.dylib | |
brew install imagemagick |