I hereby claim:
- I am willamin on github.
- I am wlewis (https://keybase.io/wlewis) on keybase.
- I have a public key whose fingerprint is D981 E649 83BF 06D1 50BE 4799 1042 3310 136E B775
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# rips images from redbubble | |
pbpaste | xargs curl -s "$1" | grep "ih0\.redbubble\.net" | grep "main" |\ | |
tr '"' '\n' | tail -n 2 | head -n 1 |
#!/usr/bin/env ruby | |
def output_nicely(title, value) | |
puts format('%-25s %6.2f', "#{title}:", value) | |
end | |
data = `/usr/sbin/system_profiler SPPowerDataType` | |
remaining = data[/Charge Remaining.*: (\d+)/, 1].to_f | |
capacity = data[/Full Charge Capacity.*: (\d+)/, 1].to_f |
my_array = [ | |
:first, | |
:second, | |
:third, | |
:fourth, | |
:fifth | |
] | |
class Int32 |
$ cat examples/simple.cr | |
require "../src/beeline" | |
Beeline.config do | |
top_level_colors | |
fore Black | |
end | |
$ crystal run examples/simple.cr | |
Error in examples/simple.cr:2: instantiating 'Beeline:Class#config()' | |
Beeline.config do |
#!/usr/bin/env ruby | |
require "json" | |
address = "some key I found when watching support xmr's dashboard call their api. haven't looked into it further" | |
output = `curl -s 'https://supportxmr.com/api/miner/#{address}/stats'` | |
paid = JSON.parse(output)['amtPaid'] | |
due = JSON.parse(output)['amtDue'] | |
total = paid + due |
from __future__ import print_function | |
def func44(arg307, arg308): | |
var328 = var311(arg307, arg308) | |
var356 = func48(var328, arg308) | |
var361 = func51(arg307, arg308) | |
var362 = -1393994372 - arg308 | |
var363 = 756 & arg308 | |
if var356 < arg308: | |
var364 = var363 & var363 | |
else: |
require "http/server" | |
class MyRoutingHandler | |
include HTTP::Handler | |
def call(context) | |
case context.request.path | |
when "/", "/home" | |
context.response << "hello" | |
end |
body { | |
margin: 0; | |
background-color: #fefefe; | |
line-height: 1.6em; | |
font-size: 16px; | |
color: #444; | |
padding: 10px; | |
font-family: sans-serif; | |
} |
<head> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
} | |
.container { | |
width: 100vw; | |
height: 100vh; |