I hereby claim:
- I am demosdemon on github.
- I am demosdemon (https://keybase.io/demosdemon) on keybase.
- I have a public key ASCBfqEI2MzXJWKh-dmTVeDvoKhMR-hwZV4WcpBiioKb2wo
To claim this, I am signing this object:
#!/usr/bin/env python | |
import sys | |
import argparse | |
import csv | |
import operator | |
import logging | |
import datetime | |
#!/bin/sh | |
sudo /usr/bin/DroboApps.sh install | |
APPS_PATH="/mnt/DroboFS/Shares/DroboApps/" | |
find "$HOME/bin" -type l | while read -r link; do | |
dest="$(readlink "$link")" | |
case "$dest" in | |
$APPS_PATH*) ;; |
#!/usr/bin/env bash | |
# Show all the names (CNs and SANs) listed in the SSL certificate | |
# for a given domain | |
function getcertnames() { | |
local domain host tmp certText cn san | |
domain=$1 | |
host=${2:-$1} | |
if [ -z "$host" ]; then |
#!/usr/bin/env python | |
import os | |
import platform | |
import shlex | |
import struct | |
import subprocess | |
def get_terminal_size(): | |
""" getTerminalSize() |
# Copyright 2014 Dan Krause | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
using System; | |
using System.Data.Entity; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using System.Linq; | |
using System.Collections.Generic; | |
using System.Data.SqlClient; | |
public static class DbContextHelper | |
{ | |
/// <summary> |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Find the fastest apt mirror | |
# Adapted from http://askubuntu.com/questions/39922/how-do-you-select-the-fastest-mirror-from-the-command-line/141536#141536 | |
IFS=$'\n' read -d '' -r -a HOSTS < <( | |
wget -q -O- https://launchpad.net/ubuntu/+archivemirrors | | |
grep -P -B8 'statusUP|statusSIX' | | |
grep -o -P '(f|ht)tp[^"]*"' | sed 's/"$//' | |
) |