Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am xse on github.
  • I am xse (https://keybase.io/xse) on keybase.
  • I have a public key whose fingerprint is E1E0 FBD1 EA09 F92D 3108 DD0C 0267 79FA 13A8 6399

To claim this, I am signing this object:

@xse
xse / check_choco.sh
Created February 21, 2018 18:07
check chocolatey main package feed ( web & cli ) every 5 minutes
#
# check_choco.sh : check website and cli every 5 minutes for "0 packages found" and log errors
#
# requierements : - bash shell used by git on windows
# - a "logs" folder in the same directory with this script
#
# outputs : - cli outputs only if errors
# - errors logfile : check_choco.log
# - website page dump and/or cli --trace dump in "logs" folder only if errors
#
@xse
xse / check_choco.log
Created February 23, 2018 17:18
check_choco.sh from UTC:2018-02-21_19:16:56 to UTC:2018-02-23_16:39:47 :
Elouan@windaube MINGW64 ~/Desktop/dev/check_choco
$ bash check_choco.sh f.lux choco firefox
[UTC:2018-02-22_01:42:14][website] 0 packages found for "choco" ! (You are on web.1.) see html page logs/2018-02-22_01:42:15_choco_error.html
[UTC:2018-02-22_01:47:49][website] 0 packages found for "choco" ! (You are on web.3.) see html page logs/2018-02-22_01:47:49_choco_error.html
[UTC:2018-02-22_06:14:25][website] 0 packages found for "f.lux" ! (You are on web.3.) see html page logs/2018-02-22_06:14:25_f.lux_error.html
[UTC:2018-02-22_06:19:59][website] 0 packages found for "firefox" ! (You are on web.3.) see html page logs/2018-02-22_06:19:59_firefox_error.html
[UTC:2018-02-22_06:25:05][website] 0 packages found for "f.lux" ! (You are on web.3.) see html page logs/2018-02-22_06:25:05_f.lux_error.html
[UTC:2018-02-22_06:25:19][website] 0 packages found for "firefox" ! (You are on web.3.) see html page logs/2018-02-22_06:25:19_firefox_error.html
[UTC:2018-02-22_06:41:05][website] 0 packages found for "f.lux" ! (You a
;
; /etc/resolv.conf
; Compiled by Chris Hills (chaz@chaz6.com)
;
; This list can be obtained from the following locations:-
; - http://www.chaz6.com/files/resolv.conf
; - http://gitorious.org/chaz6/chaz6-dns-caches
; - git://gitorious.org/chaz6/chaz6-dns-caches.git
;
; Note 1: Having many nameservers defined can significantly slow down your
root@krkrkr ~ # nft list set inet filter blackhole
table inet filter {
set blackhole {
type ipv4_addr
elements = { 42.42.42.42, 43.43.43.43 }
}
}
root@krkrkr ~ # nft flush set inet filter blackhole
Error: Could not process rule: Invalid argument
flush set inet filter blackhole
@xse
xse / flac2ygg.sh
Last active March 3, 2019 04:07
cygwin version flac2ygg
#!/usr/bin/env bash
# requirements: bc, openssl, ffprobe, curl, sox, imagemagick, mktorrent
#set -xe
#TODO:
# -stop using opennsl
# -check imgur status
# -error checking in general
# -worth using ? VA_details=$(IFS=", " ; echo "${TAGS_ARTIST[*]}")
@xse
xse / error.log
Created April 10, 2019 16:08
puppeteer issue #4197
xse@krkrkr ~/dev/suzie3 (git)-[master] % clear && DEBUG="*" node suzie3.js :(
warning DEBUG is set, available namespaces are: database,discord,event,browser,browser:xhr,browser:ws
discord Authenticated using token [edited] +0ms
database BEGIN TRANSACTION;
database
database CREATE TABLE IF NOT EXISTS sectors (
database sector_id integer NOT NULL PRIMARY KEY,
database era integer NOT NULL,
database x integer NOT NULL,
database y integer NOT NULL,
execve("kcgi/regress/test-fcgi-abort-validator", ["kcgi/regress/test-fcgi-abort-val"...], 0x7ee65584 /* 34 vars */) = 0
brk(NULL) = 0x1735000
uname({sysname="Linux", nodename="rpi", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34605, ...}) = 0
mmap2(NULL, 34605, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76fa1000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libcurl.so.4", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0@\202\0\0004\0\0\0"..., 512) = 512
execve("regress/test-fcgi-abort-validator", ["regress/test-fcgi-abort-validato"...], 0x7ed6c584 /* 34 vars */) = 0
brk(NULL) = 0x1dac000
uname({sysname="Linux", nodename="rpi", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34605, ...}) = 0
mmap2(NULL, 34605, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f63000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libcurl.so.4", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0@\202\0\0004\0\0\0"..., 512) = 512
@xse
xse / 3
Created October 18, 2019 19:28
execve("regress/test-fcgi-abort-validator", ["regress/test-fcgi-abort-validato"...], 0x7e9c4584 /* 34 vars */) = 0
brk(NULL) = 0x1277000
uname({sysname="Linux", nodename="rpi", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34605, ...}) = 0
mmap2(NULL, 34605, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f52000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libcurl.so.4", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0@\202\0\0004\0\0\0"..., 512) = 512