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 | |
echo i'm a nice shell script! | |
echo i'm updated! | |
echo THIS IS AN EVIL LINE OF CODE | |
echo IF THE LAST ONE WASNT EVIL ENOUGH THIS WILL BE |
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 | |
# Run 'vagrant up' for a Linux box with all necessary tools to compile TPT. | |
# Note: does not yet work! | |
# | |
# Linux | |
# | |
echo "Preparing Linux build environment" | |
# install TPT dependencies and general build tools |
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
// A command system with callbacks that technically can be dynamically added/removed | |
//# gcc -o ristovskithing.exe ristovskithing.c -std=c99 | |
// The above is an inmake command. You can just run it in the shell to compile. | |
// for the ristovski | |
// ~ boxmein 2014 | |
#include <string.h> | |
#include <stdio.h> | |
#include <assert.h> | |
// basically, how long a line can be. let's store the line inside a char*[MAX_LINE] |
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
# Work in Progress | |
# AdolfNumberer.rb | |
# ================ | |
# | |
# I've got too much time on my hands. | |
# This is a script that visits the listing of "What Links Here?" of the Adolf Hitler Wikipedia page, | |
# assigns everything there an Adolf number of 1, then goes through each of those and their backlink | |
# pages, assigns every one of those an Adolf number of 2, on an epic and eternal search for anything | |
# past Adolf number 6. |
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
// Queries the computer for the cpuid bits and tries detailing the results. | |
//# vcvars32 & cl __cpuid.c | |
// See http://msdn.microsoft.com/en-us/library/hskdteyh(v=vs.90).aspx | |
// Not sure what to do for Linux. | |
#include <stdio.h> | |
#include <intrin.h> | |
int main(int argc, char *argv[]) { |
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
// Is the sub-process. Prints out the 'undefined' value of myvalue before it's assigned to. | |
//# gcc -o execl_receiver execl_receiver.c | |
#include <unistd.h> | |
#include <stdio.h> | |
extern char **environ; | |
// hopefully since it has the same memory location perchance it'll keep the value that | |
// last was written to that virtual memory location? | |
char myvalue; |
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
/* | |
extrapolate.js | |
============== | |
A small utility function that allows Ruby-like string extrapolation | |
via #{expr}. Relies on ES5's Array#forEach but is relatively easy | |
to convert not to use it. | |
...that's it, folks! |
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 ruby | |
# | |
# Markov.rb | |
# ========= | |
# | |
# A weighted Markov chain [text] generator implementation in Ruby | |
# Actually works! | |
# | |
# | |
# Usage |
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 ruby | |
# echo yay! you ran inmake on inmake itself in default mode! | |
# Option parsing! | |
require 'optparse' | |
opts = {} | |
OptionParser.new do |parser| | |
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
// Something relating to a falling sand game | |
// | |
// Usage: | |
// | |
// After opening the Processing IDE, copy it into an empty new sketch. | |
// Just as simple as that. | |
// | |
// | |
// Playing: | |
// |