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 / 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>
@narze
narze / private.xml
Created February 5, 2015 16:52
Including external file into karabiner settings
<?xml version="1.0"?>
<root>
// ... some other bindings
<include path="{{ ENV_HOME }}/Dropbox/Applications/karabiner_superduper.xml" />
</root>
. looking for programs needed by Minimal Kiosk Browser
found: lxterminal
found: xpdf for better PDF support (recommended: evince!)
found: omxplayer
for use with omxplayerGUI you should always get the latest version
from http://omxplayer.sconde.net/
youtube-dl not found. It is needed for web video support.
Raspbian version is broken, therefore install it with the following commands:
sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/bin/youtube-dl
sudo chmod a+x /usr/bin/youtube-dl
@if (@This==@IsBatch) @then
@echo off
rem **** batch zone *********************************************************
setlocal enableextensions disabledelayedexpansion
rem Batch file will delegate all the work to the script engine
if not "%~1"=="" (
wscript //E:JScript "%~dpnx0" %1
)
http://arduino.esp8266.com/stable/package_esp8266com_index.json
#!upstart
#
# An example upstart script for running a Node.js process as a service
# using Forever as the process monitor. For more configuration options
# associated with Forever, see: https://github.com/nodejitsu/forever
#
# You will need to set the environment variables noted below to conform to
# your use case, and should change the description.
#
description "Example upstart script for a Node.js process"
@if (@X)==(@Y) @end /* JScript comment
@echo off
rem :: the first argument is the script name as it will be used for proper help message
cscript //E:JScript //nologo "%~f0" "%~nx0" %*
exit /b %errorlevel%
@if (@X)==(@Y) @end JScript comment */
@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" }
]