Start weechat if you haven't already:
$ weechatopen up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
| @implementation NSNull (SafeNull) | |
| - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector | |
| { | |
| NSMethodSignature *signature = [super methodSignatureForSelector:aSelector]; | |
| if (!signature) { | |
| NSLog(@"Warning: Unsuported selector \"%@\" sent to NSNull object.", NSStringFromSelector(aSelector)); | |
| return [NSMethodSignature signatureWithObjCTypes:@encode(void)]; | |
| } | |
| return signature; |
Start weechat if you haven't already:
$ weechatopen up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
These rules are adopted from the AngularJS commit conventions.
I installed Font Awesome and uses it to make my Emacs mode line look cool:
auto-fill-mode.flymake-report-status to make this happen).gtags-mode.Requirements: diminish.el - I installed it from MELPA.
| ;; Assume you have already installed Font Awesome on the system | |
| ;; http://fortawesome.github.io/Font-Awesome/ | |
| (require 'ov) | |
| ;; Overlay Library | |
| ;; https://github.com/ShingoFukuyama/ov.el | |
| ;; Example 1: Insert all fonts at the cursor position | |
| (defun font-awesome-insert-all () |
| MODULES =# list of sub modules | |
| MODULES += src/common | |
| MODULES += src/myspn-apiserver | |
| MODULES += src/myspn-idp | |
| MODULES += src/myspn-portal | |
| MODULES += src/myspn-topcve | |
| MODULES += src/spn-secured-defaults | |
| MODULES += src/redis | |
| MODULES += src/php-redis |
| M[16],X=16,W,k;main(){T(system("stty cbreak") | |
| );puts(W&1?"WIN":"LOSE");}K[]={2,3,1};s(f,d,i | |
| ,j,l,P){for(i=4;i--;)for(j=k=l=0;k<4;)j<4?P=M | |
| [w(d,i,j++)],W|=P>>11,l*P&&(f?M[w(d,i,k)]=l<< | |
| (l==P):0,k++),l=l?P?l-P?P:0:l:P:(f?M[w(d,i,k) | |
| ]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d | |
| -1,j,3-i):4*i+j;}T(i){for(i=X+rand()%X;M[i%X] | |
| *i;i--);i?M[i%X]=2<<rand()%2:0;for(W=i=0;i<4; | |
| )s(0,i++);for(i=X,puts("\e[2J\e[H");i--;i%4|| | |
| puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2 |
| (function() { | |
| $btnYes = $('.btn-yes')[0]; | |
| $btnNo = $('.btn-no' )[0]; | |
| $content = $('.show-content')[0]; | |
| function cheat() { | |
| if (l = $content.innerHTML.length) { | |
| l % 2 ? $btnNo.click() : $btnYes.click(); | |
| } | |
| setTimeout(cheat); |
| git config --global alias.link '!f() { echo https://$(git config --get remote.origin.url | sed s/^[[:alpha:]]*@// | sed s/:/\\// | sed s/\\.git$//)/commit/$(git rev-parse ${1:-HEAD}); }; f' | |
| git config --global alias.linkc '!git link ${1:-HEAD} | pbcopy' |
| From 8ab91751069e391a95151c6716a546b1732ade92 Mon Sep 17 00:00:00 2001 | |
| From: JP <twitter:canoeberry> | |
| Date: Sun, 19 Jan 2014 11:58:54 +0000 | |
| Subject: [PATCH] partial memleak fix | |
| This patch was created by JP (twitter: @canoeberry) based on a memleak fix by Dirk (emacs committer) below: | |
| https://github.com/mirrors/emacs/commit/57ae6509a3b6a274f89b9caea0284c6156470625 | |
| This memory leak is fixed in the trunk as of now and will be in the next official release: 24.4. |