Skip to content

Instantly share code, notes, and snippets.

View henfiber's full-sized avatar

Ilias Ktn henfiber

View GitHub Profile
@henfiber
henfiber / KB-Buying-guide-EU.md
Last active April 8, 2024 16:44
Buying keyboards and keyboard components from EU

Europe

  • SkinFlint : Price comparison site which has some nice filtering options per switch type etc. Searches for offers in UK, Germany, Poland and Austria
  • mykeyboard.eu : Keyboards, keycaps and accessories. Based in Belgium.
  • candykeys.com : European Store selling Vortex, Leopold, KBP, Anne Pro keyboards, keycap sets and components (ISO + ANSI). Based in Germany, ships to EU.
  • falba.tech : custom wooden bamboo cases, and some acrylic and carbon ones. Switch packs (65 browns at 48EUR). Other parts for the GH60, Atreus, ErgoDox. Also Microcontrollers, diodes, leds etc.
  • 42keebs.eu - Mostly PCBs, tools and accessories. Located in Czech Republic.
  • KEYGEM : Switches, Keycaps, lubes, cables, DIY kits and deskmats. Based in Germany, ships to the EU and worldwide.
  • [Eloquent Clicks - Custom Mechanical Keyboard Store](https://www.eloquen
@henfiber
henfiber / patch-notion-enhanced.sh
Created November 3, 2023 21:01
patch-notion-enhanced
#!/bin/bash
function check_root() {
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root!" 1>&2
exit 1
fi
}
function help_menu() {
@henfiber
henfiber / compare_compilers.R
Last active October 5, 2022 08:54 — forked from ronert/compare_compilers.R
Updated combo benchmark (25.R,RevoR,loess,LAPACK benchmarks)
#####################
## Updated and combo benchmark
## Including :
## R-benchmark-25.R from Simon Urbanek
## Revolution Analytics benchmarks : http://www.revolutionanalytics.com/revolution-revor-enterprise-benchmark-details
## Extra benchmarks (loess and eigen)
## LAPACK benchmarks (QR,eigen,cholesky,svd,prcomp,balance,kappa,norm,solve)
## TODO:
## add extra functions like dist() and cluster() - also provided by gputools
## separate the gpu from cpu benchmarks, and the analysis from the benchmark code
@henfiber
henfiber / regex.list
Last active September 15, 2019 22:43
pihol regex suggestions
^(.+[-_.])??adse?rv(er?|ice)?s?[0-9]*[-.]
^(.+[-_.])??ad(choice|sdk)?[0-9]*[-.]
^(.+[-_.])??m?ad[sxv]?[0-9]*[-_.]
^(.+[-_.])??telemetry[-.]
^(.+[-_.])??xn--
^adim(age|g)s?[0-9]*[-_.]
^adtrack(er|ing)?[0-9]*[-.]
^advert(s|is(ing|ements?))?[0-9]*[-_.]
^aff(iliat(es?|ion))?[-.]
^banners?[0-9]+[-.]
@henfiber
henfiber / daemonize_function.sh
Created November 20, 2017 03:10 — forked from javier-lopez/daemonize_function.sh
daemonize sh function
_daemonize()
{ #daemonize an external command
#http://blog.n01se.net/blog-n01se-net-p-145.html
[ -z "${1}" ] && return 1
( # 1. fork, to guarantee the child is not a process
# group leader, necessary for setsid) and have the
# parent exit (to allow control to return to the shell)
# 2. redirect stdin/stdout/stderr before running child
[ -t 0 ] && exec </dev/null
@henfiber
henfiber / config.json
Last active November 22, 2015 12:48 — forked from anonymous/config.json
Bootstrap Config - one-dark balanced - hsl base
{
"vars": {
"@gray-base": "hsl(240,20,0)",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "lighten(#61aeef, 6.5%)",
"@brand-success": "#206B52",
@henfiber
henfiber / config.json
Last active November 22, 2015 00:50 — forked from anonymous/config.json
Bootstrap Config - one-dark
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "lighten(#61aeef, 6.5%)",
"@brand-success": "#206B52",
@henfiber
henfiber / config.json
Last active November 22, 2015 00:50 — forked from anonymous/config.json
Bootstrap Config - one-dark colorful
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "lighten(#61aeef, 6.5%)",
"@brand-success": "#206B52",
#!/bin/sh
TARBALL="sublime_text_3_build_3065_x32.tar.bz2"
TMP_DIR="/tmp/$$"
TARGET="/opt/sublime_text"
LINK=/usr/local/bin/subl
mkdir -p "$TMP_DIR"
if [ ! -f "$TARBALL" ]; then