- AGB-001
- ASS101 screen
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
# -*- coding: utf-8 -*- | |
# Original by reddit.com/u/nomansuniverse. | |
# Threaded version by yours truly. | |
from __future__ import print_function | |
from multiprocessing.pool import ThreadPool | |
import argparse | |
import filecmp | |
import glob |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>MathJax Dynamic Math Test Page</title> | |
<!-- Copyright (c) 2010-2015 The MathJax Consortium --> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
#String utility functions (yes, functions)
version: 1.03
author: Simon de Turck
email: [email protected]
This utility:
- is created for use in Symphony-CMS. The XSLT-powered open source content management system.
- uses some EXSLT that is supported in libxslt 1.0.19 and later
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
# -*- coding: utf-8 -*- | |
# version 1.0 | |
import os | |
import sys | |
import argparse | |
import math | |
import numpy | |
if not sys.version_info[:2] == (2, 7): |
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/bash | |
default='\033[0m' | |
green='\033[32m' #color a | |
blue='\033[34m' #color b | |
red='\033[91m' #color c | |
yellow='\033[33m' #color e | |
function quit { | |
echo -e "${default}" |
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/python | |
# -*- coding: utf-8 -*- | |
import argparse | |
import os | |
import random | |
import string | |
import tempfile | |
import binascii | |
import sys | |
import subprocess |
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/bash | |
dd if=/dev/zero of=zero.small.file bs=1024 count=102400 | |
cat /dev/zero > zero.file | |
rm zero.small.file | |
rm zero.file |
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/bash | |
# ---------- | |
# This script uses HandBrakeCLI to convert any mkv x264 video to 8-bit (high @ 4.1 Profile) | |
# and this only when needed!! | |
#----------- | |
# based on the script by enolive located here http://pastebin.com/2rCh13Pk | |
# ---------- | |
# Needed tools: | |
# HandBrakeCLI get it here http://handbrake.fr/downloads2.php | |
# MKVToolNix get https://www.bunkus.org/videotools/mkvtoolnix/downloads.html |