This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
APK_PACAKGE=$(adb shell pm list packages | peco | cut -d ':' -f 2) | |
mkdir -p $APK_PACAKGE | |
cd $APK_PACAKGE | |
APK_PATH=$(echo $APK_PACAKGE | xargs adb shell pm path | cut -d ':' -f 2 | tr '\r' ' ' ) | |
echo $APK_PATH | xargs adb pull | |
APK=$(echo $APK_PATH | awk -F / '{print $NF}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
class Net::HTTP | |
alias :create :initialize | |
def initialize(*args) | |
create(*args) | |
self.set_debug_output $stderr | |
$stderr.sync = true | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
testCompile "org.spockframework:spock-core:1.0-groovy-2.4" | |
testCompile "cglib:cglib-nodep:3.1" | |
testCompile "org.objenesis:objenesis:2.1" | |
} | |
android.applicationVariants.all { | |
def variantName = it.name | |
def capitalizedName = "${variantName[0].toUpperCase()}${variantName[1..-1]}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin custom-list($type) { | |
$padding: 10px; | |
$width: 100px; | |
list-style-type: none; | |
& > li { | |
counter-increment: $type; | |
position: relative; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (country_code.equals("JP") == true) { | |
switch (region_code2) { | |
case 1: | |
name = "Aichi"; | |
break; | |
case 2: | |
name = "Akita"; | |
break; | |
case 3: | |
name = "Aomori"; |