Skip to content

Instantly share code, notes, and snippets.

Incident Identifier: 5FD4A962-E965-4F8A-9CE1-639E86F29270
CrashReporter Key: 56abb7fedc90f64cb9753a25c8843e1c30f90fda
Hardware Model: iPhone11,2
Process: Twitter [2737]
Path: /private/var/containers/Bundle/Application/AA05A5DD-BA79-4A8A-8C64-955B4FF38E9B/Twitter.app/Twitter
Identifier: com.atebits.Tweetie2
Version: 7.51 (7.51)
AppStoreTools: 10E121a
AppVariant: 1:iPhone11,2:12.2
Code Type: ARM-64 (Native)
@elfredpagan
elfredpagan / 0_reuse_code.js
Created January 29, 2014 19:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#import <Foundation/Foundation.h>
#define dispatch_if_available(queue, code) do{ \
if(dispatch_async != NULL) { \
dispatch_async(queue, ^(void) {\
code\
});\
} else {\
code\
}\
} while(0)
elfredpagan@ryu:~$ ab -t3 http://localhost:5000/1.0/famous/users/show?user_id=3 >> ab1.txt
Finished 407 requests
elfredpagan@ryu:~$ ab -t3 http://localhost:5000/1.0/famous/users/items?user_id=3 >> ab1.txt
Finished 673 requests
elfredpagan@ryu:~$ ab -t3 http://localhost:5000/1.0/famous/users/items/show?user_id=3 >> ab1.txt
Finished 710 requests
elfredpagan@ryu:~$ ab -t3 http://localhost:5000/1.0/famous/users/friends/show?user_id=3 >> ab1.txt
Finished 169 requests
elfredpagan@ryu:~$ ab -t3 http://localhost:5000/1.0/famous/users/friends/all/show?user_id=3 >> ab1.txt
Finished 149 requests