Skip to content

Instantly share code, notes, and snippets.

server:
# ...
include /var/lib/unbound/unbound-adhosts.conf
8.15.202.0/24
8.34.208.0/20
8.35.192.0/20
23.236.48.0/20
23.251.128.0/19
$ curl -vvv -4 https://crt.sh |& ts
Jun 22 10:35:08 * Rebuilt URL to: https://crt.sh/
Jun 22 10:35:08 * Hostname was NOT found in DNS cache
Jun 22 10:35:08 % Total % Received % Xferd Average Speed Time Time Time Current
Jun 22 10:35:08 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 178.255.82.12...
Jun 22 10:35:08 * Connected to crt.sh (178.255.82.12) port 443 (#0)
Jun 22 10:35:08 * successfully set certificate verify locations:
Jun 22 10:35:08 * CAfile: none
Jun 22 10:35:08 CApath: /etc/ssl/certs

Keybase proof

I hereby claim:

  • I am mpalmer on github.
  • I am womble (https://keybase.io/womble) on keybase.
  • I have a public key whose fingerprint is DCE7 6C9A 3678 5CE0 22EF CC27 1654 965A 49F7 FC9B

To claim this, I am signing this object:

FROM ubuntu:14.04
ADD hup-me-harder sbin/hup-me-harder
ENTRYPOINT ["/sbin/hup-me-harder"]
#!/usr/bin/env ruby
require 'openssl'
require 'digest/sha1'
def main(argv)
if argv.empty?
$stderr.puts <<-EOF.gsub("\t\t\t", '')
Please provide at least one key/cert/csr file.
class Example
def make_method(&block)
@block = block
end
def dynamic_method(n)
@block.call(n) if @block
end
end
class Fibonnaci
include Enumerable
def initialize
@a = @b = 1
end
def each
loop do
yield @a
<?xml version="1.0" encoding="utf-8"?>
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableRow>
<TextView android:text="Label:" />
<EditText android:id="@+id/editable"
android:ems="3" />
</TableRow>
String lat = "12345.67";
int decpoint = lat.indexOf(".");
String min = lat.substring(decpoint - 2);
String deg = lat.substring(0, decpoint - 3);
Double latitude = Double.valueOf(deg) + Double.valueOf(min) / 60;