Skip to content

Instantly share code, notes, and snippets.

@ultimape
ultimape / essential-eris.md
Last active October 30, 2017 01:21
A collection of links I've gathered during my time learning as an intern at Eris Industries

Essential Eris

This is a collection of links I've gathered during my time learning about Eris Industries. I spent a couple months learning to be a marmot during the summer of 2015 and this is a small attempt to share what I learned.

This collection is themed after Eric Elliott's curated list of JavaScript resources. I highly recommend taking a look if you are at all intersted in JavsScript.

While my time as an intern didn't have the outcome I had hoped, I still found a lot of value in working with them. If you find yourself knee deep in marmotology (and the Tao of DAO), may this help you get a head start!

Formalities

#!/bin/perl
# A Perl program to solve the challenge presented at https://www.hackerrank.com/contests/nov13/challenges/utopian-tree
# modified for formatting and spelling mistakes.
# Author: Nicholas Perry
# Scores of entry: https://www.hackerrank.com/challenges/utopian-tree/submissions/code/1442434
# Test Case #0: 0.25s
# Test Case #1: 0.03s
# Test Case #2: 0.03s
@ultimape
ultimape / Makefile.win
Last active November 5, 2015 04:35
A simple matrix like display using console. A project for fun back in 2004 - did it to see how simply I could recreate the effect. Meant to run with custom windows console settings (width,height, and text color). My original exe seems to be flagged as a trojan by microsoft security essentials so I've included the makefile to see if I can recreat…
# Project: Project1
# Makefile created by Dev-C++ 4.9.9.0
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = main.o $(RES)
LINKOBJ = main.o $(RES)
LIBS = -L"G:/Program Files/Dev-Cpp/lib"
@ultimape
ultimape / spamHunter.scala
Created September 13, 2015 21:07
Everything has beginning. A short creative piece intended to be a manifesto of sorts.
/** @note: "I don't know who you are. I don't know what you want.
* If you are looking for a follow back I can tell you I don't have money.
*
* But what I do have are a very particular set of skills.
* Skills I have acquired over a very long career.
* Skills that make me a nightmare for people like you.
*
* If you leave my notifications in peace that'll be the end of it.
* I will not stalk you, I will not analyze your tweets.
* but if keep pinging me, I will grep you, I will block you.
@ultimape
ultimape / vtree.pl
Created May 29, 2015 15:32
A utility to emulate MS-Dos's tree command that I wrote while in college while learning Perl. Caution, may launch all the nukes.
#!/usr/bin/perl
# FILE : vtree
# AUTHOR : Nicholas Perry
# EMAIL : [email protected] (defunct)
# DATE CREATED : 03/08/2005
# DATE MODIFIED : N/A
# DESCRIPTION : Perl: Recursively finds and displays the filetree.
print "\n<INIT: '$0'>\n";
# BEGIN CODE HERE.
@ultimape
ultimape / hope.md
Last active December 28, 2018 00:32
Dear Internet Friend. I made this for you. It might be re-gifted, but I hope you like it anyway. #TMMTO #HOPE
@ultimape
ultimape / Technology Evolution.md
Last active August 29, 2015 14:14
I'm sharing these links with you because they are things that interest us both. they are meant to be watched in sequence, increasingly becoming more specific in different areas around the evolution of ideas.

The last video discusses how being able to watch videos like this is improving the way we spread ideas. All TED talks are cc licence, and you can share them with whoever you want.

Technologies' Epic Story (16.5min) 2009:

  • why technology is important to us.
  • why culture is important for spreading technology.
  • the advantages of technology
  • the disadvantages of technology
; =========================================================================
; PROGRAMMER : Nicholas Perry
; FILE : str_lib.asm
; DATE : 2005-09-06
; SUBJECT : lab#4
; my personal library of string functions I made to help myself in micro course
; =========================================================================
; Declare the C file handling functions.
EXTERN _printf
@ultimape
ultimape / imagePage.bookmarklet.js
Last active August 29, 2015 14:03
An update to an old bookmarklet I found. It scours a page for links to images and creates a new page with the (non-thumb) version of those images. Now compatible with webm. Works great for popular image boards.
javascript:(function(){function I(u){var t=u.split('.'),e=t[t.length-1].toLowerCase();return{gif:1,jpg:1,jpeg:1,png:1,mng:1,webm:1,} [e]} function J(f){if((f.indexOf('thumbs')==-1)&&(f.indexOf("t.4cdn")==-1)){return 1;}else{return 0;}} function hE(s){return s.replace(/&/g,'&').replace(/>/g,'>').replace(/</g,'<').replace(/"/g,'"');} function wrap(href){var t=href.split('.'),e=t[t.length-1].toLowerCase(),s='<p>'+q.innerHTML+' ('+hE(h)+') <br/>';if({webm:1}[e]){s+='<video controls="" loop="" src="'+hE(h)+'" style="max-width: 1280px; max-height: 720px;"></video>';} else{s+='<img style="max-height:690" src="'+hE(h)+'">';} s+='<hr/>';return s;} var q,h,i,z=open().document;z.title="images from "+location.href;z.write('<p>Images linked to by '+hE(location.href)+':</p><hr>');for(i=0;q=document.links[i];++i){h=q.href;if(h&&I(h)&&J(q.innerHTML)) z.write(wrap(h));} z.close();})()
@ultimape
ultimape / SeriesSubjugator.html
Created November 30, 2013 19:27
A specialized player that helps stream youtube series uninterrupted.
<!DOCTYPE html>
<html lang="en" style="width:100%">
<!-- copyright 2013 Nicholas Perry.
released under Creative Commons Attribution-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-sa/3.0/deed.en_US
-->
<!-- used resources from this reference: https://developers.google.com/youtube/js_api_reference-->
<head>
<meta charset="utf-8" />
<title>Series Subjugator</title>