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
[fernando-barajass-macbook] | |
$sudo mysql_install_db5 | |
Installing MySQL system tables... | |
090104 19:28:39 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 | |
090104 19:28:39 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 | |
090104 19:28:39 [Warning] Setting lower_case_table_names=2 because file system for /opt/local/var/db/mysql5/ is case insensitive | |
OK | |
Filling help tables... | |
090104 19:28:39 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 | |
090104 19:28:39 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 |
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
[75, 84] in /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/spec_set.rb | |
75 def to_hash | |
76 lookup.dup | |
77 end | |
78 | |
79 def materialize(deps, missing_specs = nil) | |
=> 80 materialized = self.for(deps, [], false, true).to_a | |
81 materialized.map! do |s| | |
82 next s unless s.is_a?(LazySpecification) | |
83 spec = s.__materialize__ |
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
- (id)initWithContentRect:(NSRect)contentRect | |
styleMask:(NSUInteger)windowStyle | |
backing:(NSBackingStoreType)bufferingType | |
defer:(BOOL)deferCreation | |
{ | |
[super initWithContentRect:contentRect | |
styleMask:NSBorderlessWindowMask | |
backing:bufferingType | |
defer:deferCreation]; |
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
#define kUsername @"test" | |
#define kPassword @"user" | |
#define kQueueName @"/topic/deals" | |
#define kHost @"localhost" | |
#define kPort 61613 | |
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
NSStatusItem * statusItem; | |
statusItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSSquareStatusItemLength] retain]; | |
[statusItem setToolTip:@"ToolTip Name"]; | |
[statusItem setTitle:@"Title"]; | |
[statusItem setHighlightMode:YES]; | |
[statusItem setMenu:statusMenu]; |
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
http { | |
... | |
passenger_root /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.2; | |
passenger_ruby /usr/local/bin/ruby; | |
... | |
} |
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
source 'http://rubygems.org' | |
gem 'rails', '3.0.3' | |
gem 'haml', '3.0.25' | |
gem 'haml-rails', '0.3.4' | |
#gem 'sqlite3-ruby', :require => 'sqlite3' | |
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+) | |
# gem 'ruby-debug' |
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
NSDictionary *credentials = [NSDictionary dictionaryWithObjectsAndKeys: | |
consumerKey, kMPOAuthCredentialConsumerKey, | |
consumerSecret, kMPOAuthCredentialConsumerSecret, | |
nil]; | |
_oauthAPI = [[MPOAuthAPI alloc] initWithCredentials:credentials | |
authenticationURL:[NSURL URLWithString:@"https://api.login.yahoo.com/oauth/v2/"] | |
andBaseURL:[NSURL URLWithString:@"https://api.login.yahoo.com/"] | |
autoStart:NO]; | |
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
ABPerson * newPerson = [[ABPerson alloc] init]; | |
[newPerson setValue:@"John" forProperty:kABFirstNameProperty]; | |
[newPerson setValue:@"Doe" forProperty:kABLastNameProperty]; | |
ABMutableMultiValue * values = [[ABMutableMultiValue alloc] init]; | |
[values addValue:@"[email protected]" withLabel:kABOtherLabel]; | |
[newPerson setValue:values forProperty:kABEmailProperty]; |
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
@interface NSFileManager (FRBMethods) | |
- (BOOL)overwriteFileAtPath:(NSString *)src toPath:(NSString *)dst; | |
@end |
OlderNewer