Skip to content

Instantly share code, notes, and snippets.

👶
Clearly a random human

Aurélien Ooms aureooms

👶
Clearly a random human
Block or report user

Report or block aureooms

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
@aureooms
aureooms / cookie.js
Created May 24, 2019
Attempt at querying the TP-link Archer C3200 API
View cookie.js
@aureooms
aureooms / ap.service
Created May 20, 2019
Service to create an access point
View ap.service
# /etc/systemd/system/ap.service
[Unit]
Description=Access point daemon
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/create_ap --config /etc/create_ap.conf
KillSignal=SIGINT
@aureooms
aureooms / gist:2c67b28ebec7fc66a0690b7862e8b700
Last active Jan 28, 2019
Stack Exchangle ublock Origin blocklist
View gist:2c67b28ebec7fc66a0690b7862e8b700
! SE
###hot-network-questions
###chat-feature
###newsletter-ad
##.community-bulletin.module
##.js-secondary-topbar-links
###announcement-banner
@aureooms
aureooms / .bash_aliases
Created Jan 20, 2019
vacuum command for apt
View .bash_aliases
alias vacuum='sudo apt autoremove --purge'
@aureooms
aureooms / storage.js
Created Jan 22, 2018
Tridactyl config
View storage.js
{
"state": {
"mode": "normal",
"last_ex_str": "",
"cmdHistory": []
},
"userconfig": {
"searchurls": {
"g": "https://google.com/search?q=",
"w": "https://en.wikipedia.org/w/index.php?search=",
@aureooms
aureooms / config.json
Last active Nov 10, 2017
vim-vixen config file
View config.json
{
"keymaps": {
"0": { "type": "scroll.home" },
":": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
@aureooms
aureooms / postsynchook
Created May 14, 2017
OfflineIMAP hooks for abunchoftags
View postsynchook
#!/usr/bin/env sh
ALLMAILQUERY='( is:spam OR NOT is:spam ) AND ( is:deleted OR NOT is:deleted ) AND ( is:muted OR NOT is:muted )'
CACHE="$HOME/.cache/keywsync"
BEFORE="$CACHE/before"
STATE="$CACHE/state"
state=$(cat $STATE)
# Run notmuch new to detect any new or deleted files, or and renames.
@aureooms
aureooms / mirrorlist
Created Jan 30, 2017
Mirror list for Brussels
View mirrorlist
# Server list generated by rankmirrors on 2016-01-19
Server = http://mir.archlinux.fr/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = https://k42.ch/mirror/archlinux/$repo/os/$arch
Server = https://mirror.compojoom.com/archlinux/$repo/os/$arch
Server = https://mirror.fluxent.de/archlinux/$repo/os/$arch
Server = https://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch
Server = https://mirror.bitjungle.info/archlinux/$repo/os/$arch
@aureooms
aureooms / apt-get.sh
Last active Aug 31, 2016
Software for Ubuntu
View apt-get.sh
#!/usr/bin/env sh
# UPDATE
apt-get update -y
apt-get upgrade -y
# PACKAGES
@aureooms
aureooms / sort.py
Last active Jun 29, 2016
Sort images based on ratio for printing
View sort.py
import os
import sys
import shutil
from PIL import Image
os.makedirs( '3_2' , exist_ok = True )
os.makedirs( '4_3' , exist_ok = True )
os.makedirs( 'unk' , exist_ok = True )
You can’t perform that action at this time.