I hereby claim:
- I am jxpx777 on github.
- I am jxpx777 (https://keybase.io/jxpx777) on keybase.
- I have a public key ASAZdbtpOCcWzDNcoKNVftcNmPhZ9vAIIup_FbVfwDAjmQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
- (NSSet *)tagsForFileAtPath:(NSString *)path { | |
const char *attrName = [@"com.apple.metadata:_kMDItemUserTags" UTF8String]; | |
const char *filePath = [path fileSystemRepresentation]; | |
ssize_t bufferLength = getxattr(filePath, attrName, NULL, 0, 0, 0); | |
void *buffer = malloc(bufferLength); | |
// now actually get the attribute string | |
getxattr(filePath, attrName, buffer, 255, 0, 0); | |
// convert to NSString |
$("#sections .panel.section").hide().first().show(); | |
$("li.highlight a").click(function(event) { | |
event.preventDefault(); | |
var target = $(event.currentTarget.getAttribute("href")); | |
if (target.is(":visible")) return; | |
$("#sections .panel.section:visible").children().fadeOut("fast", function(){ | |
$("#sections .panel.section").hide(); | |
target.show().children().fadeIn("fast"); | |
}); | |
}); |
Started POST "/account" for 127.0.0.1 at 2013-10-14 19:45:05 -0500 | |
Processing by AccountsController#create as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ALG1cWqa6VZn+LIjfi/aeCOLl9rDFI+JSKDn6yyn+V4=", "plan"=>"Free", "account"=>{"name"=>"Test2 Here", "domain"=>"test2", "admin_attributes"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}} | |
Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`full_domain` = 'myhood.dev' AND (`accounts`.`deleted_at` IS NULL) LIMIT 1 | |
Account Load (40.4ms) SELECT `accounts`.* FROM `accounts` WHERE (`accounts`.`deleted_at` IS NULL) LIMIT 1 | |
SubscriptionPlan Load (0.3ms) SELECT `subscription_plans`.* FROM `subscription_plans` WHERE `subscription_plans`.`name` = 'Free' LIMIT 1 | |
(0.1ms) BEGIN | |
User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = '[email protected]' AND `users`.`account_id` IS NULL) LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `users` WHERE (` |
ActionView::MissingTemplate (Missing template /invoice with {:locale=>[:en], :formats=>[:text], :handlers=>[:erb, :builder]}. Searched in: | |
* "/var/www/appname/releases/20131003214241/app/views" | |
): | |
app/mailers/mailer.rb:42:in `block in invoice' | |
app/mailers/mailer.rb:41:in `invoice' | |
app/controllers/admin_controller.rb:410:in `resend_invoice' |
var pageModParams = { | |
'include': ["*"], | |
'attachTo': ["top", "existing", "frame"], | |
'contentScriptFile': [ | |
data.url("src/common.js"), | |
data.url("src/end.js") | |
//other scripts to include | |
] | |
}; | |
function attachWorkerToTab(tab){ |
function workersForTab(tab, callback) { | |
var result = [], emitted; | |
for (var i = 0; i < workers.length; ++i) { | |
if (workers[i].tab == tab) result.push(workers[i]); | |
} | |
return result; | |
} |
#!/usr/bin/env ruby | |
class FunTime | |
def initialize | |
@array = ['foo', 'bar', 'zing'] | |
end | |
def gimme_bar | |
hinky | |
bar = @array[1] | |
puts bar.inspect |
def get_js(self): | |
js = memcache.get(CACHE_EXT_VERSIONS_JS) | |
if js is None: | |
params = { | |
'releases': { | |
'chrome': self.get_version(PRODUCT_CHROME), | |
'safari': self.get_version(PRODUCT_SAFARI), | |
'firefox': self.get_version(PRODUCT_FIREFOX) | |
}, | |
'betas': { |