Skip to content

Instantly share code, notes, and snippets.

View narze's full-sized avatar
🕺
You know the rules, and so do I

Manassarn "Noom" Manoonchai narze

🕺
You know the rules, and so do I
View GitHub Profile
@narze
narze / Preverences.sublime-settings
Last active March 24, 2022 08:55
My Sublime Text 2 Preferences
{
"auto_complete_commit_on_tab": false,
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Monokai Dark.tmTheme",
"dc.gg": "EmsXc69Yt4",
"draw_centered": true,
"draw_white_space": "selection",
"ensure_newline_at_eof_on_save": false,
@narze
narze / Default (OSX).sublime-keymap
Created July 10, 2012 12:36
My Sublime Text 2 Key bindings (some macros and packages required)
[
{ "keys": ["alt+;"], "command": "run_macro_file", "args": {"file": "Packages/User/Semicolon EOL.sublime-macro"} },
{ "keys": ["alt+["], "command": "run_macro_file", "args": {"file": "Packages/User/{} EOL.sublime-macro"} },
{ "keys": ["alt+,"], "command": "run_macro_file", "args": {"file": "Packages/User/Colon EOL.sublime-macro"} },
{ "keys": ["alt+end"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["super+;"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} },
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} },
{ "keys": ["ctrl+home"], "command": "move_to", "args": {"to": "bof", "extend": false} },
@narze
narze / LICENSE.txt
Created August 14, 2012 17:07 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@narze
narze / Default (OSX).sublime-keymap
Created November 2, 2012 10:12
sublime keymap for sublime-github (changed super+g to super+k to prevent blocking on super+k default keymap)
[
{ "keys": ["super+k", "super+n"], "command": "public_gist_from_selection" },
{ "keys": ["super+k", "super+p","super+n"], "command": "private_gist_from_selection" },
{ "keys": ["super+k", "super+o"], "command": "open_gist_url" },
{ "keys": ["super+k", "super+e", "super+o"], "command": "open_gist_in_editor" }
]
Getting started with Raspberry Pi
=================================
1. Prepare a SD card, card reader, HDMI cable, micro usb cable & adaptor (these aren't shipped with rPi)
2. Download the OS from the web : www.raspberrypi.org/downloads (I choose "wheezy")
3. Create image file from downloaded file using gui (RPI-sd card builder) (For OSX)
4. Insert SD card, connect display & usb keyboard/mouse, then connect the micro usb to power on
5. Wait for boot, then Raspi-config will be shown, use tab to switch to Select or Finish button
6. Use "sudo raspi-config" to enter the config screen again
7. Change boot_behaviour to start on desktop by default
@narze
narze / sublime-text
Created January 30, 2013 17:15
Sync Sublime Text 2 & 3 Settings
mv ~/Library/Application\ Support/Sublime\ Text\ 3 ~/Library/Application\ Support/Sublime\ Text\ 3.backup
ln -s ~/Library/Application\ Support/Sublime\ Text\ 2 ~/Library/Application\ Support/Sublime\ Text\ 3
ln -s ~/Library/Application\ Support/Sublime\ Text\ 2/Settings ~/Library/Application\ Support/Sublime\ Text\ 2/Local
@narze
narze / evasi0n.js
Created February 4, 2013 05:30
evasi0n.com countdown script
var indicator = document.getElementById("progress_indicator");
var text = document.getElementById("progress_text");
var _0x11c7=["\x6E\x6F\x77"];
var initialValue=90;
var special=1359931162544;
var magic=Date[_0x11c7[0]]();
var happy=1;
var evad3rs=special+33999986939652;
var code=Date[_0x11c7[0]]();
var key=magic>>1;
@narze
narze / .slate
Created May 9, 2013 11:06
@narze's slate.app config
This is the default .slate file.
# If no ~/.slate file exists this is the file that will be used.
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# General aliases
alias sox screenOriginX
alias soy screenOriginY
@narze
narze / IceBucketChallengeTH.md
Last active August 29, 2015 14:05
#IceBucketChallengeTH
@narze
narze / gist:f931f916fd62809ee2ed
Created October 12, 2014 22:08
Karabiner mirror mode
<?xml version="1.0"?>
<root>
<item>
<name>Mirror Mode</name>
<modifierdef>MIRROR_MODE</modifierdef>
<item>
<name>Mirror Mode</name>
<identifier vk_config="true">notsave.net.narze.simultaneouskeypresses_mirrormode</identifier>
<autogen>__ShowStatusMessage__ Mirror Mode</autogen>