Skip to content

Instantly share code, notes, and snippets.

@krizko
krizko / post-recieve
Created May 15, 2015 12:38
post-recieve git hook - automatic MD convert to HTML via mdown
#!/bin/sh
echo "Fetching MDs and parsing them"
# Go to dest folder
GIT_WORK_TREE=DEST_FOLDER
cd DEST_FOLDER
# Pull & checkout from git
git pull
git checkout -f
@krizko
krizko / SielAutoEdit.js
Last active August 29, 2015 14:20
SielDNS Update IP to specific subdomain automatization
#!/usr/bin/nodejs
var baseUrl = "https://dns.siel.si/";
var username = "someUsername";
var password = "somePass";
var editDomain = 'https://dns.siel.si/domain/DOMAIN.NAME';
var domainName = 'SUB.DOMAIN.NAME.TO.CHANGE';
var ip = 'IP TO COMPARE';

Keybase proof

I hereby claim:

  • I am krizko on github.
  • I am krizko (https://keybase.io/krizko) on keybase.
  • I have a public key whose fingerprint is 37B4 FA65 1C82 D0CF 6E22 97DE C4D1 1887 A60F 31D2

To claim this, I am signing this object: