Skip to content

Instantly share code, notes, and snippets.

View sirishkumar's full-sized avatar

Sirish Kumar Bethala sirishkumar

View GitHub Profile
@mrchief
mrchief / LICENSE.md
Last active March 23, 2024 12:28
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@palmalcheg
palmalcheg / install-graphite-ubuntu-10.04.sh
Created November 7, 2012 16:06 — forked from MikeGrace/install-graphite-ubuntu-10.04.sh
Install Graphite 0.9.10 on Ubuntu 10.04 , pycairo setup included, copy cairo
sudo apt-get update
sudo apt-get upgrade
wget http://launchpad.net/graphite/0.9/0.9.10/+download/graphite-web-0.9.10.tar.gz
wget http://launchpad.net/graphite/0.9/0.9.10/+download/carbon-0.9.10.tar.gz
wget http://launchpad.net/graphite/0.9/0.9.10/+download/whisper-0.9.10.tar.gz
wget http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2
tar xjf py2cairo-1.10.0.tar.bz2
tar -zxvf graphite-web-0.9.10.tar.gz
@zaius
zaius / background.sh
Created January 16, 2011 23:29
How to redirect a running process output to a file and log out
ctrl-z
bg
touch /tmp/stdout
touch /tmp/stderr
gdb -p $!
# In GDB
p dup2(open("/tmp/stdout", 1), 1)
p dup2(open("/tmp/stderr", 1), 2)