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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<title>Zalgo Text Generator by Tchouky - | |
To invoke the hive-mind representing chaos. | |
Invoking the feeling of chaos. | |
With out order. | |
The Nezperdian hive-mind of chaos. Zalgo. | |
He who Waits Behind The Wall. | |
ZALGO! |
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
import itertools | |
from minisat_model import * | |
class Intervalled(object): | |
def __init__(self, domain, *args): | |
self.domain = domain | |
self.full_name = ('_'.join(('{}',) * (len(args) + 1))).format(*args, id(self)) | |
self.interval = Interval(self.full_name, domain.t_start, domain.t_end) |
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
package mods.eln.misc | |
import java.time.Year | |
data class Vec3f(var x: Double, var y: Double, var z: Double) { | |
val ZERO = Vec3f(0.0, 0.0, 0.0) | |
val ONE = Vec3f(1.0, 1.0, 1.0) | |
val AXIS_X = Vec3f(1.0, 0.0, 0.0) | |
val AXIS_Y = Vec3f(0.0, 1.0, 0.0) | |
val AXIS_Z = Vec3f(0.0, 0.0, 1.0) |
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
class NamedSingletonMeta(type): | |
def __new__(mcs, name, bases, dict): | |
tp = type.__new__(mcs, name, bases, dict) | |
if name != 'NamedSingletonBase': | |
tp._instances = {} | |
return tp | |
def __getitem__(self, i): | |
return self._instances[i] |
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
execute pathogen#infect() | |
filetype indent plugin on | |
set cul nojs smc=50000 sts=4 ts=4 sw=4 nu hls is ai si ru sc mouse=a fo=cqnj flp=\\v^\\s*(-\|\\*\|\\d+[\\]:.)}\\t\ ])\\s* | |
set statusline=%f%m%r%h\ [%L]\ [%{&ff}]\ %y%=[%p%%]\ [%05l,%c-%v] | |
au ColorScheme * hi CursorLine cterm=none | |
au ColorScheme * hi CursorLineNr cterm=bold ctermfg=37 guifg=#00afaf | |
if exists("g:tridactyl_editor") | |
au ColorScheme * hi StatusLine ctermbg=20 ctermfg=7 | |
au ColorScheme * hi StatusLineNC ctermbg=4 ctermfg=0 | |
else |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/time.h> | |
#include <sys/stat.h> |
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
import nbt, sys | |
if len(sys.argv) > 1: | |
f = open(sys.argv[1], 'rb') | |
else: | |
f = sys.stdin | |
n = nbt.nbt.NBTFile(fileobj = f) | |
pal = {v.value: v.name.partition('[')[0] for v in n['Palette'].values()} |
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
# en_US, but with ISO8601 timestamps and 24-hour time, | |
# by Grissess. | |
# I, mentioned, claim no copyright in this work. | |
# Put this in your archive with: | |
# localdef -f UTF-8 -i en_US@grissess en_US.utf8@grissess | |
# (assuming you've installed everything according to the paths listed by | |
# localedef --help) | |
LC_IDENTIFICATION |
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 | |
smartctl="${SMARTCTL:-smartctl}" | |
dialog="${DIALOG:-dialog}" | |
jq="${JQ:-jq}" | |
# Debian workaround | |
blockdev="${BLOCKDEV:-$(PATH="$PATH:/sbin:/usr/sbin" which blockdev)}" | |
sce_parse_bit=1 | |
sce_open_bit=2 |
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
import random | |
import os | |
import traceback | |
import sys | |
import ast | |
from random import randrange | |
from myhdl import block, always_comb, always_seq, always, \ | |
Signal, ResetSignal, intbv, modbv, delay, instance, \ | |
now, enum, bin |