Skip to content

Instantly share code, notes, and snippets.

View Emacs-WIL.md

Emacs - What I learned today

  • 10/05/2017

    I can edit gist in Emacs using gist package. (added in Emacs ゚ヽ(*´∀`)ノ゚)

    Reload gist list: g

  • 12/05/2017

View maskview.swift
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];
@jesseXu
jesseXu / DefaultKeyBinding.dict
Created Mar 12, 2012 — forked from smilingpoplar/DefaultKeyBinding.dict
xcode keybindings for emacs emulation
View DefaultKeyBinding.dict
{
/* 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.
*
You can’t perform that action at this time.