This file contains hidden or 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
List: | |
... 49535us | |
... 48208us | |
... 48285us | |
... 48101us | |
... 48583us | |
... 47887us | |
... 47908us | |
... 47991us | |
... 48314us |
This file contains hidden or 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
#!/usr/bin/env bash | |
if [ "$TERM" = "linux" ]; then | |
echo -en "\e]P01D2021" #black | |
echo -en "\e]P8928374" #darkgrey | |
echo -en "\e]P1CC241d" #darkred | |
echo -en "\e]P9FB4934" #red | |
echo -en "\e]P298971A" #darkgreen | |
echo -en "\e]PAB8BB26" #green | |
echo -en "\e]P3D79921" #brown |
This file contains hidden or 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
<form method="POST" action="/"> | |
{% if form.errors %} | |
<div> | |
<ul class="errors"> | |
{% for field_name, field_errors in form.errors|dictsort if field_errors %} | |
{% for error in field_errors %} | |
<li>{{ form[field_name].label }}: {{ error }}</li> | |
{% endfor %} | |
{% endfor %} | |
</ul> |
This file contains hidden or 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
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -keyout snakeoil.key -out snakeoil.crt |
This file contains hidden or 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
#!/usr/bin/env python | |
import sys, os | |
from random import randint | |
from cPickle import dump,load | |
REUSE_FILE="round_to_prime.data" | |
MAX_VALUE = 1000 | |
This file contains hidden or 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 | |
umask 027 | |
BASEDIR=/opt/diffdog | |
WORKERS_DIR=$BASEDIR/workers | |
RESULTS_BASEDIR=$BASEDIR/results | |
RECIPIENT="[email protected]" | |
find $WORKERS_DIR -maxdepth 1 -type f -perm -u+rx | while read SCRIPT ; do |