Skip to content

Instantly share code, notes, and snippets.

Chirayu Krishnappa chirayuk

Block or report user

Report or block chirayuk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View install_tmux.sh
#!/usr/bin/env zsh
PREFIX=/usr/local
set -vxe
# Script for installing tmux and dependencies.
# tmux will be installed in /usr/local/lib by default.
# Prerequisites: - gcc
@chirayuk
chirayuk / keybase.md
Created Oct 25, 2014
keybase.io verification
View keybase.md

Keybase proof

I hereby claim:

  • I am chirayuk on github.
  • I am chirayuk (https://keybase.io/chirayuk) on keybase.
  • I have a public key whose fingerprint is B2E6 E629 ABA6 0019 AFD9 ADA3 2F95 BB13 8516 557D

To claim this, I am signing this object:

@chirayuk
chirayuk / index.css
Last active Aug 29, 2015
ng-show example for tran
View index.css
.myDiv {
padding:10px;
border:1px solid black;
background:white;
overflow: hidden;
}
.myDiv.ng-hide-add.ng-hide-add-active,
.myDiv.ng-hide-remove {
opacity: 0;
@chirayuk
chirayuk / .tmux.conf
Last active Mar 23, 2019
~/.tmux.conf for tmux 1.5 (e.g. for use on Cloud9 console.)
View .tmux.conf
# This is a modified version that supports tmux 1.5 so you can use tmux on Cloud9 IDE.
# https://gist.github.com/chirayuk/6084618
# NOTE: The default TERM value under Cloud9 is set to vt100. This won't give
# you colors under tmux. Before running tmux, "export
# TERM=screen-256color" and then run tmux. If you already ran tmux
# before doing so, you can "tmux kill-server" to kill it and start a new
# one.
#nop# # https://gist.github.com/chirayuk/5377283
@chirayuk
chirayuk / reset_launch_services
Created May 31, 2013
Reset launch services – to fix filetype bindings, copy/paste, etc.
View reset_launch_services
#!/bin/sh
# Ref:
# http://krypted.com/mac-os-x/lsregister-associating-file-types-in-mac-os-x/
# http://apple.stackexchange.com/questions/7075/how-can-i-reinstall-an-application-that-the-mac-app-store-thinks-is-installed-al
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
View tmux_shell_with_clipboard_support.sh
#!/usr/bin/python -E
# -*- coding: UTF-8 -*-
# Usage: In ~/.tmuxrc,
# set default-command /Users/chirayu/ck/vcs/ck5/scripts/for_os_x/tmux_shell_with_clipboard_support.sh
import ctypes
import os
import platform
You can’t perform that action at this time.