-
10/05/2017
I can edit gist in Emacs using gist package. (added in Emacs ゚ヽ(*´∀`)ノ゚)
Reload gist list: g
-
12/05/2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIView *overlay = [[UIView alloc] initWithFrame:window.bounds]; | |
overlay.backgroundColor = [UIColor colorWithHex:0x3ED4B6]; | |
UIBezierPath *path = [UIBezierPath bezierPathWithRect:overlay.bounds]; | |
// transparent circle rect | |
CGRect rect = CGRectMake(CGRectGetMidX(overlay.bounds) - 41, CGRectGetMidY(overlay.bounds) - 41, 82, 82); | |
[path appendPath:[UIBezierPath bezierPathWithOvalInRect:rect]]; | |
CAShapeLayer *shapeLayer = [CAShapeLayer layer]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
* | |
* To use: copy this file to ~/Library/KeyBindings/ | |
* after that any Cocoa applications you launch will inherit these bindings | |
* | |
* This is a pretty good set, especially considering that many emacs bindings | |
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
* perhaps a few more, are already built into the system. | |
* |