Skip to content

Instantly share code, notes, and snippets.

View k0nsl's full-sized avatar
🎯
Focusing

k0nsl k0nsl

🎯
Focusing
View GitHub Profile
@k0nsl
k0nsl / blast-from-the-past.txt
Created January 7, 2016 20:15
A blast from the past. This is from the time when Irving originally caved in after his arrest in Austria. - HAC.
THE BALLAD OF DAVID "BLACKADDER" IRVING
(sung to the theme song of "Black Adder")
From some gormless public school,
Came forth Revision's brightest scholar,
Toffee-nosed, but he's no fool,
He raked in quids and marks and dollars!
Dave Irving, Dave Irving,
With nothing left to lose,
@k0nsl
k0nsl / nginx-reverse-proxy
Last active February 20, 2016 12:57
nginx reverse proxy.
server {
listen 209.141.39.33:80;
server_name 60ych.net;
return 301 $scheme://redacted/;
}
server {
listen 209.141.39.33:80;
root /usr/share/nginx/betachat;
<akcom> benito, are you suggesting hte American government was not content with killing a couple people and instead, in their murderous rage, wanted to kill as many Ameican citizens as possible?
<benito> this wasn't about killing as many people as possible. A bit deeper than that. You probably know that, I suspect so.
<Digerati> He knows we're in on the Jewish conspiracy, akcom :x
<Digerati> Abort! Abort!
<akcom> hahaha
<benito> heh.
<akcom> benito, then it seems there would be no reason to demolition the building instead of just flying planes into it
<akcom> would you agree?
<benito> You're funny, Kravetz.
<akcom> You sir, are even funnier :)
@k0nsl
k0nsl / horst-mahler-bank.txt
Created September 28, 2015 18:11
Horst Mahler bank account details.
Recipient: HORST MAHLER
Address: see below
IBAN: DE12 10090 00051 9471 9002
BIC: BEVODEBBXXX
Purpose: UMBAU for disabled
Alternative: International Money order to:
HORST MAHLER, Weidenbusch 13, D-14532 Kleinmachnow
@k0nsl
k0nsl / illegal-poem.sql
Created February 25, 2015 15:32
Illegal Poem.
INSERT INTO phpbb_posts_text (post_id, bbcode_uid, post_subject, post_text) VALUES('351', '80a227b68d', 'Illegal Poem : For The Alien In Your Life ; Unknown', 'Don\'t ban me it\'s just a little poem :D
[list:80a227b68d]
Poetry -- ILLEGAL POEM
I cross ocean,
poor and broke,
Take bus,
see employment folk.
Nice man treat me
@k0nsl
k0nsl / bench-with-cpu.sh
Last active July 7, 2020 23:24
bench-with-cpu.sh
Pleaase use this in the future:
https://raw.githubusercontent.com/k0nsl/k0nsl-misc/master/bench.sh
@k0nsl
k0nsl / hook_stop_forumspam.php
Created February 11, 2015 15:02
A hook to query if an IP is located in the database of stopforumspam.com
<?php
/**
* Copyright (C) 2013 by k0nsl ([email protected])
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
@k0nsl
k0nsl / php-ping.php
Created January 21, 2015 17:19
PHP ping script
<?php
/*
*
* Use the examples below to add your own servers. Coded by clone1018 [?]
*
*/
$title = "Simple Server Status"; // website's title
$servers = array(
'Google Web Search' => array(
#!/bin/bash
#Mirror: https://k0nsl.org/blog/snippets/bench-cpu-sh/
#Installation von BC
apt-get install bc -y
#Infos über System
cname=$( awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo )
cores=$( awk -F: '/model name/ {core++} END {print core}' /proc/cpuinfo )
@k0nsl
k0nsl / blergh
Last active August 29, 2015 14:08
blergh
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse