$ demo on|off [hhmm]
Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM
format (only used when you use the on
command).
/** | |
* ArcUtils.java | |
* Copyright (c) 2014 BioWink GmbH. All rights reserved. | |
**/ | |
/** | |
* Proper Java code style formatting | |
* Copyright (c) 2014 Sebastiano Poggi. Do whatever you want with this code. | |
*/ |
package net.frakbot.gists.widgethelper; | |
/* | |
* Copyright 2014 Sebastiano Poggi | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
package net.frakbot.util.color; | |
import android.graphics.Color; | |
/** | |
* The MIT License (MIT) | |
* <p/> | |
* Copyright (c) 2014 Sebastiano Poggi | |
* <p/> | |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
#!/bin/bash | |
# License for any modification to the original (linked below): | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Sebastiano Poggi wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. | |
# ---------------------------------------------------------------------------- | |
prefix=${1-"drawable"} | |
buckets=( mdpi hdpi xhdpi xxhdpi xxxhdpi ) |
#! /bin/bash | |
# How to use: save this in the folder where you extract the contents of this zip: | |
# http://click.xda-developers.com/api/click?format=go&jsonp=vglnk_14334252799608&key=f0a7f91912ae2b52e0700f73990eb321&libId=iai8ebh401000n4o000DAb9a6aa9o&loc=http%3A%2F%2Fforum.xda-developers.com%2Fzenfone2%2Fgeneral%2Fasus-zenfone-2-flashing-recovery-mode-t3096596&v=1&out=http%3A%2F%2Fwww.mediafire.com%2Fdownload%2Fv6m7n9j0gqins9b%2FCWM_Zenfone_2_Intel.zip&ref=http%3A%2F%2Fforum.xda-developers.com%2Fzenfone2%2Fgeneral&title=Asus%20Zenfone%202%20%7C%20Resources%20all%20in%20one%20thread%20%7C%20Asus%20ZenFone%202%20%7C%20XDA%20Forums&txt=%3Cb%3EDownload%20the%20Asus%20Zenfone%20temporary%20CWM%20package%3C%2Fb%3E | |
# Then chmod a+x it, and run it. Have your phone attached to the USB port with USB debugging enabled before starting. | |
# Setup | |
WORKINGDIR=$(pwd) | |
LAUNCHER="$WORKINGDIR/FB_RecoveryLauncher/recovery.launcher" | |
RECOVERY="$WORKINGDIR/FB_RecoveryLauncher/recovery.zip" |
#!/usr/bin/python | |
# License for any modification to the original (linked below): | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Sebastiano Poggi and Daniele Conti wrote this file. As long as you retain | |
# this notice you can do whatever you want with this stuff. If we meet some day, | |
# and you think this stuff is worth it, you can buy us a beer in return. | |
import argparse, sys, subprocess, tempfile |
#!/usr/bin/python | |
import argparse, os, subprocess | |
# Grab the script directory to use as default | |
current_directory = os.path.dirname(os.path.abspath(__file__)) | |
def parse_cli_arguments(): | |
parser = argparse.ArgumentParser(description = 'Grabs all DNG files from the connected Android device\'s camera roll.') |
$ demo on|off [hhmm]
Enable or disable the demo mode on a connected Android device or emulator. You can also pass in a custom value for the system clock in the HHMM
format (only used when you use the on
command).
#!/usr/bin/python | |
#coding: utf-8 | |
import argparse, os, tinycss, requests | |
def parse_cli_arguments(): | |
parser = argparse.ArgumentParser(description='Downlads all available variants of a font from Google Fonts') | |
parser.add_argument('fontname', type=str, help='The name of the font. E.g., "Roboto", "Product Sans"') | |
return parser.parse_args() |
<!-- All copyright to the original owners. The AVD version is free to use; please give attribution if you redistribute/modify --> | |
<animated-vector | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:aapt="http://schemas.android.com/aapt"> | |
<aapt:attr name="android:drawable"> | |
<vector | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:width="693dp" | |
android:height="693dp" | |
android:viewportWidth="693" |