Skip to content

Instantly share code, notes, and snippets.

protocol NibLoadableView: class { }
extension NibLoadableView where Self: UIView {
static var NibName: String {
return String(self)
}
}
@bucker
bucker / bash_shortcut.md
Last active May 16, 2021 17:31
Bash shortcuts for Mac

To Use the option (⌥) key, set it as meta key

Moving the cursor

  • ⌃a: Go to the beginning of the line
  • ⌃e: Go to the end of the line
  • ⌃p: Previous command (Up arrow)
  • ⌃n: Next command (Down arrow)
  • ⌃f: Forward one character
  • ⌃b: Backward one character
  • ⌃xx: Toggle between the start of line and current cursor position
@ryansechrest
ryansechrest / terminal.md
Last active October 6, 2022 03:47
Mac Terminal

Editor

Command Description
Control + A Jump to beginning of line
Control + E Jump to end of line
Control + U Delete text before cursor
Control + K Delete text after cursor
Control + W Delete word before cursor
Control + T Swap last two characters before cursor
@bebraw
bebraw / gameengines.md
Created January 6, 2011 18:07
List of JS game engines. You can find a wikified version at https://github.com/bebraw/jswiki/wiki/Game-Engines. Feel free to modify that. I sync it here every once in a while.

IMPORTANT! Remember to check out the wiki page at https://github.com/bebraw/jswiki/wiki/Game-Engines for the most up to date version. There's also a "notes" column in the table but it simply does not fit there... Check out the raw version to see it.

This table contains primarily HTML5 based game engines and frameworks. You might also want to check out the [[Feature Matrix|Game-Engine-Feature-Matrix]], [[Game Resources]] and [[Scene Graphs]].

Name Size (KB) License Type Unit Tests Docs Repository Notes
Akihabara 453 GPL2, MIT Classic Repro no API github Intended for making classic arcade-style games in JS+HTML5
AllBinary Platform Platform Dependent AllBinary 2D/2.5D/3D n