Skip to content

Instantly share code, notes, and snippets.

View arcandio's full-sized avatar
🎲
rollin the dice

Joe Bush arcandio

🎲
rollin the dice
View GitHub Profile
@hcooper
hcooper / koken-upload.py
Last active March 5, 2021 14:47
Upload photos to a koken gallery from the command line
# v1.0 of a command line uploader for the koken gallery software.
# The only non-standard requirement is pyton-requests.
import json
import requests
import os
from urllib import quote as quote
api_url = "http://yourdomain/api.php?"
common_headers = {'X-Koken-Auth':'cookie'}
@sabarasaba
sabarasaba / gist:3080590
Created July 10, 2012 02:19
Remove directory from remote repository after adding them to .gitignore
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master