Skip to content

Instantly share code, notes, and snippets.

Ian Eure ieure

Block or report user

Report or block ieure

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wtd.el
(defun window-toggle-dedicated (&optional window)
"Toggle the dedicated flag on a window."
(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)
View gist:25b521078bd1f34974489ff02498c93c
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
View gist:35ae502cdbe385b230c61d5e94a0d389
Show: Clojure Java REPL Tooling Duplicates All (0 frames hidden)
1. Unhandled java.lang.ClassNotFoundException
cemerick.piggieback 381 69 clojure.lang.DynamicClassLoader/findClass 424 java.lang.ClassLoader/loadClass 77 clojure.lang.DynamicClassLoader/loadClass
View home-rue
proton!ieure:~$ brew update
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/ line 13: /usr/local/Library/ENV/scm/git: No such file or directory
View gist:6cea2741c172cb4fd395
View US.Presidential.Debates.2015.11.14.Third.Democratic.Primary.Debate.720p.CBS.WEBRip.AAC2.0.H.264 monkee.nfo
Unique ID : 146393860341051264709134238968616771946 (0x6E226E92FFC12B8966E47A1EBF5EE16A)
Complete name : US.Presidential.Debates.2015.11.14.Third.Democratic.Primary.Debate.720p.CBS.WEBRip.AAC2.0.H.264 monkee.mkv
Format : Matroska
Format version : Version 2
File size : 2.66 GiB
Duration : 1h 38mn
Overall bit rate : 3 868 Kbps
Writing application : Lavf54.63.104
Writing library : Lavf54.63.104
View gist:009dd43a186c50d882dc
ERC> /nick igruer
*** Nickname cannot change nick!!! is temporarily unavailable, trying cannot change nick!!!`
*** Nickname cannot change nick!!! is temporarily unavailable, try another.
< cannot change nick!!!`> what the fuck is this shit
< cannot change nick!!!`> ....
View gist:782495cc5a4b954565ad
<SchemaCzar> CHALLENGE QUESTION: what is the precision of a timestamp without time zone ?
<ieure> SchemaCzar, Nanoseconds.
<ieure> SchemaCzar, I know this because JVM timestamps only support milliseconds. So if you have a psql TS column and move that data into the JVM, you lose precision.
<ieure> And this caused Bugs
<SchemaCzar> and I'm trying to use that point to convince my team to convert from timestamp with no time zone to timestamp with time zone
<ieure> SchemaCzar, You're the fucking Schema Czar. Just change it.
View gist:9f32c1037e1ff74e2ca7
I showed Tim around. Ordination certificates. Membership cards. Nearly
completed mechanicals for the cover of the Neo-American Church
Catechism and Handbook. Michael had just done his original drawing of
The Great Seal, showing a three-eyed toad with the motto “Victory Over
Horseshit” below it, and Wendy was whiting out ink spots and smudges.
“I don’t like your motto, Art,” Tim said, looking over her
shoulder. “Victory? Over? Horseshit?”
“What’s wrong with that?” I asked.
View gist:66d73d60ae085be91109
fermion!ieure:/tmp/hamms$ pip install hamms
Downloading/unpacking hamms
Downloading hamms-1.3.tar.gz
Running egg_info for package hamms
Downloading/unpacking flask (from hamms)
Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded
Running egg_info for package flask
warning: no files found matching '*' under directory 'tests'
You can’t perform that action at this time.