Skip to content

Instantly share code, notes, and snippets.

View agimenez's full-sized avatar

L. Alberto Giménez agimenez

View GitHub Profile
agimenez@debian1:~/go/src/lagimenez/gopsview (master)$ tree
.
├── cmd
│   └── cli
│   └── main.go
└── gopsview.go
2 directories, 2 files
agimenez@debian1:~/go/src/lagimenez/gopsview (master)$ go build -v ./...
agimenez@debian1:~/go/src/lagimenez/gopsview (master)$ tree
@agimenez
agimenez / reposurgeon-make-check.out
Last active January 28, 2016 15:10
Make check results for reposurgeon repository
repotool-export-svn ## Test repotool export of svn repo
--- repotool-export-svn.chk 2016-01-19 16:49:00.039920047 +0100
+++ /tmp/out1874 2016-01-28 16:08:48.002057173 +0100
@@ -80,10 +80,10 @@
Node-path: trunk/README
Node-kind: file
Node-action: add
-Prop-content-length: 10
-Text-content-length: 23
Text-content-md5: a60319cd0397d5c9bcc0652f9a54c56c
@agimenez
agimenez / gist:0f43cde4f6368a50e79f
Last active August 29, 2015 14:17
keybase.io proof
### Keybase proof
I hereby claim:
* I am agimenez on github.
* I am agimenez (https://keybase.io/agimenez) on keybase.
* I have a public key whose fingerprint is 970D A3AD A334 2FA3 658B 5C2B FDE2 27E0 DD4E 27AB
To claim this, I am signing this object:
@agimenez
agimenez / gist:989445
Created May 24, 2011 19:18
guess-charset.py
agimenez@bart:~$ echo $LANG
en_US.UTF-8
# After echo "ñéç€" >> test-encoding, which is a copy of the linux-2.6 Makefile (for performance testing)
# The € sign should definitely cause the file to be iso-8859-15 or utf-8
agimenez@bart:~$ guess-charset.py test-encoding
ISO-8859-1
agimenez@bart:~$ file -i test-encoding
test-encoding: text/plain; charset=utf-8
@agimenez
agimenez / gist:828368
Created February 15, 2011 22:07
avrdude
avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A200001375
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 1.01
hardware version: 1
S_MCU:
boot-loader FW version: 255
firmware version: 2.00