Skip to content

Instantly share code, notes, and snippets.

View idlecool's full-sized avatar

Shiv Deepak idlecool

  • Aeroh, Inc.
  • Mountain View, CA
View GitHub Profile
@idlecool
idlecool / 0_reuse_code.js
Created April 22, 2016 23:51
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/bin/sh -
"exec" "python" "-O" "$0" "$@"
__doc__ = """Tiny HTTP Proxy.
This module implements GET, HEAD, POST, PUT and DELETE methods
on BaseHTTPServer, and behaves as an HTTP proxy. The CONNECT
method is also implemented experimentally, but has not been
tested yet.
@idlecool
idlecool / flvizer.sh
Created October 5, 2010 12:49 — forked from anonymous/shiv.sh
saving flash videos from firefox chrome cache
#!/bin/bash
#The target directory where you want the files to be saved.
#With trailing slash.
target="$HOME/"
cd "/tmp"
for i in `ls | grep ^Flash`