A Pen by Jay Looney on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Automatically setup vim-plug if it doesn't exist | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall | |
endif | |
let s:cache_dir = get({}, 'cache_dir', '~/.nvim/cache') | |
function! s:get_cache_dir(suffix) |
Since this is on Hacker News and reddit...
- No, I don't distribute my résumé like this. A friend of mine made a joke about me being the kind of person who would do this, so I did (the link on that page was added later). My actual résumé is a good bit crazier.
- I apologize for the use of
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries". - Since people kept complaining, I've fixed the assignments of string literals to non-const
char *
s. - My use of
type * name
, however, is entirely intentional. - If you're using an older compiler, you might have trouble with the anonymous unions and the designated initializers - I think gcc 4.4 requires some extra braces to get them working together. Anything reasonably recent should work fine. Clang and gcc (newer than 4.4, at le
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Enter your desired user name: " | |
read USERNAME | |
echo "Enter a full name for this user: " | |
read FULLNAME | |
echo "Enter a password for this user: " | |
read -s PASSWORD |