Original solution sacrifices new api lint check.
Here my solution:
int minSdk = hasProperty('minSdk') ? minSdk.toInteger() : 16
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
#!/bin/bash | |
modprobe -r ec_sys | |
modprobe ec_sys write_support=1 | |
on="\x8a" | |
off="\x0a" | |
led(){ | |
echo -n -e $1 | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev/null |
#!/bin/bash | |
sp="/-\|" | |
sc=0 | |
spin() { | |
printf "\b${sp:sc++:1}" | |
((sc==${#sp})) && sc=0 | |
} | |
endspin() { | |
printf "\r" | |
} |
Original solution sacrifices new api lint check.
Here my solution:
int minSdk = hasProperty('minSdk') ? minSdk.toInteger() : 16
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
Database: heroku_1ed5a148e6d9415 | |
Table: black_cards | |
[16 entries] | |
+----+--------------------------------------------------------------------------------------------------------------+ | |
| id | content | | |
+----+--------------------------------------------------------------------------------------------------------------+ | |
| 1 | _____ means never having to say you're sorry. | | |
| 2 | The pen tester found _____ in the trash while dumpster diving. | | |
| 3 | Our CIO has a framed a picture of _____. | | |
| 4 | 9 out of 10 experts agree, _____ will increase your security effectiveness. | |
import android.os.Build; | |
import android.webkit.JavascriptInterface; | |
import android.webkit.WebView; | |
import com.google.gson.Gson; | |
import java.util.concurrent.Callable; | |
import java.util.concurrent.LinkedBlockingDeque; | |
import java.util.concurrent.ThreadPoolExecutor; | |
import java.util.concurrent.TimeUnit; |
Please petition Github to support HTTPS on github pages: https://github.com/contact
Here's what I wrote:
Obviously, a lot of people want HTTPS for github pages:
Until recently, that would be difficult to implement but, as it turns out, the implementation is pretty much complete:
#/bin/bash | |
adb devices | |
echo "Waiting for device" | |
adb wait-for-device | |
ip=$(adb shell ifconfig wlan0 | cut -f3 -d ' ') | |
echo "Device ip: $ip" | |
echo "Setting Up tcpip port" | |
adb tcpip 5555 | |
echo "Connecting to $ip" | |
adb connect $ip |
#!/bin/bash -ef | |
URL=${URL:-http://www.goproblems.com/mkoff/goproblemsSGF.tgz} | |
WORKDIR=${WORKDIR:-.} | |
mkdir -p "$WORKDIR" | |
cd "$WORKDIR" | |
[[ -s goproblemsSGF.tgz ]] || \ | |
wget "$URL" |
## within current branch, squashes all commits that are ahead of master down into one | |
## useful if you merged with upstream in the middle of your commits (rebase could get very ugly if this is the case) | |
## commit any working changes on branch "mybranchname", then... | |
git checkout master | |
git checkout -b mybranchname_temp | |
git merge --squash mybranchname | |
git commit -am "Message describing all squashed commits" | |
git branch -m mybranchname mybranchname_unsquashed | |
git branch -m mybranchname |