Roses are red, Voilets are red, Trees are red, Your garden's on fire.
This file contains 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
DOCTYPE? HTML | |
<html> | |
<head> | |
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> | |
<script> | |
$("#go").click(function() { | |
var iframe = $("#ifm"); | |
var url = $('#urlbar').val(); | |
$("iframe").attr("src", url); | |
</head> |
This file contains 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
int incomingByte = 0; // for incoming serial data | |
void setup() { | |
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps | |
int tonePin = 9; | |
} | |
void loop() { |
This file contains 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
$(document).ready(function(){ | |
var scratch_player = $(".stage"); | |
var url = window.location.href; | |
url = url.substr(33,40); | |
$(scratch_player).empty(); | |
$(scratch_player).append("<script src='https://phosphorus.github.io/embed.js?id=", url, "&auto-start=false&light-content=false'></script>"); | |
}); | |
This file contains 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/bash | |
#This is a shell script created by hiccup01 to install kea on Mac OSX. | |
VERSION="0.0.1" #Installer version | |
BVERSION="0.2.2" #Browser version | |
echo "Thanks for installing kea" | |
echo "You are running Mac OSX kea installer version $VERSION for kea version $BVERSION." | |
echo "This installer was created by hiccup01 (hiccup01.com)" | |
sleep 1 | |
echo "At some points you may be prompted to enter your password. Type it and press \"enter\". (It will not display your password on screen)" | |
sleep 3 |
This file contains 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
// ==UserScript== | |
// @name Advanced Topics Linker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Replace explore with Advanced Topics link | |
// @author Dylan5797 (and hiccup01) | |
// @match https://scratch.mit.edu/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
This file contains 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
var searchterm = encodeURI(prompt("Enter your search term")); | |
if searchterm = null { | |
console.log("Error: null is invalid input.") | |
} else { | |
var url = "http://wiki.scratch.mit.edu/w/index.php?title=Special%3ASearch&profile=default&search=" + searchterm + "&fulltext=Search"; | |
window.open(url); | |
} |
This file contains 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
var PNGImage = require('pngjs-image'); | |
var pad = require('pad-left'); | |
var request = require('request'); | |
function getColoursFromUUID(code, topad, callback) { | |
var colours = []; // Array of colours | |
PNGImage.readImage(('https://crafatar.com/avatars/' + code + '?size=8'), // Url to get heads | |
function(err, image) { | |
if (err) throw err; | |
var colour; // Variable colour is stored in on retreival from image | |
for (var i = 0; i < image.getHeight(); i++) { // For every line of pixels (height) |
This file contains 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
if [ ! -f /installed.txt ]; then | |
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - | |
apt-get install -y nodejs npm | |
npm install -g scratchapi | |
cd /root | |
npm init -y | |
touch /installed.txt | |
fi |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BackgroundBlur</key> | |
<real>0.092837791997573277</real> | |
<key>BackgroundColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OV05TV2hpdGVcTlNDb2xvclNwYWNlViRjbGFzc00w |
OlderNewer