Skip to content

Instantly share code, notes, and snippets.

View jasjukaitis's full-sized avatar

Raphael Jasjukaitis jasjukaitis

View GitHub Profile
### Keybase proof
I hereby claim:
* I am jasjukaitis on github.
* I am rjasjukaitis (https://keybase.io/rjasjukaitis) on keybase.
* I have a public key whose fingerprint is EA75 4439 10A0 E5A5 E149 2C44 65FD AFE4 5EB5 7146
To claim this, I am signing this object:
@jasjukaitis
jasjukaitis / initcmsproject.sh
Created October 18, 2013 18:06
Inits a project made with the django-cms-boilerplate
#!/bin/sh
# Inits a project made with the django-cms-boilerplate
# Requires virtualenvwrapper and pip
# Create virtualenv if no active
if [ "$VIRTUAL_ENV" == "" ]; then
echo "Creating virtualenv... Name?"
read venvname
source virtualenvwrapper.sh
mkvirtualenv --no-site-packages $venvname
workon $venvname
@jasjukaitis
jasjukaitis / newplone.sh
Created January 16, 2013 11:44
Script that creates a new Plone project
#!/bin/sh
if [ -z $1 ]
then
echo Insert directory name:
read dirname
else
dirname=$1
fi
echo Creating a new Plone project in $dirname...
mkdir $dirname
@jasjukaitis
jasjukaitis / buildout.cfg
Created January 16, 2013 11:18
Default buildout.cfg for Plone
[buildout]
parts = instance
extends = http://dist.plone.org/release/4.2-latest/versions.cfg
[instance]
recipe = plone.recipe.zope2instance
http-address = 8080
user = admin:admin
eggs = Plone
@jasjukaitis
jasjukaitis / startcmsproject.sh
Last active October 7, 2015 11:08
Creates a new Django project using my boilerplate
#!/bin/sh
# Creates a new Django project using my boilerplate
# Requires virtualenvwrapper and pip
source virtualenvwrapper.sh
# Create a new virtualenv if none other is active
if [ "$VIRTUAL_ENV" == "" ]; then
echo "Creating virtualenv... Name?"
read venvname
mkvirtualenv --no-site-packages $venvname
workon $venvname
@jasjukaitis
jasjukaitis / instapaper2chrome.py
Created October 31, 2011 15:31
Converts an Instapaper CSV export file to a Google Chrome bookmark import file.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2011 Raphael Jasjukaitis <webmaster@raphaa.de>
import csv
import os
import sys
from optparse import OptionParser