This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ export board=facedancer21 | |
$ ./goodfet.monitor listapps | |
GoodFET with f26f MCU | |
Clocked at 0x8fa6 | |
Build Date: 2013-01-23 16:28 | |
Firmware apps: | |
Monitor | |
SPI | |
MAXUSB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
font = Terminus 8 | |
# allow a small subset of html markup: | |
# <b>bold</b> | |
# <i>italic</i> | |
# <s>strikethrough<s/> | |
# <u>underline</u> | |
# | |
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./khepri backup hashing !10148 | |
2014/05/03 13:30:16 archiving dir "hashing" | |
2014/05/03 13:30:16 dir "hashing": 4 entries | |
2014/05/03 13:30:16 tree for "hashing" saved at bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3 | |
"hashing" archived as bd76151390456301f80540e37a73e7c19ec7db60ad85c8832cf7a3d60b35e0b3 | |
% tree khepri-backup !10153 | |
khepri-backup | |
├── objects | |
│ ├── 22a19eafb8c1a5a7de8bd703325e0ea94570ad8a9cc5c2ef886d47e6fdda958d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Map caps lock to escape | |
remove Lock = Caps_Lock | |
!keysym Caps_Lock = Escape | |
keycode 66 = Escape Multi_key Multi_key Multi_key | |
keycode 9 = Menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gsftp implements a simple sftp client. | |
// | |
// gsftp understands the following commands: | |
// | |
// List a directory (and its subdirectories) | |
// gsftp ls DIR | |
// | |
// Fetch a remote file | |
// gsftp fetch FILE | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/usr/bin/time -f '%Uu %Ss %er %MkB %C' "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" vim:foldmethod=marker | |
" | |
" global pentadactyl configuration {{{1 | |
"========================================================== | |
" always hide tabline | |
set showtabline=never | |
" do not automatically follow matching hints | |
set followhints=1 | |
" transliterate chars before using for hint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go test -v -run x -bench BenchmarkArchiveDirectory -test.benchdir ~/shared/work/atmel -benchmem -benchtime 60s | tee /tmp/before | |
go test -v -run x -bench BenchmarkArchiveDirectory -test.benchdir ~/shared/work/atmel -benchmem -benchtime 60s | tee /tmp/after | |
benchcmp /tmp/{before,after} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go test -v -run x -bench BenchmarkArchiveDirectory -test.benchdir ~/shared/work/atmel -benchmem | tee /tmp/before | |
PASS | |
BenchmarkArchiveDirectory 1 17773369603 ns/op 3190812944 B/op 2338570 allocs/op | |
--- BENCH: BenchmarkArchiveDirectory | |
archiver_test.go:129: snapshot archived as b61d90df75ee61602ea4cab2dc680dcd96175e26e66affeaa60471a0f0a8847e | |
ok github.com/restic/restic 17.783s | |
$ go test -v -run x -bench BenchmarkArchiveDirectory -test.benchdir ~/shared/work/atmel -benchmem | tee /tmp/after | |
PASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"path/filepath" | |
"sync" | |
) |
OlderNewer