View CustomTabsHelper.kt
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
import android.app.Activity | |
import android.content.ComponentName | |
import android.content.Context | |
import android.content.Intent | |
import android.content.pm.PackageManager | |
import android.graphics.Bitmap | |
import android.net.Uri | |
import android.support.customtabs.CustomTabsClient | |
import android.support.customtabs.CustomTabsIntent | |
import android.support.customtabs.CustomTabsServiceConnection |
View play_service_proj_builder.py
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
from distutils.spawn import find_executable | |
import os | |
import re | |
import sys | |
import subprocess | |
import zipfile | |
import tempfile | |
import shutil | |
View tinyPNG.py
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
""" | |
Batch compress PNG images by using TinyPNG | |
usage: | |
tinyPNG.py <key> <target-folder> <source-file>... | |
""" | |
import os | |
import glob | |
import sys | |
import re | |
import shutil |
View resource_copy.py
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
""" | |
Copy image files with dpi suffix to Android resource folder | |
usage: | |
resource_copy.py <target-resource-folder> <source-file>... | |
""" | |
import os | |
import glob | |
import sys | |
import re |
View OAuthPostHurlStack.java
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
public class OAuthPostHurlStack extends HurlStack { | |
private final OAuthConsumer mConsumer; | |
private ArrayList<String> mOauthSignedPosts = new ArrayList<>(); | |
public OAuthPostHurlStack(OAuthConsumer consumer) { | |
mConsumer = consumer; | |
} | |
@Override |
View qr_gen.py
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
""" | |
QRcode generator | |
usage: | |
qr_gen.py [-t] <url> | |
options: | |
-t Translate localhost or loopback address to host address | |
""" | |
import qrcode |
NewerOlder