Skip to content

Instantly share code, notes, and snippets.

Avatar

Tun Win Naing twnaing

View GitHub Profile
@twnaing
twnaing / Caddyfile
Created Jul 3, 2020
Caddyfile v2 for Ruby on Rails application
View Caddyfile
http://{$CADDY_HOST}:{$CADDY_PORT} {
root * ./public
@notStatic {
not {
file {
try_files {path}
}
}
}
View tmux-manager-comparison.csv
Name Language Config format Stars Contributors Last update page
tmuxinator ruby yaml 9132 108 5/23/2019 https://github.com/tmuxinator/tmuxinator
teamocil ruby yaml 1926 6 9/1/2019 https://github.com/remiprev/teamocil
tmuxp python yaml, json 2466 39 6/7/2019 https://github.com/tmux-python/tmuxp
tmuxomatic python yaml 999 6 4/26/2016 https://github.com/oxidane/tmuxomatic
@twnaing
twnaing / cloudSettings
Last active Jul 3, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-03-31T20:26:17.482Z","extensionVersion":"v3.4.3"}
@twnaing
twnaing / bump-version.sh
Created Mar 16, 2017 — forked from mareksuscak/bump-version.sh
Bump version shell script.
View bump-version.sh
#!/bin/bash
# Thanks goes to @pete-otaqui for the initial gist:
# https://gist.github.com/pete-otaqui/4188238
#
# Original version modified by Marek Suscak
#
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3" or even "1.2.3-beta+001.ab"
View keybase.md

Keybase proof

I hereby claim:

  • I am twnaing on github.
  • I am twnaing (https://keybase.io/twnaing) on keybase.
  • I have a public key whose fingerprint is DF32 4908 60CF D813 AD2F 6E76 E0E2 49A9 A39F D5C2

To claim this, I am signing this object:

@twnaing
twnaing / iDeviceSafariDelicious
Created Mar 23, 2012
Bookmarklet code to add delicious bookmark in iPad
View iDeviceSafariDelicious
javascript:(
function(){
f=’http://delicious.com/save?url=’+encodeURIComponent(window.location.href)+’&title=’+encodeURIComponent(document.title)+’&v=5&’;
a=function()
{
if(!window.open(f+’jump=doclose’,'deliciousuiv5′,’location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550′))
location.href=f+’jump=yes’
};
if(/Firefox/.test(navigator.userAgent))
{
You can’t perform that action at this time.