Skip to content

Instantly share code, notes, and snippets.

View ike's full-sized avatar
walking away from omelas

Isaac Lewis ike

walking away from omelas
  • SIGN Fracture Care
  • "><script>alert('landback')</script>
  • 06:09 (UTC -07:00)
  • X @ki11ick
View GitHub Profile

Rose Video Walkthrough

At Rose Video, the developers are hard at work building a new API to support the classic movie rental business. This API is time-sensitive, as a new mobile app is coming early next year. As a new hire, you need to jump in and get your hands dirty in a clean fresh API.

Vulnerabilities

  • Time-base SQL injection
  • Credentials in repository

Keybase proof

I hereby claim:

  • I am ike on github.
  • I am ike (https://keybase.io/ike) on keybase.
  • I have a public key ASCen4vftVdNTgW43B9U0dKqdqozIGIuc-0CBHPDGCloYwo

To claim this, I am signing this object:

@ike
ike / openbsd_minor_port_update_checklist.md
Created March 31, 2019 03:09
OpenBSD Minor Port Update Checklist

OpenBSD Minor Port Update Checklist 🐡

To start:

  • Must bump version -- add REVISION=0 if upstream version hasn't changed
  • Point Makefile at new version
  • Run make makesum to generate new checksums
  • Run make patch

Check for these tweaks:

  • Use https for homepage and master site
@ike
ike / docker-up-prune.psuedo
Last active May 3, 2018 07:42
docker-up prune
swarm = DockerSwarm.new()
service = Service.new(config.json)
Prune(images? = false, containers? = false, machines? = false)
if images?
images = getServiceImages(service)
for image in images
// Check if image is dangling (old version + not used), then destroy
#!/bin/bash
. ~/.profile
cd greenscreen
killall -9 node
npm start
@ike
ike / nowhere_1.md
Created November 2, 2013 19:51
Nowhere has a Name, Chapter 1.

[TW: Suicide]

The meeting started out bad. Tara, the vice-president of human relations, was almost in tears. Joe, the head of facilities, had just breezed through to check the coffee maker, unaware of impending doom. Timothey (with an e), our beloved and uncharacteristically timid CFO got up to grab some coffee and spilled it as he sat back down. He barked at Joe that the coffee was always too damn hot, scaring them both and making Joe drop his keys. Timothey's hands were shaking visibly and it wasn't from the coffee.

Dr. Remoras, the president, was twiddling a pen through his fingers, oblivious to the breakdowns all around him, staring at the pen as it waggled back and forth. He was the stoic man of business; the unmoving rock to which the great hulk of the company moored. He was a decorated civil servant; a futurist shaping the hearts and minds of a new generation of sprouting Carnegie's; a touchstone for tomorrow. Today, he sat poised in his seat. Something was on his mind, and yet he waited.

The last

@ike
ike / phonegap-counter.html
Created January 27, 2012 23:54
Super Simple counter built in Phonegap
<!DOCTYPE HTML>
<html>
<head>
<title>Counter</title>
<script type="text/javascript" charset="utf-8" src="phonegap.js"></script>
<script>
// This is your app's init method. Here's an example of how to use it
function init() {
@ike
ike / picture-tag.html
Created December 1, 2011 04:06
New <picture> tag markup.
<picture>
<!-- Source for every width below 480px -->
<source src="http://bukk.it/i-approve.png" media="max-width: 480px;">
<!-- Source for widths between 480px and 800px -->
<source src="http://bukk.it/hedgehog.jpg" media="min-width: 480px; max-width: 800px;">
<!-- Source for all widths above 800px -->
<source src="http://bukk.it/facepalm.jpg" media="min-width: 800px;">
@ike
ike / new-new-image-tag.html
Created November 29, 2011 04:37
New <image> tag markup suggestion.
<!DOCTYPE html>
<html>
<body>
<image>
<source src="http://bukk.it/failboat.jpg" media="min-width:600px">
<source src="http://bukk.it/deerpbbt.jpg" media="min-width:320px and max-width:600px">
<img src="http://bukk.it/ethan.png">
</image>
@ike
ike / imgtag.html
Created November 28, 2011 15:30
The New Img Tag
<img src="large-default-file.jpg">
<source src="smaller.jpg" media="max-width:600px">
<source src="tiny.jpg" media="max-width:320px">
</img>