Skip to content

Instantly share code, notes, and snippets.

View minecraft color code to
// where variable c is a string of one of 0123456789abcdef
int d = Integer.parseInt(c,16);
String result = (d==0||d==15?"":d<7||d==8?"dark ":"light ")+(
d==12?"red":d==13?"purple":d==14?"yellow":d==15?"white":"unknown colour")
// fun fact: dark gray is light black and light gray is dark white
mekb-turtle / mess current site.js
Last active Aug 1, 2019
Changes all the text to random characters, rotates everything at random angles, resizes everything at random sizes. Paste in Developer Console.
View mess current site.js
function rndCol() {
var letters = '0123456789ABCDEF';
var color = '#';
for (var i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
return color;
setInterval( function() {
var elements = document.getElementsByTagName("*");
View impossible dino chrome.js
document.getElementsByClassName("runner-canvas")[0].style.transform = "rotate("+i+"deg)";
View Chrome Invalid Certificate Error

Your connection is not private

Attackers might be trying to steal your information from (for example, passwords, messages, or credit cards). Learn more


Hide advanced

Back to safety

This server could not prove that it is; its security certificate is from This may be caused by a misconfiguration or an attacker intercepting your connection.

Proceed to (unsafe)
mekb-turtle / hexdump.cs
Last active Jul 20, 2019
C# Hexdump program
View hexdump.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hexdump
class Program
mekb-turtle / .gitignore
Last active Apr 27, 2020 — forked from octocat/.gitignore
Some common .gitignore configurations
View .gitignore
# Compiled source #
# Packages #
mekb-turtle / google image atari breakout cheat.js
Created Apr 29, 2019
A cheat AI for Google images breakout.
View google image atari breakout cheat.js
function cheat() {
var ball = document.getElementById('breakout-ball');
var paddle = document.getElementById('breakout-paddle');
var buffer = Math.floor((Math.random()*100)+1);
var leftVal = parseInt(, 10);
if ( { = (leftVal - buffer - 100) + 'px';
mekb-turtle / dinorunnerdebugetc.js
Last active Jun 8, 2019
3 cool functions to change the runner speed, make it invincible and vincible. On the dino runner game, chrome://dino.
View dinorunnerdebugetc.js
function setSpeed(x) { Runner.instance_.setSpeed(x); }
var gameoverfunction = Runner.instance_.gameOver;
function invincible() { Runner.instance_.gameOver = function() {}; }
function vincible() { Runner.instance_.gameOver = gameoverfunction; }