I hereby claim:
- I am fractalcat on github.
- I am fractalcat (https://keybase.io/fractalcat) on keybase.
- I have a public key whose fingerprint is 6FB7 ED25 BFCF 3E22 72AE 6E8C 47D4 CE7F 6B9F DF57
To claim this, I am signing this object:
| """ | |
| Copyright (c) 2009, Sean Creeley | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without modification, | |
| are permitted provided that the following conditions are met: | |
| * Redistributions of source code must retain the above copyright notice, this | |
| list of conditions and the following disclaimer. | |
| * Redistributions in binary form must reproduce the above copyright notice, |
| from django.forms import widgets | |
| from django.utils.encoding import force_unicode | |
| from django.utils.safestring import mark_safe | |
| class InlineRadioFieldRenderer(widgets.RadioFieldRenderer): | |
| def render(self): | |
| return mark_safe(u'\n%s\n' % u'\n'.join([u'%s' | |
| % force_unicode(w) for w in self])) | |
| class InlineRadioSelect(widgets.RadioSelect): |
| #! /usr/bin/python2 | |
| import sys, random, optparse | |
| def gen(generator, n, alphabet): | |
| password = [] | |
| stream = open(generator, 'rb') | |
| alphabet = set(map(lambda i: chr(i), alphabet)) | |
| while len(password) < n: | |
| c = stream.read(1) |
| (require 'color-theme) | |
| (eval-after-load "color-theme" | |
| '(progn | |
| (color-theme-initialize) | |
| (color-theme-solarized-dark))) | |
| (scroll-bar-mode -1) | |
| (menu-bar-mode -1) | |
| (tool-bar-mode -1) | |
| (set-face-attribute 'default nil :height 140) |
| syntax on | |
| filetype indent plugin on | |
| au FileType python setlocal textwidth=0 wrapmargin=0 |
| Config { | |
| bgColor = "black" | |
| , fgColor = "grey" | |
| , position = TopW L 100 | |
| , font = "xft:Bitstream Vera Sans Mono:size=12:antialias=true" | |
| , commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 | |
| , Run Memory ["-t","Mem: <usedratio>%", "-H", "75", "--high", "red"] 10 | |
| , Run Swap [] 10 | |
| , Run Date "%a, %d %b | %H:%M:%S" "date" 10 | |
| , Run StdinReader |
| #! /usr/bin/env python | |
| import sys, random, optparse | |
| def gen(generator, n, alphabet): | |
| password = [] | |
| stream = open(generator, 'rb') | |
| alphabet = set(map(lambda i: chr(i), alphabet)) | |
| while len(password) < n: | |
| c = stream.read(1) |
| // Hash a password with jBCrypt. | |
| public class Main { | |
| public static void main(String [] args) { | |
| String pw1 = args[0]; | |
| String h1 = BCrypt.hashpw(pw1, BCrypt.gensalt()); | |
| System.out.println(h1); | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: