Skip to content

Instantly share code, notes, and snippets.

#!/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
#!/bin/sh
title=$1 # graph title
xlabel=$2
ylabel=$3
output=$4 # output image name
data=$5 # data file
cols=$6 # which columns to show in the graph
lines='' # the plot lines
@rkhmelyuk
rkhmelyuk / elements.md
Created November 23, 2011 09:58 — forked from soveran/elements.md
Excerpts from The Elements of Programming Style. The source of this compilation is unknown.
  1. Write clearly – don't be too clever.

  2. Say what you mean, simply and directly.

  3. Use library functions whenever feasible.

  4. Avoid too many temporary variables.

  5. Write clearly – don't sacrifice clarity for "efficiency."

@rkhmelyuk
rkhmelyuk / about.md
Created August 14, 2011 19:41 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer