Skip to content

Instantly share code, notes, and snippets.

[
{
"kana": "ア",
"roumaji": "a",
"type": "gojuuon"
},
{
"kana": "イ",
"roumaji": "i",
"type": "gojuuon"
@krisfremen
krisfremen / todoist.py
Created August 6, 2017 14:58 — forked from vst/todoist.py
A command line tool for Todoist
## Got this script initially from https://gist.github.com/kbl/5970131
###########
# IMPORTS #
###########
import ConfigParser
import argparse
import json
import os
@krisfremen
krisfremen / gist:baaab4768fc62e6d0e911eb1443ccf78
Created May 20, 2016 03:08
flask flash message when validated and flash error when form doesn't submit
if request.method == 'POST':
if form.validate_on_submit():
flash("validated!")
return render_template('success.html', form=form)
else:
flash("not valid!")
return render_template("form.html")
@krisfremen
krisfremen / keybase.md
Last active August 29, 2015 14:20
keybase.md

Keybase proof

I hereby claim:

  • I am krisfremen on github.
  • I am krisfremen (https://keybase.io/krisfremen) on keybase.
  • I have a public key whose fingerprint is 4910 9E15 381A 6A9B 7507 1064 3410 75E8 2367 4939

To claim this, I am signing this object:

dactyl: bootstrap: startup startup
dactyl: bootstrap: init pentadactyl@dactyl.googlecode.com
pentadactyl: bootstrap: init
pentadactyl: [Begin base]
pentadactyl: (End base)
pentadactyl: bootstrap: register: {16dc34f7-6d22-4aa4-a67f-2921fb5dcb69} @mozilla.org/commandlinehandler/general-startup;1?type=dactyl
pentadactyl: bootstrap: create module: @mozilla.org/commandlinehandler/general-startup;1?type=dactyl
pentadactyl: require: loading config into command-line-handler
pentadactyl: [Begin config]
pentadactyl: require: loading dom into config