Skip to content

Instantly share code, notes, and snippets.

View geeknik's full-sized avatar
🏠
Yeetin' bugs into the void!#%

geeknik geeknik

🏠
Yeetin' bugs into the void!#%
View GitHub Profile
@geeknik
geeknik / rules-both.iptables
Created September 2, 2018 01:38 — forked from jirutka/rules-both.iptables
Basic iptables template for ordinary servers (both IPv4 and IPv6)
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <[email protected]>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
#!/bin/bash
cores=$1
inputdir=$2
outputdir=$3
pids=""
total=`ls $inputdir | wc -l`
for k in `seq 1 $cores $total`
do
@geeknik
geeknik / redshift.config
Last active October 20, 2017 01:59
my redshift config
[redshift]
temp-day=6500K
temp-night=4750K
transition=1
gamma=1.0
brightness-day=1.0
brightness-night=0.8
location-provider=geoclue2
adjustment-method=vidmode
[manual]

Keybase proof

I hereby claim:

  • I am geeknik on github.
  • I am geeknik (https://keybase.io/geeknik) on keybase.
  • I have a public key whose fingerprint is CA3A 25E9 938B 7FA3 6294 D815 3587 0006 3B69 2412

To claim this, I am signing this object:

@geeknik
geeknik / gist:96f5a5851e87b3884272
Created July 22, 2014 21:41
Karma Blocker Default Rules
# This is a ruleset configuration for Karma Blocker. For more information, see:
# http://trac.arantius.com/wiki/Extensions/KarmaBlocker
# This default ruleset is intended to be demonstrative: making productive
# use of all the features that the Karma Blocker rule syntax provides. It
# should generally work, but it has intentionally not been tweaked to deal
# with the particulars of any given site. All rules here are intended to
# explain what can be done, and how it can be done, while remaining as
# generic as possible, with limited exceptions. You the user are expected
# to tweak and customize these rules.