Skip to content

Instantly share code, notes, and snippets.

Sundeep Malladi balanceiskey

Block or report user

Report or block balanceiskey

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 subtle.js
define ( ['somewhere/someFunc'], function (someFunction) {
return someFunction(anotherFunction);
function anotherFunction() {
// stuff
View ns-cheatsheet.clj
;; * :require makes functions available with a namespace prefix.
;; * :use makes functions available without a namespace prefix
;; (i.e., refers functions to the current namespace).
;; * :import refers Java classes to the current namespace.
balanceiskey / schemeflip.vim
Last active Dec 20, 2015
A simple vim function to flip between your preferred dark and light color schemes.
View schemeflip.vim
noremap <silent> <leader>l :call FlipScheme()<cr>
function! FlipScheme()
if g:colors_name == 'hemisu'
set background=dark
color jellybeans
set background=light
color hemisu
balanceiskey / ffextension.js
Created Jan 30, 2013
An example of how to get Backbone Models and Collections working in a firefox extension.
View ffextension.js
var Request = require('request').Request,
_ = require('./underscore'),
Backbone = require('./backbone'),
// Firefox Add-Ons cannot use jQuery in the background
// script, but there are instances where we need some
// jquery functionality, paricularly $.ajax, which
// is defined later.
$ = {
ajax: function (params) {
if (!params.url){
balanceiskey / 0_reuse_code.js
Created Nov 18, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View sunbolt.zsh-theme
# Sunrise theme for oh-my-zsh by Adam Lindberg (
# Intended to be used with Solarized:
# (Needs Git plugin for current_branch method)
# Modified by Sundeep Malladi to include Mercurial (and some other shtuff).
# Color shortcuts
balanceiskey /
Created Apr 2, 2012 — forked from erikh/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
You can’t perform that action at this time.