I hereby claim:
- I am halfvector on github.
- I am unbuffered (https://keybase.io/unbuffered) on keybase.
- I have a public key whose fingerprint is 7A4B 8DA9 C9EB 52B4 15EA DDDF BA7F EFC2 45B4 04E7
To claim this, I am signing this object:
# so at the time of writing, hyperkit doesn't work on AMD/Ryzen. | |
# this means no native docker support. | |
# the default docker-machine setup uses the deprecated boot2docker which is stuck with a buggy docker-19. | |
# i'm looking to run the latest docker daemon, have proper service-hostnames, and easy port-forwarding, | |
# and use the same docker-compose setups as a normal OSX/Linux machine. | |
# install the latest docker-host VM from https://github.com/burmilla/os/releases | |
# boot2docker and rancherOS are now both deprecated/unsupported. | |
# burmillaOS is an active fork of rancherOS. | |
docker-machine create -d virtualbox --virtualbox-boot2docker-url https://github.com/burmilla/os/releases/download/v1.9.0/burmillaos-v1.9.0.iso --virtualbox-memory 1500 default |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/s3" | |
"github.com/aws/aws-sdk-go/service/sqs" | |
"io/ioutil" |
#!/bin/sh | |
# Don't forget to get an API key from https://app.datadoghq.com/account/settings#api | |
# DD_DOGSTATSD_NON_LOCAL_TRAFFIC = statsd on host even on OSX using native docker engine. | |
docker run -d --rm --name dd-agent \ | |
-p 8126:8126/tcp -p 8125:8125/udp \ | |
-v /var/run/docker.sock:/var/run/docker.sock:ro -v /proc/:/host/proc/:ro \ | |
-e DD_API_KEY=$your_api_key_here \ | |
-e DD_APM_ENABLED=true -e DD_APM_ENV=localhost -e DD_DOGSTATSD_NON_LOCAL_TRAFFIC=true \ | |
datadog/agent |
I hereby claim:
To claim this, I am signing this object:
/** | |
* This JacocoTestReport task merges local Unit Tests and emulator/device Instrumentation Tests into a single coverage report. | |
* Also ignores Dagger 2 generated code. | |
* Add this task to your Android app/build.gradle and run your test suites then execute this task. | |
* Coverage report will appear in app/build/reports/jacoco/jacocoTestReport/ | |
* as standard xml compatible with codecov.io and human readable html | |
* dependsOn: ['testDebugUnitTest', 'connectedDebugAndroidTest'] | |
*/ | |
task jacocoTestReport(type: JacocoReport) { | |
group = "Reporting" |
/** | |
* All fields are allowed to be null. | |
*/ | |
class WifiConfig { | |
/** | |
* The network's SSID. Can either be an ASCII string, which must be enclosed in double quotation marks | |
* (e.g., "MyNetwork"), or a string of hex digits,which are not enclosed in quotes (e.g., 01a243f405). | |
*/ | |
String SSID; |
# a few git commands | |
alias gs='git status' | |
alias gp='git push' | |
alias gl='git log --graph --pretty=tformat:"%C(auto)%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(auto)%d%Creset" --abbrev-commit' | |
alias cdiff='cdiff -s -c always | less -rFX' | |
# recent log entries without a pager | |
alias glr='git --no-pager log -25 --graph --pretty=tformat:"%C(auto)%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(auto)%d%Creset" --abbrev-commit' | |
alias gs='git status -s' |
#!/bin/sh | |
echo "Removing exited docker containers.." | |
docker ps -f status=exited -q | xargs docker rm |
#!/bin/sh | |
echo "Removing untagged docker images.." | |
docker images -q -f dangling=true | xargs docker rmi |
Default to Source Code Pro and Source Sans Pro size 13pt and ~1.1x line-height for better readibility.
Run IntelliJ based IDEs on JVM 1.6 for sub-pixel anti-aliasing on LCDs.
Use OTF versions of Adobe's Source fonts.
Grab the latest releases of Source Code Pro & Source Sans Pro: