Skip to content

Instantly share code, notes, and snippets.

View k0nsl's full-sized avatar
🎯
Focusing

k0nsl k0nsl

🎯
Focusing
View GitHub Profile
@k0nsl
k0nsl / kiwi-reverse-apache2
Created October 4, 2014 13:49
KiwiIRC Apache2 Reverse
NameVirtualHost *
<VirtualHost *>
ServerName talk.k0nsl.org
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://162.218.92.123:PORT/
@k0nsl
k0nsl / keybase.md
Created August 18, 2014 18:23
k0nsl keybase.io

Keybase proof

I hereby claim:

  • I am k0nsl on github.
  • I am k0nsl (https://keybase.io/k0nsl) on keybase.
  • I have a public key whose fingerprint is C5B4 2F8D CDE8 44A2 C8EE 9F84 4288 B825 36A5 6A72

To claim this, I am signing this object:

@k0nsl
k0nsl / jquery-yt-embed.html
Last active August 29, 2015 14:05
Automatically embed YouTube links in phpBB3.
<!--
Embed YouTube links automatically in phpBB3.
Original author: RMcGirr83 ([email protected])
Edited by k0nsl ([email protected])
-->
<script type="text/javascript">
@k0nsl
k0nsl / modPDF.php
Created August 5, 2014 19:25
List files using glob()
<!-- modPDF.php <k0nsl> -->
<div class="maintitle">Recently Added eBooks:</div>
<p><br><center><a href="/?new"><img src="/graphs/My-Ebooks-icon.png" border="0" title="" alt="" /></a></center></p>
<br>
<?php
$show = 10;
$dir = '/home/neophyte/public_html/WNLibrary/Portabel Documents/'; // Leave as blank for current
if($dir) chdir($dir);
[21:39] <r4t> where did k0nsl disappear off to?
[21:39] <r4t> i've been waitin' here for days..
[21:45] <@RaGe[]> lul
[21:46] <r4t> shut up RaGe[]
[22:12] <@RaGe[]> ;>
@k0nsl
k0nsl / kickstarter-compromised
Created February 16, 2014 01:17
I just got this message from the CEO of KickStarter; they’ve been compromised.
On Wednesday night, law enforcement officials contacted Kickstarter and alerted us that hackers had sought and gained unauthorized access to some of our customers’ data. Upon learning this, we immediately closed the security breach and began strengthening security measures throughout the Kickstarter system.
No credit card data of any kind was accessed by hackers. There is no evidence of unauthorized activity of any kind on all but two Kickstarter user accounts.
While no credit card data was accessed, some information about our customers was. Accessed information included usernames, email addresses, mailing addresses, phone numbers, and encrypted passwords. Actual passwords were not revealed, however it is possible for a malicious person with enough computing power to guess and crack an encrypted password, particularly a weak or obvious one.
As a precaution, we strongly recommend that you create a new password for your Kickstarter account, and other accounts where you use this password.
To change your password
@k0nsl
k0nsl / example-output-uptime-php-k0nsl
Created January 3, 2014 04:34
Example output for uptime.php
{"uptime":"37 days","memory":"<div class=\"progress progress-striped active\">\n<div class=\"bar bar-success\" style=\"width:14.9004434122%;\">1129&nbsp;mb<\/div>\n<\/div>","buff":"<div class=\"progress progress-striped active\">\n<div class=\"bar bar-success\" style=\"width:78%;\">5916&nbsp;mb<\/div>\n<\/div>","swap":"<div class=\"progress progress-striped active\">\n<div class=\"bar bar-success\" style=\"width:2%;\">98&nbsp;mb<\/div>\n<\/div>","hdd":"<div class=\"progress progress-striped active\">\n<div class=\"bar bar-success\" style=\"width:25%;\">145.53&nbsp;gb<\/div>\n<\/div>","load":0.2,"online":"<div class=\"progress\">\n<div class=\"bar bar-success\" style=\"width: 100%;\"><small>OK<\/small><\/div>\n<\/div>"}
@k0nsl
k0nsl / the-new-colossus- k0nslified
Created December 26, 2013 17:08
My spoof of "The New Colossus", with a twist of my own "humour"..
<PatrickINIZ> stahp spam
<FreeSpencer> JoeMerit lets get this jhadley vps deal!!!!!
<k0nsl> kk
<k0nsl> sry patrick.
<FreeSpencer> Zigara ban k0nsl
<k0nsl> *gulp*
<k0nsl> you don't like poetry :(
<k0nsl> cruel world.
* FreeSpencer has been kicked by Zigara
* FreeSpencer (~FreeSpenc@unaffiliated/freespencer) has rejoined
@k0nsl
k0nsl / digitalocean-hax-nyc2-benchmark-k0nsl
Created December 26, 2013 16:35
A UnixBench of DigitalOcean (http://knsl.net/25919) nyc2 location.
========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)System: thehax: GNU/Linux
OS: GNU/Linux -- 3.2.0-4-amd64 -- #1 SMP Debian 3.2.41-2+deb7u2
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: QEMU Virtual CPU version 1.0 (4000.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
15:15:07 up 10 days, 20:41, 1 user, load average: 0.18, 0.16, 0.21; runlevel 2
========================================================================
Benchmark Run: Thu Dec 26 2013 15:15:07 - 15:43:02
@k0nsl
k0nsl / vpsdepot-unixbench-k0nsl
Created December 25, 2013 19:46
VPSDepot UnixBench
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark