Skip to content

Instantly share code, notes, and snippets.

💥
Computers were a mistake

Eugene Eugeny

💥
Computers were a mistake
View GitHub Profile
@Eugeny
Eugeny / 1.md
Last active May 27, 2019
uBlock filters to remove Booking.com's persuasion bullcrap
View 1.md

Booking.com's Bullshit Blocklist

These uBlock/AdBlock rules prevent Booking.com from psychologically fucking with you by removing the "persuasion messages" such as "bestseller", "just booked by 666 people" and "exceptional price".

View 1.diff
diff --git a/static/app/media/components/mediaFileList.coffee b/static/app/media/components/mediaFileList.coffee
index e04f6cb5..6878bc53 100644
--- a/static/app/media/components/mediaFileList.coffee
+++ b/static/app/media/components/mediaFileList.coffee
@@ -40,7 +40,7 @@ MediaFileListCtrl = ($scope, $q, $timeout, $log, $route, $routeParams, $location
ctrl.storage = $localStorage
ctrl.storage.showDeleted ?= true
ctrl.storage.showUnscannable ?= true
- ctrl.customFieldsMode = 'asset'
+ ctrl.customFieldsMode = 'file'
View strace.txt
This file has been truncated, but you can view the full file.
execve("/usr/bin/electron-installer-flatpak", ["electron-installer-flatpak", "--src", "dist/poopie-linux-x64/", "--arch", "x64", "--config", "config.json"], [/* 103 vars */]) = 0
brk(NULL) = 0x2592000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5f60db5000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=164226, ...}) = 0
mmap(NULL, 164226, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5f60d8c000
close(3) = 0
View 1.pas
uses GraphABC;
uses System.Drawing;
var
w: integer := 640;
h: integer := 480;
c: integer := 0;
begin
SetWindowSize(w, h);
View fix-groups.py
import grp
import os
import sys
import subprocess
root = sys.argv[1]
for project_dir in os.listdir(root):
project_dir = os.path.join(root, project_dir)
for ws_dir in os.listdir(project_dir):
View keybase.md

Keybase proof

I hereby claim:

  • I am eugeny on github.
  • I am eugeny (https://keybase.io/eugeny) on keybase.
  • I have a public key whose fingerprint is F1A5 C116 840C 8DAE 0459 8427 5896 FCBB DD1C F4F4

To claim this, I am signing this object:

@Eugeny
Eugeny / memuse.md
Last active May 4, 2020
memuse - measure a total unique RAM taken by process tree
View memuse.md
View gist:2f962ed55d3efbbf004d
ffprobe version N-67933-gb4d8724 Copyright (c) 2007-2014 the FFmpeg developers
built on Nov 24 2014 11:18:09 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
configuration: --enable-libx264 --enable-libvorbis --enable-libtheora --enable-gpl
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.100 / 56. 15.100
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
View gist:1ef1a2027734b63d46d7
ffprobe version 2.3.git Copyright (c) 2007-2014 the FFmpeg developers
built on Aug 18 2014 23:26:02 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4)
configuration: --enable-libx264 --enable-libvorbis --enable-libtheora --enable-gpl
libavutil 54. 4.100 / 54. 4.100
libavcodec 56. 0.101 / 56. 0.101
libavformat 56. 1.100 / 56. 1.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.100 / 5. 0.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
View gist:2049b75306af4234add5
#tab-headers .active {
background: #8cc63f !important;
}
#tab-headers .active i::before {
color: #eee !important;
}
.ui-tabs-active.ui-state-active {
background: #8cc63f !important;
You can’t perform that action at this time.