list up rational numbers p such that sqrt(p), sqrt (p - 5), sqrt (p + 5) are all rational.
*Main> take 2 answer
[1681 % 144,11183412793921 % 2234116132416]
#!/bin/sh | |
curl -L -O http://dl.google.com/android/android-sdk_r22.3-linux.tgz |
xcodebuild -showsdks|grep iphone|sed -e "s/.*-sdk //" |
key.store=~/.android/debug.keystore | |
key.alias=androiddebugkey | |
key.store.password=android | |
key.alias.password=android |
#!/bin/sh | |
OSX=`uname|grep Darwin` | |
if [ ! -z $OSX ]; then | |
echo "Darwin!" | |
else | |
echo "not!" | |
fi |
apkname=$1 | |
dirname=$2 | |
apktool b $dirname $apkname.apk | |
zipalign -v 4 $apkname.apk ${apkname}-aligned.apk | |
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -storepass android -keypass android -keystore ~/.android/debug.keystore ${apkname}-aligned.apk androiddebugkey | |
mv ${apkname}-aligned.apk $apkname.apk |
(function($){ | |
function Beatport(artistId) { | |
this.artistId = artistId; | |
} | |
Beatport.prototype.load = function load(container) { | |
fetchRelease(this.artistId, function (tracks) { | |
tracks.forEach(function (track) { | |
$(container).append(getBeatportPlayerEmbedCode(track)); | |
}); |
list up rational numbers p such that sqrt(p), sqrt (p - 5), sqrt (p + 5) are all rational.
*Main> take 2 answer
[1681 % 144,11183412793921 % 2234116132416]
Packages | |
- Google Analytics App Tracking SDK, revision 3 | |
License | |
Terms and Conditions | |
This is the Android Software Development Kit License Agreement. | |
1. Introduction |
PackageManager pm = getPackageManager(); | |
for (ApplicationInfo app : pm.getInstalledApplications(0)) { | |
Log.d("PackageList", "package: " + app.packageName + ", sourceDir: " + app.sourceDir); | |
} |
... | |
<receiver android:name=".BootStrap" > | |
<intent-filter> | |
<action android:name="android.intent.action.BOOT_COMPLETED" /> | |
</intent-filter> | |
</receiver> | |
... |