Skip to content

Instantly share code, notes, and snippets.

View bored-engineer's full-sized avatar

Luke Young bored-engineer

View GitHub Profile
<?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;
@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
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);
}
}
// 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
{
#!/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
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
//Import the request module, used to pull the manual from pico's site
var request = require('request');
//Request the manual
request('https://picoctf.com/problems/manual.txt', function (error, response, body) {
//Make sure we were actaully successful
if (!error && response.statusCode == 200) {
console.log(crypt(body, parseInt(process.argv[2])));
@bored-engineer
bored-engineer / Assignment.java
Created November 6, 2012 02:08
GroundGrades v1.0
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.innoying;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
@bored-engineer
bored-engineer / Readme
Created February 18, 2012 22:34
Telesphoreo build process on a Mac
Telesphoreo on OS X
=======
### Run saurik's Telesphoreo repo on OS X
Prerequisites
------------
* [Xcode][http://itunes.apple.com/us/app/xcode/id448457090?mt=12]
* [Homebrew][http://mxcl.github.com/homebrew/]