Skip to content

Instantly share code, notes, and snippets.

View agosto-calvinbehling's full-sized avatar

Calvin Behling agosto-calvinbehling

View GitHub Profile
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
@agosto-calvinbehling
agosto-calvinbehling / gist-gadget.xml
Created November 13, 2015 04:00 — forked from takuya0301/gist-gadget.xml
Google gadget for embedding Gist.
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Gist">
<Require feature="dynamic-height"/>
</ModulePrefs>
<UserPref name="id" display_name="Gist ID" required="true" default_value="9088612"/>
<UserPref name="font_size" display_name="Font size (px)" required="true" default_value="12"/>
<UserPref name="line_height" display_name="Line height (px)" required="true" default_value="16"/>
<Content type="html">
<![CDATA[