Skip to content

Instantly share code, notes, and snippets.

View glnarayanan's full-sized avatar
🎯
Focusing

Lakshmi Narayanan G glnarayanan

🎯
Focusing
View GitHub Profile
@glnarayanan
glnarayanan / s3_outline_backup.sh
Created May 28, 2020 16:34
Outline Wiki Backup Script for S3
#!/bin/bash
pushd ()
{
dirname=$1
DIR_STACK="$dirname ${DIR_STACK:-$PWD' '}"
cd ${dirname:?"missing directory name."}
echo "$DIR_STACK"
}

Keybase proof

I hereby claim:

  • I am glnarayanan on github.
  • I am glnarayanan (https://keybase.io/glnarayanan) on keybase.
  • I have a public key ASAKEnRMDIq7YliTyyqLfs4CvqA4GB8SIPF6gHikSo87JAo

To claim this, I am signing this object:

@glnarayanan
glnarayanan / import.py
Last active September 12, 2015 08:12 — forked from kbl/import.py
Import tasks and lists from Wunderlist to Todoist
# -*- coding: utf8 -*-
import json
import urllib2
import urllib
import sys
import os
from argparse import ArgumentParser
from collections import defaultdict
#!/bin/sh
# Updated to include the latest Scala and Sbt versions as of June 15, 2014
# Might get the older version installed
# sudo apt-get install scala
# Getting Scala from the website
wget http://www.scala-lang.org/files/archive/scala-2.11.1.deb
sudo dpkg -i scala-2.11.1.deb