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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Python script to find the largest files in a git repository. | |
# The general method is based on the script in this blog post: | |
# http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
# | |
# The above script worked for me, but was very slow on my 11GB repository. This version has a bunch | |
# of changes to speed things up to a more reasonable time. It takes less than a minute on repos with 250K objects. | |
# |
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
Had some 'fun' doing this the first time around, so posting it here for myself & hopefully will help others too :-) | |
Not going into all the details, you should have Cordova, Android SDK, etc installed, your app created & tested etc, this is for the point where you want to submit your glorious new shiny app to the Google Play Store and you suddenly realize that you're running into things like, how to get a release APK created using Cordova. | |
1. Create a key if you don't have one, e.g. http://developer.android.com/tools/publishing/app-signing.html#cert | |
2. Alter your ...\platforms\android\AndroidManifest.xml, set debuggable to false: | |
android:debuggable="false" | |
3. Create file 'custom_rules.xml' under platforms\android, put this in there: |
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 javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.TextField; | |
import javafx.scene.layout.HBox; | |
import javafx.scene.layout.Pane; | |
import javafx.scene.web.WebEngine; | |
import javafx.scene.web.WebEvent; |
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 javafx.animation.PauseTransition; | |
import javafx.application.Application; | |
import javafx.beans.value.*; | |
import javafx.embed.swing.SwingFXUtils; | |
import javafx.event.*; | |
import javafx.geometry.Bounds; | |
import javafx.scene.Scene; | |
import javafx.scene.control.*; | |
import javafx.scene.image.*; | |
import javafx.scene.layout.*; |