Skip to content

Instantly share code, notes, and snippets.

View bored-engineer's full-sized avatar
🔥
This is fine.

Luke Young bored-engineer

🔥
This is fine.
View GitHub Profile
Instruction manual for Toaster Model 4X097F
IMPORTANT: To enter automatic recovery mode, enter the following recovery key cbcfebeaeeed
Boolean logic and IPv4, while appropriate in theory, have not until recently been considered natural. of course, this is not always the case. In fact, few hackers worldwide would disagree with the understanding of RPCs. In this position paper, we show that though Moore's Law can be made concurrent, peer-to-peer, and cacheable, the seminal game-theoretic algorithm for the investigation of simulated annealing by Sasaki et al. is NP-complete.
The theory method to courseware is defined not only by the analysis of suffix trees, but also by the important need for XML. even though such a claim might seem counterintuitive, it fell in line with our expectations. The notion that scholars cooperate with relational epistemologies is rarely useful. Thusly, random configurations and lossless communication are based entirely on the assumption that vacuum tubes and B-trees are not in confl
#!/usr/bin/env python
import sys
# A string of charecters to test
data = "0123456789abcdefghijklmnopqrstuvwxyz"
# The correct result
verify_arr = [193, 35, 9, 33, 1, 9, 3, 33, 9, 225]
# Loop each correct result
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) lnc
// Source File Name: Authenticator.java
import java.io.Console;
import java.io.PrintStream;
class Authenticator
{
var solutions = [];
var data = $("tr");
for(var i=0; i<data.length; i++){
var length = data[i].getElementsByTagName("td")[6];
if(length != undefined){
if(length.innerText == 54 && data[i].getElementsByTagName("td")[4].innerText == "128.237.255.81"){
solutions.push(data[i].getElementsByTagName("td")[3].innerText);
}
}
@bored-engineer
bored-engineer / Tree
Last active December 17, 2015 11:49
.
├── bureaubot
│   ├── Desktop
│   ├── Documents
│   │   └── do_not_show_to_irs.txt
│   ├── Music
│   │   └── office_space.theme.mp3
│   ├── Pictures
│   └── Public
│   └── taxes.txt
<?php
$im = imagecreatefrompng("data.png");
$binary = "";
for($i=0; $i<imagesx($im); $i++){
$rgb = imagecolorat($im, $i, 0);
$r = ($rgb >> 16) & 0xFF;
$g = ($rgb >> 8) & 0xFF;
$b = $rgb & 0xFF;
mask_in = open('masked_key.png','rb')
key = bytearray(mask_in.read(983040-64))
mask= bytearray(mask_in.read(64))
for x in range(983040-64):
key[x] ^= mask[x%64]
key_out = open('unmasked_key.png','wb')
key_out.write(key)
key_out.close()
@bored-engineer
bored-engineer / getCountries.js
Created September 8, 2013 18:13
Download the different country codes from the app store.
// Load deps
var request = require("request");
var jsdom = require("jsdom");
// Request the country change page
request({
url: "https://itunes.apple.com/WebObjects/MZStore.woa/wa/countrySelectorPage",
headers: {
"User-Agent": "iTunes/11.0.0 node-appstore"
}
@bored-engineer
bored-engineer / getQuote.js
Last active December 23, 2015 01:59
Pick a random quote relating to programming, and send to stdout.
// Create array of possible quotes
var quotes = [
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. — C.A.R. Hoare, The 1980 ACM Turing Award Lecture"
];
// Get a random quote index
var i = Math.floor(Math.random()*quotes.length);
// Print a random quote
console.log(quotes[i]);