Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sijis on github.
  • I am sijis (https://keybase.io/sijis) on keybase.
  • I have a public key ASCeDXR8DsmWxOvMoeMM2_Zp69bWloD2TJcBtphMahCM-Ao

To claim this, I am signing this object:

saviles  /  tmp  test1  pip install --user -U pipenv
Collecting pipenv
Downloading pipenv-11.1.8.tar.gz (4.1MB)
100% |████████████████████████████████| 4.1MB 350kB/s
Collecting setuptools>=36.2.1 (from pipenv)
Using cached setuptools-38.5.2-py2.py3-none-any.whl
@sijis
sijis / repos.json
Last active December 25, 2015 04:37
{'atalyad/err-rssfeed': {'avatar_url': None,
'documentation': 'register to rss feeds and get updates in the chat.',
'path': 'https://github.com/atalyad/err-rssfeed.git',
'python': None},
'atalyad/err-weatherbot': {'avatar_url': None,
'documentation': 'query the local weather',
'path': 'https://github.com/atalyad/err-weatherbot.git',
'python': None},
'benvd/err-music': {'avatar_url': None,
'documentation': 'Query lyrics, compositors etc etc ...',
@sijis
sijis / dump-db.py
Created May 27, 2015 17:09
exporting plugin data
import shelve
import os
import json
def date_handler(obj):
return obj.isoformat() if hasattr(obj, 'isoformat') else obj
for filename in os.listdir('.'):
if '.db' in filename:
dump_filename = '{}.{}'.format(filename.split('.')[0], 'json')
@sijis
sijis / test_facts.rb
Created September 22, 2014 21:49
Creating test puppet facts
require 'facter'
hostname=Facter['hostname'].value
all_servers = ['denver', 'indy', 'sandiego', 'chicago', 'saltlake', 'nashville']
Facter.add('my_env') do
dev = ['denver', 'indy', 'sandiego']
prod = ['chicago', 'saltlake', 'nashville']