Skip to content

Instantly share code, notes, and snippets.

View jtmoulia's full-sized avatar

Thomas Moulia jtmoulia

View GitHub Profile
@jtmoulia
jtmoulia / rofi.cfg
Created December 7, 2022 00:38 — forked from MilesMcBain/rofi.cfg
vim like keys for rofi
rofi.kb-row-up: Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab
rofi.kb-row-down: Down,Control+j
rofi.kb-accept-entry: Control+m,Return,KP_Enter
rofi.terminal: mate-terminal
rofi.kb-remove-to-eol: Control+Shift+e
rofi.kb-mode-next: Shift+Right,Control+Tab,Control+l
rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab,Control+h
rofi.kb-remove-char-back: BackSpace
@jtmoulia
jtmoulia / nobucketerr
Created October 10, 2013 04:03
Error from wal-e produced by trying to push to a non-existent S3 bucket.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/site-packages/wal_e/worker/s3_worker.py", line 209, in __call__
self.gpg_key_id)
File "/usr/local/lib/python2.7/site-packages/wal_e/worker/s3_worker.py", line 343, in _do_lzop_s3_put
k = uri_put_file(aws_access_key_id, aws_secret_access_key, s3_url, tf)
File "/usr/local/lib/python2.7/site-packages/wal_e/worker/s3_worker.py", line 162, in uri_put_file
k.set_contents_from_file(fp)
File "/usr/local/lib/python2.7/site-packages/boto/s3/key.py", line 1237, in set_contents_from_file