I haven't worked on this site in a while & recently wrote a bunch of mini-tools I could cram in there, so I need a new UI to enable that.
A Pen by Joel Kirchartz on CodePen.
<!DOCTYPE html> | |
<style>article {border:1px solid lightgrey;}</style> | |
<div id='book'></div> | |
<script> | |
var chars = "abcdefghijklmnopqrstuvwxyz ., ,."; | |
var book = 410; | |
var page = 3200; | |
String.prototype.shuffle = function () { | |
var a = this.split(""), | |
n = a.length; |
I haven't worked on this site in a while & recently wrote a bunch of mini-tools I could cram in there, so I need a new UI to enable that.
A Pen by Joel Kirchartz on CodePen.
#! /bin/sh | |
# | |
# convert.sh | |
# | |
# Copyleft (ↄ) 2015 jkirchartz <[email protected]> | |
# | |
# Distributed under terms of the NPL (Necessary Public License) license. | |
# | |
for file in ./sources/*.txt; do |
# Description: | |
# Anyone can have voice or op | |
# | |
# Commands: | |
# hubot make me an op | |
# hubot make <name> an op | |
# hubot give me voice | |
# hubot give <name> voice | |
module.exports = (robot) -> |
var currencies = { | |
'USD': '$', 'CAD': 'CA$', 'EUR': '€', 'AED': 'AED', 'AFN': 'Af', | |
'ALL': 'ALL', 'AMD': 'AMD', 'ARS': 'AR$', 'AUD': 'AU$', 'AZN': 'man.', | |
'BAM': 'KM', 'BDT': 'Tk', 'BGN': 'BGN', 'BHD': 'BD', 'BIF': 'FBu', | |
'BND': 'BN$', 'BOB': 'Bs', 'BRL': 'R$', 'BWP': 'BWP', 'BYR': 'BYR', | |
'BZD': 'BZ$', 'CDF': 'CDF', 'CHF': 'CHF', 'CLP': 'CL$', 'CNY': 'CN¥', | |
'COP': 'CO$', 'CRC': '₡', 'CVE': 'CV$', 'CZK': 'Kč', 'DJF': 'Fdj', | |
'DKK': 'Dkr', 'DOP': 'RD$', 'DZD': 'DA', 'EEK': 'Ekr', 'EGP': 'EGP', | |
'ERN': 'Nfk', 'ETB': 'Br', 'GBP': '£', 'GEL': 'GEL', 'GHS': 'GH₵', | |
'GNF': 'FG', 'GTQ': 'GTQ', 'HKD': 'HK$', 'HNL': 'HNL', 'HRK': 'kn', |
[SWF(width=200,height=50,backgroundColor=0x666666,frameRate=24)] | |
var sound:Sound = new Sound(); | |
/* ################ Set the Starting Frequency */ | |
var freq:Number=1046.5; | |
/* ################ Set the Sample Rate */ | |
var rate:Number=44100; | |
var phase:Number=0; | |
var chan:SoundChannel = new SoundChannel(); | |
var trans:SoundTransform = new SoundTransform(0,0); | |
chan.soundTransform = trans; |
from PIL import Image, ImageStat, ImageEnhance | |
from random import * | |
import numpy as np | |
from itertools import * | |
import requests | |
import simplejson | |
from cStringIO import StringIO | |
from images2gif import writeGif | |
import os, sys |
Nostradamus BBS ......................... (801) 487-9715 | |
The Pine Tree BBS ....................... (803) 641-1805 | |
The End Of Time ......................... (803) 855-0783 | |
A.H.I. Helpline ......................... (805) 395-0371 | |
Dark Knights Lair ....................... (805) 563-2160 | |
The *Orion* System ...................... (806) 293-9988 | |
Dragon's Lair BBS ....................... (808) 423-2163 | |
The Tradin' Post ........................ (813) 578-0347 | |
NCahoots! BBS ........................... (816) 452-3219 | |
Beer World .............................. (817) 267-9945 |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import sys, os, httplib, codecs | |
import simplejson as json | |
def get(url,filename): | |
try: | |
conn = httplib.HTTPConnection('jsfiddle.net') | |
conn.request('GET',url) |
Scripts to create a new post & publish it using jekyll. new_post
takes a title, and optional content; publish
stages it for publishing on the current date.
new_post "Article Title" "Optional content"
will create a file named unpublished-article_title.md
whose content is
---
layout: post
title: Article Title
published: false
tags: article