Skip to content

Instantly share code, notes, and snippets.

@schas002
schas002 / README.md
Last active April 10, 2016 11:11
Unipants' Golfing Language.

Unipants' Golfing Language

Unipants' Golfing Language (TODO: choose a better name) is a language inspired by Shifty Eyes.

Instructions

I/O

  • i - input an integer into the stack
@schas002
schas002 / README.md
Created April 16, 2016 11:30
Obviously, an esoteric language.

Obviously

An esoteric language inspired by Seriously.

Syntax

Instructions are single words, either space or newline separated.

Notes

@schas002
schas002 / scene.pov
Last active April 17, 2016 10:22
@schas002 does POV-Ray - scene the first.
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
//--------------------------------------------------------------------------
#include "colors.inc"
#include "textures.inc"
#include "glass.inc"
#include "metals.inc"
#include "golds.inc"
#include "stones.inc"
@schas002
schas002 / scene.pov
Created April 17, 2016 12:06
@schas002 does POV-Ray - scene the second.
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
//--------------------------------------------------------------------------
#include "colors.inc"
#include "textures.inc"
#include "glass.inc"
#include "metals.inc"
#include "golds.inc"
#include "stones.inc"
@schas002
schas002 / scene.pov
Created April 17, 2016 14:41
@schas002 does POV-Ray - scene the third.
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
//--------------------------------------------------------------------------
#include "colors.inc"
#include "textures.inc"
#include "glass.inc"
#include "metals.inc"
#include "golds.inc"
#include "stones.inc"
@schas002
schas002 / README.md
Created April 23, 2016 16:11
Comparison of Stack Exchange privileges before and after graduation.

Comparison of SE privileges before and after graduation

Privilege name Beta Grad
create posts 1 1
participate in meta 5 5
create wiki posts 10 10
remove new user restrictions 10 10
vote up 15 15
flag posts 15 15
@schas002
schas002 / pfxcalc.py
Last active June 18, 2016 18:10
Pfxcalc, a prefix notation calculator.
"""
Pfxcalc
Programmed by zyabin101
This code is hereby released into the public domain
"""
import ast
def lit_input(prompt):
"""
@schas002
schas002 / g.py
Last active July 18, 2016 11:24
A golfing "framework" for Python.
stack = []
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15
G = 16
H = 17
@schas002
schas002 / rn.js
Last active December 28, 2016 17:17
A multiply-with-carry random number generator in JavaScript.
/**
A multiply-with-carry random number generator in JavaScript in one line. Returns an uniform value in [0, 1).
zlib License
(C) 2016 Andrew Zyabin
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@schas002
schas002 / README.md
Created February 3, 2017 08:44
Stripping Atom core packages

Stripping Atom core packages

73 to 14 in a few minutes

Date: 2017-02-03


While choosing plugins for Textarea Editor, which by that time was still ignored (100 views is an okay amount, but 8 unique viewers?! and no plugins at all!) I picked an Atom v0.187.0 install.