Skip to content

Instantly share code, notes, and snippets.

Jay Looney zenware

Block or report user

Report or block zenware

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zenware
zenware / gource.cfg
Last active Mar 5, 2019
I figured out that you can include your options in a configuration file... so that you don't have to have an insanely long command with all of them set.
View gource.cfg
[display]
multi-sampling=true
output-framerate=25
output-ppm-stream=gource.ppm
viewport=1920x1080
[gource]
auto-skip-seconds=1
bloom-intensity=0.25
bloom-multiplier=0.75
View brickerbot.py
if 82 - 82: i1 / Ii11i1iIi - i1IIi1i1iiI
if 84 - 84: IIiIii1iI . Ii % oOoO0Ooo / O0oo / O0oo0OOOOO00
if 49 - 49: o0oooooO / Ii11i1iIi * O0oo
if 21 - 21: Oooo - I11I1Ii
if 39 - 39: i1 . i1IIi1i1iiI - OOOoOooO / o0ooO
if 95 - 95: IIiII - Ii11i1iIi / O0oo0OOOOO00 + o0oooooO
time . sleep ( 3 )
if 20 - 20: Oo0
if 57 - 57: O0oo0OOOOO00 . Oo0 + IIiIii1iI * OOOoOooO . o0ooO * i1
if 93 - 93: Ii11i1iIi - Oo0Oo . Oooo . oOoO0Ooo * IIiII % i1
@zenware
zenware / brickerbot.py
Last active Feb 28, 2018
https://www.snip2code.com/Snippet/3200170/Brickerbot-(http-telnet)-by-Dr-Cyborkian/ -- Brickerbot (http/telnet) by Dr Cyborkian/janit0r: mod_plaintext.py
View brickerbot.py
if 82 - 82: i1 / Ii11i1iIi - i1IIi1i1iiI
if 84 - 84: IIiIii1iI . Ii % oOoO0Ooo / O0oo / O0oo0OOOOO00
if 49 - 49: o0oooooO / Ii11i1iIi * O0oo
if 21 - 21: Oooo - I11I1Ii
if 39 - 39: i1 . i1IIi1i1iiI - OOOoOooO / o0ooO
if 95 - 95: IIiII - Ii11i1iIi / O0oo0OOOOO00 + o0oooooO
time . sleep ( 3 )
if 20 - 20: Oo0
if 57 - 57: O0oo0OOOOO00 . Oo0 + IIiIii1iI * OOOoOooO . o0ooO * i1
if 93 - 93: Ii11i1iIi - Oo0Oo . Oooo . oOoO0Ooo * IIiII % i1
View brickerbot.py
if 82 - 82: i1 / Ii11i1iIi - i1IIi1i1iiI
if 84 - 84: IIiIii1iI . Ii % oOoO0Ooo / O0oo / O0oo0OOOOO00
if 49 - 49: o0oooooO / Ii11i1iIi * O0oo
if 21 - 21: Oooo - I11I1Ii
if 39 - 39: i1 . i1IIi1i1iiI - OOOoOooO / o0ooO
if 95 - 95: IIiII - Ii11i1iIi / O0oo0OOOOO00 + o0oooooO
time . sleep ( 3 )
if 20 - 20: Oo0
if 57 - 57: O0oo0OOOOO00 . Oo0 + IIiIii1iI * OOOoOooO . o0ooO * i1
if 93 - 93: Ii11i1iIi - Oo0Oo . Oooo . oOoO0Ooo * IIiII % i1
@zenware
zenware / school_vs_parent_time.py
Last active Apr 24, 2017
Can someone find more compelling data that shows students spend more time with their parents than with their teachers? Perhaps even with a live data source?
View school_vs_parent_time.py
school_days_per_year = 180 # https://nces.ed.gov/surveys/sass/tables/sass0708_035_s1s.asp - Day & Hour Numbers
hours_per_school_day = 6.5
hours_per_school_year = school_days_per_year * hours_per_school_day
oecd_hours = 6732 # http://www.oecd.org/education/skills-beyond-school/48631122.pdf - Hours for enrolled countries
oecd_start_age = 7
oecd_end_age = 14
oecd_years = oecd_end_age - oecd_start_age
hours_per_oecd_year = oecd_hours / oecd_years
@zenware
zenware / Three Wise Monkeys.md
Last active Mar 22, 2017 — forked from malarkey/Three Wise Monkeys.md
Three Wise Monkeys (NDA)
View Three Wise Monkeys.md

Date: _______

Between us _______________

and you _______________.

Summary:

In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

View letsencrypt-autorenew-cron.sh
#!/bin/sh
# The line above this one basically just indicates that the file is a shell script.
# This script renews all the Let's Encrypt certificates with a validity < 30 days
# This first line is a conditional block it tries to run the program at
# `/opt/letsencrypt/letsencrypt-auto` with the command `renew`
# Earlier in the guide the letsencrypt binaries were installed to opt
# `sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt`
# The `!` at the beginning is a boolean conditional negation operator and in this
View tripwire.php
<?php
/**
* @package Tripwire
* @version 0.1
*/
/*
Plugin Name: Tripwire
Plugin URI: http://wordpress.org/plugins/tripwire/
Description: This plugin creates a checksum of all the files in the Wordpress site root. And alerts the site owner if anything has changed.
Version: 0.1
View hello.php
<?php
/**
* @package Hello_Dolly
* @version 1.6
*/
/*
Plugin Name: Hello Dolly
Plugin URI: http://wordpress.org/plugins/hello-dolly/
Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
Author: Matt Mullenweg
You can’t perform that action at this time.