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
import random | |
import sys | |
import argparse | |
#Characters | |
superscript = [ | |
"\u030d", "\u030e", "\u0304", "\u0305", "\u033f", | |
"\u0311", "\u0306", "\u0310", "\u0352", "\u0357", | |
"\u0351", "\u0307", "\u0308", "\u030a", "\u0342", | |
"\u0343", "\u0344", "\u034a", "\u034b", "\u034c", |
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
# Convert the note on/off events to frequency/duration pair | |
# 1. Create the midi notes2frequency table. Tuning is based upon A=440 | |
my $a = 440; # a is 440 hz... | |
my @midi; | |
for($x = 0; $x < 127; ++$x) | |
{ | |
$midi[$x] = ($a / 32) * (2 ** (($x - 9) / 12)); | |
} | |
# 2. Parse the channel events |
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
import com.sun.image.codec.jpeg.*; | |
PImage img; | |
int numberOfFrames = 600; | |
void setup() | |
{ | |
size(1024,768); | |
} | |
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
#!/usr/bin/python | |
import sys | |
import Image | |
from midiutil.MidiGenerator import MidiGenerator | |
from midiutil.TrackGen import LoopingArray | |
filename = sys.argv[1] | |
midifilename = filename[0:filename.find('.')]+'.midi' |
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
[X] Invalid | |
[.] Untried | |
[?] Unknown | |
[V] OK | |
WARNING: I will not provide any part of archive under any circumstances. Do not ask for it. | |
WARNING: When the password is found, this Gist will be deleted in 30 seconds. | |
eqgrp-free-file.tar.xz.gpg | |
[X] equationgroup | |
[V] theequationgroup |
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
#include <Windows.h> | |
#include <stdio.h> | |
#include "resource.h" | |
EXTERN_C IMAGE_DOS_HEADER __ImageBase; | |
DWORD WINAPI soundThread(LPVOID parameter); | |
int random(); | |
BOOL endofsound = FALSE; |
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
! NMOMB list by Torbjorn | |
coin-hive.com | |
coinhive.com | |
*.jsecoin.com | |
cnhv.co | |
gus.host/coins.js | |
miner.pr0gramm.com/cryptonight-worker.js | |
minemytraffic.com | |
ppoi.org | |
projectpoi.com |
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
<!DOCTYPE html> | |
<meta name="robots" content="noindex"> | |
<html><head> | |
<title>Obfuscated name remapper</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<style type="text/css"> | |
body { | |
background: white; | |
color: black; | |
font-family: "Trebuchet MS",Helvetica,Tahoma,Arial,sans-serif; |
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
<!DOCTYPE html> | |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<style> | |
body { | |
background: repeat url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/7QCIUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGscAVoAAxslRxwCAAACAAAcAnQAV8KpIENoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbGQgLSBodHRwOi8vd3d3LnJlZGJ1YmJsZS5jb20vcGVvcGxlL0NoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAA |
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 | |
/* | |
This is an update of https://wordpress.org/plugins/tumblr-importer/ that fixes several issues: | |
- do not skip posts without title/content | |
- when importing 1 image import it as a WP type image instead of gallery | |
- when importing images, import first image as a post's featured image | |
Plugin Name: Tumblr Importer | |
Plugin URI: http://wordpress.org/extend/plugins/tumblr-importer/ |
OlderNewer