Skip to content

Instantly share code, notes, and snippets.

pritambaral /
Last active Dec 22, 2015
Quick search and select track from MPD playlist. REQUIRES: bash, grep, zenity, notify-send
# Prompts user to select song from mpd playlist by search tag.
# Randomizes if multiple matches found and first try was unwanted
if [ ! -f /tmp/jumpd.status ]
touch /tmp/jumpd.status;
pritambaral /
Created Jan 10, 2014
Tech Support. SSH+screen for non-tech-savvy clients.
# Script to safely provide access to tech-support over-the-network.
# Uses 'ssh' for connection
# 'screen' for terminal screen-sharing
# The COMMAND a few lines below limits tech-support's access,
# so they can't have absolute control over your system without supervision
# For developers: change SSH public key and name ('pritam') before sending this out to customers
# Dev. usage: ssh -t user@hostname. -t (force create pty) is compulsory.

Keybase proof

I hereby claim:

  • I am pritambaral on github.
  • I am pritambaral ( on keybase.
  • I have a public key whose fingerprint is 6B4E 38EF 3EF5 D73F 1AB3 FB23 B72C AA89 80F4 6562

To claim this, I am signing this object:

pritambaral / affirmation
Created Nov 4, 2016
MuleSoft Contributor Agreement Acceptance by Chhatoi Pritam Baral
View affirmation
I, Chhatoi Pritam Baral, have read and do accept the MuleSoft Contributor Agreement
Accepted on Fri Nov 04 2016 06:17:48 GMT+0530 (IST)
pritambaral / dkms-mt7601.PKGBUILD
Last active Mar 8, 2017
PKGBUILD for MediaTek's mt7601usb wifi chip
View dkms-mt7601.PKGBUILD
# Maintainer: Yong-hyu Ban <>
pkgdesc="Driver for Ralink MT7601U chipset wireless adaptors"
arch=('i686' 'x86_64')
depends=('dkms' 'linux-headers')
pritambaral / merge-css.js
Created Apr 3, 2015
Merge Duplicate CSS rules; detected by selector
View merge-css.js
#!/usr/bin/env node
if (process.argv.length < 3) {
console.error('Usage:', process.argv.join(' '), '/path/to/file.css');
file = process.argv[2];
var fs = require('fs');