Skip to content

Instantly share code, notes, and snippets.

Senthil Arivudainambi sent-hil

View GitHub Profile
UnquietCode / Lava Lamp
Created Apr 19, 2015
Lava Lamp Random Number Generator
View Lava Lamp

Lava Lamp Random Number Generator

(extracted from the now defunct SGI project at via the magical Internet Archive Wayback Machine)

Lava Lamps can be used as a source of randomness, which can be used to establish a random number generator. The output of the RNG can then be consumed by various computer applications.

Step 1: Establish a chaotic system

(Set up Lava Lite® lamps in a machine room.)


Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following:

jpillora / sshd.go
Last active Jun 27, 2020
Go SSH server complete example - Read more here
View sshd.go
// A small SSH daemon providing bash sessions
// Server:
// cd my/new/dir/
// #generate server keypair
// ssh-keygen -t rsa
// go get -v .
// go run sshd.go
// Client:
nocturnalgeek / MailinatorAliases
Last active Jul 8, 2020
A list of alternate domains that point to
View MailinatorAliases
kachayev /
Last active Jun 23, 2020
Channels Are Not Enough or Why Pipelining Is Not That Easy
debasishg / gist:8172796
Last active Jun 24, 2020
A collection of links for streaming algorithms and data structures
View gist:8172796
  1. General Background and Overview

I'm planning on either writing this up in detail or maybe doing a screencast about screencasting, but I'll give a short version here.

On sound quality:

This matters a lot. In decreasing order of importance:

  1. Remove echo. You have to hear this to understand. Set up a mic in front of your mouth and record a sentence. Then, put a thick comforter over you and the mic and say it again at the same distance. Listen to
drewolson / reflection.go
Last active Jul 6, 2020
Golang Reflection Example
View reflection.go
package main
import (
type Foo struct {
FirstName string `tag_name:"tag 1"`
LastName string `tag_name:"tag 2"`

JavaScript Code

var str = "hi";

Memory allocation:

Address Value Description
...... ...
KartikTalwar /
Last active Jul 11, 2020
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
You can’t perform that action at this time.