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 06A0 B06E C8DA 531E D77F 7C6A 0671 385C D805 BB2D
To claim this, I am signing this object:
| #include <stdio.h> // printf | |
| #include <math.h> // sin | |
| #include <time.h> // time | |
| #include <stdlib.h> // srand | |
| #include <string.h> // memcpy | |
| #include <vorbis/vorbisenc.h> | |
| struct tEncoderState | |
| { |
| $data = $this->getRequirements([ | |
| 'description' => ['type' => 'markdown', 'minLength' => 3, 'persistent' => true], | |
| 'title' => ['type' => 'string', 'minLength' => 3, 'persistent' => true], | |
| 'action' => ['type' => 'string', 'minLength' => 3], | |
| 'suggestionId' => ['type' => 'int'], | |
| 'reason' => ['type' => 'string', 'minLength' => 3, 'optional' => true, 'default' => ""], | |
| 'tags' => ['type' => 'array', 'optional' => true], | |
| 'attachments' => ['type' => 'file', 'optional' => true], | |
| 'keepAttachments' => ['type' => 'array', 'optional' => true] | |
| ]); |
| # prerequisites: rooted device, adb, sqlite installed locally | |
| # works beautifully on glass | |
| # android-ids are hexadecimal [0-9a-f] | |
| # install sqlite3 locally to modify the db | |
| sudo apt-get install -y sqlite3 | |
| # make sure we have a device connected | |
| adb devices |
I hereby claim:
To claim this, I am signing this object:
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:
| #!/bin/sh | |
| echo "Removing untagged docker images.." | |
| docker images -q -f dangling=true | xargs docker rmi |
| #!/bin/sh | |
| echo "Removing exited docker containers.." | |
| docker ps -f status=exited -q | xargs docker rm |
| # 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' |
| /** | |
| * 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; |
| /** | |
| * 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" |