Skip to content

Instantly share code, notes, and snippets.

View sakthivelchinnannan's full-sized avatar

Sakthivel Chinnnannan sakthivelchinnannan

View GitHub Profile
@sakthivelchinnannan
sakthivelchinnannan / SketchSystems.spec
Created February 28, 2019 17:01 — forked from lynaghk/SketchSystems.spec
# A traffic light
# A traffic light
Powered
power failed -> Unpowered
Green*
tick -> Yellow
Yellow
tick -> Red
Search Bar*
Inactive*
focused -> Active
Active
canceled -> Inactive
typed -> Text Entry
Empty*

Keybase proof

I hereby claim:

  • I am sakthivelchinnannan on github.
  • I am sakthic (https://keybase.io/sakthic) on keybase.
  • I have a public key ASBUfy4kWO0RsZem9VbaZxxuCNS4oniN-C7VVq_0RQ9jfAo

To claim this, I am signing this object:

@sakthivelchinnannan
sakthivelchinnannan / tmux.md
Last active August 29, 2015 14:27 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@sakthivelchinnannan
sakthivelchinnannan / zbell.sh
Last active August 29, 2015 14:26 — forked from jpouellet/zbell.sh
Makes Zsh print a bell when long-running commands finish. I use this in combination with i3 and throw big compile jobs (or whatever it may be) into another workspace to get a nice visual notification (workspace indicator turns red) when it's done so I don't need to waste time regularly checking on it.
#!/usr/bin/env zsh
# This script prints a bell character when a command finishes
# if it has been running for longer than $zbell_duration seconds.
# If there are programs that you know run long that you don't
# want to bell after, then add them to $zbell_ignore.
#
# This script uses only zsh builtins so its fast, there's no needless
# forking, and its only dependency is zsh and its standard modules
#
doskey subl="C:\Program Files\Sublime Text 2\sublime_text.exe" $*
doskey ls=ls $1 --color
doskey ll=ls -la --color
doskey sbl = sublime $*
doskey sshs = ssh [email protected]
doskey oocd = openocd-x64-0.6.1 -f .\stm32f4discovery.cfg
doskey oocd7 = openocd-x64-0.7.0 -f .\stm32f4discovery.cfg
doskey sshkey = type C:\Users\dcrystalj\.ssh\id_rsa.pub | clip & echo "ssh key in clipboard"
:: Git
@sakthivelchinnannan
sakthivelchinnannan / icicilombard-renewal-wcb-validate-method.js
Created November 17, 2014 14:19
ICICI Lombard Policy renewal page stuck at initial form
function validate()
{
//alert("Hello");
if(document.aspnetForm.prd.options[document.aspnetForm.prd.selectedIndex].value=="Select")
{
alert("Please select Product")
return false;
}
if(trim(document.aspnetForm.name.value)=="")