Skip to content

Instantly share code, notes, and snippets.

@ultimape
ultimape / i_break_ide.c
Last active November 28, 2018 02:58
hightlighting bug test
/* Highlighting Bug Test Code
* 2009 Nicholas Perry
*/
/*
(Feel free to use this as you want, I'm calling it public domain.)
I was messing around with code highlighting engines.
This should compile and print out a message in any valid c-programming compiler.
Although it won't look like it would in nearly every code highlighting environment or IDE.
@ultimape
ultimape / newMONC.bat
Created November 6, 2012 22:56
newMONC - new Minecraft Offline Name Changer
@echo off
REM Minecraft Name Changer
echo.
echo **************************************************
echo * newMONC *
echo * new Minecraft Offline Name Changer *
echo **************************************************
echo.
echo Play on SMP LAN when minecraft.net is down,
echo or when you don't have internet.
@ultimape
ultimape / nperry_resume.html
Last active June 10, 2021 23:08
I developed a 1-page resume completely out of HTML and CSS by hand. Can be viewed live @ http://praetorlabs.com/profile/nperry/resume/ Features include: it looks like a piece of paper when viewed in a modern browser, and it prints out on one sheet. It also has open-graph meta tags so it shows up correctly when shared on social networks. It valid…
<!DOCTYPE html>
<html lang="en">
<!--
One Page HTML/CSS resume design, copyright 2014 Nicholas Perry.
Structure and design of HTML and CSS released under Creative Commons Attribution-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-sa/3.0/deed.en_US
Personal Content is used as exmaple, but is not licensed for re-use, please update all content (including meta tags) before republish/reuse.
For inquerys, contact nicholas.t.perry at gmail.com and refer to this gist: https://gist.github.com/4509098.
Please do not remove this copyright notice and include a note on modifications if you choose to use this for your own resume.
-->
@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>
@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();})()
; =========================================================================
; 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 / 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
@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 / 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 : nperry@morning.ecet.vtc.edu (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 / 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.