Skip to content

Instantly share code, notes, and snippets.

View rohitasva's full-sized avatar

Rohitasva rohitasva

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rohitasva on github.
  • I am rohitasva (https://keybase.io/rohitasva) on keybase.
  • I have a public key whose fingerprint is B35C D0A0 AC87 8AC5 E99D 44F0 12C4 8BB7 A1B7 CF3E

To claim this, I am signing this object:

import hudson.model.*
for(item in Hudson.instance.items) {
println("Disabled job: " + item.name + '\n')
item.disabled=true
item.save()
}
def queue = Hudson.instance.queue
println "Queue contains ${queue.items.length} items"
import hudson.model.*
def queue = Hudson.instance.queue
println "Queue contains ${queue.items.length} items"
queue.clear()
println "Queue cleared"
@rohitasva
rohitasva / vimrc
Last active September 6, 2015 04:18
syntax on
set nu
set nocompatible
set backspace=2
set expandtab
set shiftwidth=2
set softtabstop=2
filetype plugin indent on
autocmd BufNewFile,BufRead *.nix set ft=javascript
set vb
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix