Skip to content

Instantly share code, notes, and snippets.

@rux
rux / gist:26b2e3f76e3e6e74f273f0675f344af4
Created June 26, 2019 09:42
Firefox bookmark to remove evil fixed overlays for permissions or newsletter signups
javascript:void([].forEach.call(document.querySelectorAll('body%20*'),e=>/fixed|sticky/.test(getComputedStyle(e).position)&&e.parentNode.removeChild(e))); void(document.getElementsByTagName('html')[0].style.overflow='auto'); void(document.getElementsByTagName('body')[0].style.overflow='auto')
@rux
rux / keybase.md
Created September 26, 2016 02:18

Keybase proof

I hereby claim:

  • I am rux on github.
  • I am ruxor (https://keybase.io/ruxor) on keybase.
  • I have a public key whose fingerprint is 7794 7C5D 7FA6 177C A20B 6DD3 79D1 7827 3545 45C5

To claim this, I am signing this object:

@rux
rux / h2
Last active August 8, 2016 14:02
h2 init script for centos
#!/bin/sh
# This stuff will be ignored by systems that don't use chkconfig.
# chkconfig: 345 87 13
# description: H2 database
# pidfile: /opt/h2/bin/h2.pid
# config:
### BEGIN INIT INFO
# Provides: H2-Server