I hereby claim:
- I am paykroyd on github.
- I am aykroyd (https://keybase.io/aykroyd) on keybase.
- I have a public key whose fingerprint is F1DA 9A7B 50B6 047D C851 90A9 E038 851D F1B7 3563
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| NSFetchRequest *request = [self fetchRequestForType:CORE_DATA_BLOCK_TYPE]; | |
| NSEntityDescription* entity = [NSEntityDescription entityForName:CORE_DATA_BLOCK_TYPE | |
| inManagedObjectContext:self.managedObjectContext]; | |
| NSAttributeDescription* typeDesc = [entity.attributesByName objectForKey:@"type"]; | |
| NSExpression *countExpression = [NSExpression expressionForFunction: @"count:" | |
| arguments: [NSArray arrayWithObject:[NSExpression expressionForKeyPath: @"type"]]]; | |
| NSExpressionDescription *expressionDescription = [[NSExpressionDescription alloc] init]; | |
| [expressionDescription setName: @"count"]; | |
| [expressionDescription setExpression: countExpression]; |
| === modified file 'lisp/term/ns-win.el' | |
| --- old/lisp/term/ns-win.el 2011-10-01 20:32:01 +0000 | |
| +++ new/lisp/term/ns-win.el 2011-11-10 16:22:51 +0000 | |
| @@ -928,6 +928,10 @@ | |
| (add-to-list 'frame-creation-function-alist '(ns . x-create-frame-with-faces)) | |
| (add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system)) | |
| +(declare-function ns-toggle-fullscreen-internal "nsfns.m" ()) | |
| +(defun ns-toggle-fullscreen () | |
| + (interactive) |
| # http://mojodna.net/2009/08/21/exploring-oauth-protected-apis.html | |
| easy_install oauth-proxy | |
| sudo gem install oauth | |
| oauth --consumer-key XXXXX --consumer-secret XXXXX --access-token-url http://springpadit.com/api/oauth-access-token --authorize-url http://springpadit.com/api/oauth-authorize --request-token-url http://springpadit.com/api/oauth-request-token authorize | |
| oauth-proxy --consumer-key XXXXX --consumer-secret XXXXX -p 8001 |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| ;; tramp rules | |
| (require 'tramp) | |
| (add-to-list 'tramp-default-proxies-alist | |
| '("qa9" nil "/ssh:[email protected]:")) | |
| (add-to-list 'tramp-default-proxies-alist | |
| '("log1" nil "/ssh:[email protected]:")) | |
| (add-to-list 'tramp-default-proxies-alist | |
| '("demo-social1" nil "/ssh:[email protected]:")) |
| paykroyd@demo-so-us-z1-001:~$ curl -XGET "http://localhost:8020/lookup?term=http://scobleizer.com/2011/11/20/the-facebook-freaky-line/" | python -m json.tool | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 2938 0 2938 0 0 1943 0 --:--:-- 0:00:01 --:--:-- 1944 | |
| [ | |
| { | |
| "created": "/Date(1322585443524)/", | |
| "modified": null, | |
| "name": "The Facebook Freaky Line \u2014 Scobleizer", | |
| "properties": { |
| "video_assets": [ | |
| { | |
| "formats": [ | |
| { | |
| "mime-type": "application/x-shockwave-flash", | |
| "url": "https://www.youtube.com/v/qyEVr9izl1M?version=3&f=videos&app=youtube_gdata", | |
| "youtube-format": "5" | |
| }, | |
| { | |
| "mime-type": "video/3gpp", |
gist-region - Copies Gist URL into the kill ring.
With a prefix argument, makes a private gist.
| '((:name magit | |
| :after (lambda () (global-set-key (kbd "C-x C-z") 'magit-status))) | |
| (:name color-theme-zenburn :after (lambda() (color-theme-zenburn))) | |
| (:name textmate | |
| :type git | |
| :url "git://github.com/defunkt/textmate.el.git" | |
| :features textmate | |
| :compile "textmate.el" | |
| :after (lambda () (textmate-mode))) |