Twitter: @ModeAttract
Author: @HunterBridges
Twitter: @ModeAttract
Author: @HunterBridges
{
address = "irc.twitch.tv";
chatnet = "Twitch";
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #import "PFObject+SubclassInit.h" | |
| @implementation PFObject (SubclassInit) | |
| + (instancetype)subclass | |
| { | |
| Class klass = self; | |
| SEL selector = @selector(parseClassName); | |
| if ([klass respondsToSelector:selector]) { | |
| #pragma clang diagnostic push |
| static inline CGRect CGRectBoundingRect(CGRect a, CGRect b) { | |
| CGRect ret = { | |
| .origin = { | |
| MIN(CGRectGetMinX(a), CGRectGetMinX(b)), | |
| MIN(CGRectGetMinY(a), CGRectGetMinY(b)) | |
| }, | |
| .size = { | |
| MAX(CGRectGetMaxX(a), CGRectGetMaxX(b)) - | |
| MIN(CGRectGetMinX(a), CGRectGetMinX(b)), | |
| MAX(CGRectGetMaxY(a), CGRectGetMaxY(b)) - |
| // ==UserScript== | |
| // @name Hide FB Chat button | |
| // @description Hides FB chat button and sidebar | |
| // @include *.facebook.com/* | |
| // @exclude *.facebook.com/ajax/* | |
| // @grant GM_getValue | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
| // ==/UserScript== | |
| // | |
| document.addEventListener('DOMSubtreeModified', function() { |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| typedef struct Cell { | |
| int by; | |
| } Cell; | |
| int main(int argc, char *argv[]) { | |
| int row = 5; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| typedef struct Cell { | |
| int by; | |
| } Cell; | |
| int main(int argc, char *argv[]) { | |
| int row = 5; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| typedef struct Cell { | |
| int by; | |
| } Cell; | |
| int main(int argc, char *argv[]) { | |
| int row = 5; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <limits.h> | |
| struct Stack { | |
| int length; | |
| void *members[SHRT_MAX]; | |
| }; | |
| struct Stack *Stack_create() |