Skip to content

Instantly share code, notes, and snippets.

View tchap's full-sized avatar

Ondřej Kupka tchap

View GitHub Profile
@tchap
tchap / el_viejo_tambor
Last active August 29, 2015 14:15
El Viejo Tambor - Alonso del Rio
EL VIEJO TAMBOR
Alonso del Río
=====
G D
Desde los tiempos en que mi abuelo soñó
C Emi
que un día yo viviría para cantarles esta canción
@tchap
tchap / he_empezado_un_viaje
Last active August 29, 2015 14:15
HE EMPEZADO UN VIAJE - Alonso del Rio
https://www.youtube.com/watch?v=dSPXRx8Houw
=====
Ami C G D
He empezado un viaje y no se cuando acabar
Ami C G D
llevo errando tantas vidas que no lo recuerdo ya
Ami C G D
@tchap
tchap / pri_prastarom_strome
Last active August 29, 2015 14:14
Pri prastarom strome
https://www.youtube.com/watch?v=CHJ6UiDliWI
-----
Ami C
Pri prastarom dube
E Ami
býva lesný muž
Ami C
@tchap
tchap / toilets.go
Last active August 29, 2015 14:11
Read toilet sensors on Raspberry Pi
// Demo:
//
// $ sudo ./pins
// Unable to select a suitable driver for this board.
// Linux itoilet 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
//
// toilet A: 0
// toilet B: 0
//
// BTW hwio has a terrible public API, brb.
// The following code works fine:
//
// $ ./signals-test
// ^CSignal received, handler unregistered...
// ^C
// $
package main
import (
package main
import "fmt"
func main() {
items := []int{}
item := 2
var (
begin int
// EDIT: SOLVED!
// The arguments are supposed to be
// [--no-pager log --all --source --abbrev-commit --grep=Story-Id: 12345]
// not
// [--no-pager log --all --source --abbrev-commit --grep='Story-Id: 12345']
// because then it doesn't find the commits and then output is empty.
// The problem is that my function is returning empty stdout buffer
// even though the output is not empty when I run git from CLI.
//
<!DOCTYPE html>
<html>
<body>
<form>
<input id="fileInput" type="file"></input>
</form>
<span id="fileContent"></span>
<script type="text/javascript">
var apiAvailable = function() {

Medicine Songs I am Working On

  • Abrete Corazon (page 11) - NEXT
  • Ague de Estrellas (page 12) - NEXT
  • Age of Truth (page 58) - OK
  • All That I am (page 60) - IN PROGRESS
  • Angels of Healing (gist) - OK
  • Ayahuasca Takimuyki (Shimsai) (page 136) (gist) - TODO
  • Become the Light You Are (page 63) - TODO
  • Butterfly People (page 66) - TODO