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"]
<?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;
#!/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.
$ apt-cache show heartbeat-common
Package: heartbeat-common
Priority: optional
Section: admin
Installed-Size: 1904
Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: heartbeat
Version: 2.99.2+sles11r9-6
Replaces: heartbeat (<= 2.99.2+sles11r9-2)
test AptPreferences.lns put "" after
set "/1/Package" "something-funny";
set "/1/Pin" "version";
set "/1/Pin/version" "1.2.3-4";
set "/1/Pin-Priority" "2000"
= "Package: something-funny
Pin: version 1.2.3-4
Pin-Priority: 2000
"