Skip to content

Instantly share code, notes, and snippets.

View vibhavp's full-sized avatar

Vibhav Pant vibhavp

  • New Delhi, India
  • 07:23 (UTC +05:30)
View GitHub Profile
@sgaurav
sgaurav / mobile_operator_circle.json
Last active February 28, 2016 18:07
Maps first four/five digits of user mobile number to corresponding operator and circle.
{
"7026": {
"operator": "IDEA",
"circle": "KARNATAKA"
},
"7036": {
"operator": "IDEA",
"circle": "ANDHRA PRADESH"
},
"7046": {
@skeeto
skeeto / thebutton.el
Last active August 29, 2015 14:18
thebutton-mode
;;; thebutton.el --- display r/thebutton's status on the modeline
;; This is free and unencumbered software released into the public domain.
;;; Commentary:
;; Unfortunately the URL's hash changes regularly, so you may need to
;; update `thebutton-url' to the new when first start the mode.
;; Dependency: https://github.com/ahyatt/emacs-websocket
@sabof
sabof / emacs-automount.el
Last active August 29, 2015 14:01
emacs-automount
;; -*- lexical-binding: t -*-
(require 'cl-lib)
(require 'dbus)
(cl-flet (( udisks-register-signal (&rest args)
(apply 'dbus-register-signal
:system "org.freedesktop.UDisks"
"/org/freedesktop/UDisks"
"org.freedesktop.UDisks"
args))
@avendael
avendael / .vimperatorrc
Last active August 22, 2018 12:48
Emacs Keybindings for Vimperator. Paste this into your `.vimperatorrc`
" Show tab numbers
set guioptions+=n
" Hide scrollbars
set guioptions-=r
" zenburn color theme
colo zenburn
" Default editor when C-i is invoked
@dmur
dmur / MIT LICENSE
Created July 19, 2012 21:46
Attractively wrapped 80-col MIT license
// 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:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//