Skip to content

Instantly share code, notes, and snippets.

int main() {
// So this is my main function
// it gets called automatically, but otherwise its no different then any other function
int number_of_tates = 0; // I take inspiration from my enviroment ;)
number_of_tates = work_on_song(number_of_tates); // Now I'm going to call my function, which I define down below.
// It takes an integer, the old amount, and returns an integer (the new amount).
// After calling the function, I assign it to the variable "number_of_tates",
int main() {
// So this is my main function
// it gets called automatically, but otherwise its no different then any other function
int number_of_tates = 0; // I take inspiration from my enviroment ;)
number_of_tates = work_on_song(number_of_tates); // Now I'm going to call my function, which I define down below.
// It takes an integer, the old amount, and returns an integer (the new amount).
// After calling the function, I assign it to the variable "number_of_tates",
int main() {
// So this is my main function
// it gets called automatically, but otherwise its no different then any other function
int number_of_tates = 0; // I take inspiration from my enviroment ;)
number_of_tates = work_on_song(number_of_tates); // Now I'm going to call my function, which I define down below.
// It takes an integer, the old amount, and returns an integer (the new amount).
// After calling the function, I assign it to the variable "number_of_tates",
// overwriting the old value.
@nightpool
nightpool / ColorConversationPlugin.java
Created March 25, 2014 05:56
Test plugin for BUKKIT-5487
package net.nightpool.bukkit.ccp;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.conversations.Conversable;
import org.bukkit.conversations.Conversation;
import org.bukkit.conversations.ConversationAbandonedEvent;
import org.bukkit.conversations.ConversationContext;
import org.bukkit.conversations.Prompt;
@nightpool
nightpool / tempate.xml
Created May 2, 2014 20:44
Bukkit template pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>{{package name}}</groupId>
<artifactId>{{name}}</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name></name>
<description></description>
<repositories>
<repository>
@nightpool
nightpool / app.rb
Created March 13, 2015 21:45
sinatra template
#!/usr/local/ruby/bin/ruby
ENV['HOME'] = "/home/USER"
rb_log = File.open('../cgi.log', 'a')
STDERR.reopen rb_log
STDERR.puts ENV.inspect
require 'rubygems'
require 'rack'
@nightpool
nightpool / tumblr_splashes.js
Last active August 29, 2015 14:19
Tumblr Splashes
//* TITLE tumblr splashes **//
//* VERSION 0.1 **//
//* DESCRIPTION Random splashes! **//
//* DEVELOPER nightpool42 **//
//* DETAILS Replaces the Nike ad with random splashes from minecraft and homestuck **//
//* FRAME false **//
//* BETA false **//
/* (c) 2015 nightpool42
Code licensed under the GPLv3
import argparse
parser = argparse.ArgumentParser(description='maizzle izzle ain\'tizzle beizzle lostizzle.\
Itizzle justizzle tookizzle itselfizzle onizzle aizzle breakizzle \
tizzle Newizzle Yorkizzle tizzle seeizzle thizzle bigizzle cityizzle')
parser.add_argument('izzleitup', default='fo shiz', help='You best be needin\' a lot of it.', nargs='*')
parser.add_argument('-d', '--debug', action='count', help='various debug shizzle')
args=parser.parse_args()
if(args.debug>0){
[Adblock Plus 2.3.1]
! Title: block genius chat
genius.com###chat
|http://*.genius.com/chat
({"refreshMillis":60000,
"allowFuture":false,
"strings": {
"prefixAgo":null,
"prefixFromNow":null,
"suffixAgo":"",
"suffixFromNow":"from now",
"seconds":"now",
"minute":"it's been a minute",
"minutes":"%d minutes ago",