Skip to content

Instantly share code, notes, and snippets.

View danielmiessler's full-sized avatar
:fishsticks:
Learning and building…

Daniel Miessler 🛡️ danielmiessler

:fishsticks:
Learning and building…
View GitHub Profile
<!--Text-based Social Media Buttons-->
<p>
<!--Facebook-->
<a class="top_social" href="javascript:window.location=%22http://www.facebook.com/sharer.php?u=%22+encodeURIComponent(document.location)+%22&#38;t=%22+encodeURIComponent(document.title)" title="Share on Facebook...">Like</a> |
<!--Google Plus-->
<a href="https://plusone.google.com/_/+1/confirm?hl=en&url=<?php if(is_home()){echo home_url();}else{the_permalink();} ?>" target="_blank" title="Plus one this page on Google">Google +1</a> |
<!--Twitter-->
<a class="top_social" href="javascript:window.location=%22https://twitter.com/share?url=%22+encodeURIComponent(document.location)+%22&text=%22+encodeURIComponent(document.title)">Tweet</a> |
<!--LinkedIn-->
<a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php if(is_home()){echo home_url();}else{the_permalink();} ?>" target="_blank">Share on LinkedIn</a> |
@danielmiessler
danielmiessler / hashes.txt
Created December 27, 2013 05:13
Some hashes and stuff…
bWljaGVsbGU=
c3Vuc2hpbmU=
MTIzNDU2Nzg=
c33367701511b4f6020ec61ded352059
dldlsl202lfl
d56d5687d02684e18f914c497b606595aeb203be
test
5994471abb01112afcc18159f6cc74b4f511b99806da59b3caf5a9c173cacfc5
# Load the theme
if [ "$ZSH_THEME" = "random" ]
then
themes=($ZSH/themes/*zsh-theme)
N=${#themes[@]}
((N=(RANDOM%N)+1))
RANDOM_THEME=${themes[$N]}
source "$RANDOM_THEME"
# echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
else
export LSCOLORS='Exfxcxdxbxegedabagacad'
# Black Perl
BEFOREHAND: close door, each window & exit; wait until time.
open spellbook, study, read (scan, select, tell us);
write it, print the hex while each watches,
reverse its length, write again;
kill spiders, pop them, chop, split, kill them.
unlink arms, shift, wait & listen (listening, wait),
sort the flock (then, warn the "goats" & kill the "sheep");
kill them, dump qualms, shift moralities,
values aside, each one;
@danielmiessler
danielmiessler / diceroller.py
Last active September 27, 2015 10:47
A simple dicerolling program.
class Array
def sum
self.inject{|sum,x| sum + x }
end
end
nod = 10
noc = 1000000
target = 20
rolls = []