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
from __future__ import with_statement | |
import itertools | |
import functools | |
import sys | |
def download_files(keylist): | |
return [key.get_contents_to_filename('%s/%s' % (TEMP_DIR, key.name)) | |
for key in keylist] |
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
;;; ime-snake.el --- | |
;; Copyright (C) 2013, 2019 Ian Eure | |
;; Author: Ian Eure <ian.eure@gmail.com> | |
;; Keywords: | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
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
Hey y'all, | |
So i haven't posted here before i think, but I've lived in or around Portland for about 10 years now. Love the | |
place. | |
Anyway i think i should go. I don't have much in the sense of responsibilities or dependants, just two adorable | |
cats whom i love, but i also have dependable friends who can care for them properly. | |
My job went down to covid reasons, but i was burnt out and depressed (breakup with an LTR—"the One"—followed | |
by years of overwork, doom-scrolling, and escapism), but i have an okay amount saved up 💎Thanks Keith!🙌 So |
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
;; Functions to work with frames | |
(provide 'ime-frame) | |
(defun screen-usable-height (&optional display) | |
"Return the usable height of the display. | |
Some window-systems have portions of the screen which Emacs | |
cannot address. This function should return the height of the | |
screen, minus anything which is not usable." |
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
# -*- coding: utf-8 -*- | |
# | |
# Author: Ian Eure <http://github.com/ieure>, <http://atomized.org> | |
# | |
"""Enter the debugger on exceptions. | |
example: | |
from __future__ import with_statement |
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
(defun window-toggle-dedicated (&optional window) | |
"Toggle the dedicated flag on a window." | |
(interactive) | |
(let* ((window (or window (selected-window))) | |
(dedicated (not (window-dedicated-p window)))) | |
(when (called-interactively-p) | |
(message (format "%s %sdedicated" | |
(buffer-name (window-buffer window)) | |
(if dedicated "" "un")))) | |
(set-window-dedicated-p window dedicated) |
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
beep for Debian | |
--------------- | |
The code is quite short so it should be clear that it's not exploitable. | |
I therefore think that "suid root with only group audio executeable" is an | |
acceptable default - you are of course able to change it anytime with | |
dpkg-reconfigure beep |
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
;;; python-pep8.el --- minor mode for running `pep8' | |
;; Copyright (c) 2009, 2010 Ian Eure <ian.eure@gmail.com> | |
;; Author: Ian Eure <ian.eure@gmail.com> | |
;; Keywords: languages python | |
;; Last edit: 2010-02-12 | |
;; Version: 1.01 |
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
;;; python-pylint.el --- minor mode for running `pylint' | |
;; Copyright (c) 2009, 2010 Ian Eure <ian.eure@gmail.com> | |
;; Author: Ian Eure <ian.eure@gmail.com> | |
;; Keywords: languages python | |
;; Last edit: 2010-02-12 | |
;; Version: 1.01 |
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
Show: Clojure Java REPL Tooling Duplicates All (0 frames hidden) | |
1. Unhandled java.lang.ClassNotFoundException | |
cemerick.piggieback | |
URLClassLoader.java: 381 java.net.URLClassLoader/findClass | |
DynamicClassLoader.java: 69 clojure.lang.DynamicClassLoader/findClass | |
ClassLoader.java: 424 java.lang.ClassLoader/loadClass | |
DynamicClassLoader.java: 77 clojure.lang.DynamicClassLoader/loadClass |
NewerOlder