Microgallery is the newer and better version of newb. Sadly it is slightly bigger (18kb vs 12kb) but it's got a few more features.
Could be better, but it does the job for me :)
- OOP design
- Darker oooh
- Mass updater
- Descriptions!
import android.content.Context; | |
import android.preference.CheckBoxPreference; | |
import android.util.AttributeSet; | |
public class FlushCheckBoxPreference extends CheckBoxPreference implements FlushPreferences { | |
public FlushCheckBoxPreference(Context context, AttributeSet a) { | |
super(context, a); | |
} |
Hi, I have made some changes to MCP http://mcp.ocean-labs.de/
If you apply my changes, what you can do is:
In the config, the mod called "kennydude" is switched on.
There is probably a lot to be changed (for example, I pulled in JSON parsing which may not be what you want).
<!DOCTYPE HTML> | |
<html> | |
<!-- Copied from David Karp. David, you're sexy and you know it so please don't delete it. --> | |
<head> | |
<script type="text/javascript"> | |
// Configuration | |
var tag = 'big pictures'; | |
var batch_size = 10; | |
</script> |
Simple,
Place the php file under the glyphicons directory (not the halflings) and then add that to a webserver (I just symlink the glyphicons directory under /var/www)
And tada! :D
You need to put this on a webserver locally
No login, so insecure
AJAX refreshing
No shit, just subscriptions
Add bootstrap into it's directory to make it look respectable
The script needs access to files:
Usage:
Call with python uni.py
on the command line and it will ask the university. Then follow on-screen instructions
Supported:
Will output in plain unstyled HTML with each module's Aims and Syllabus instead of manually doing it.
public boolean onCreateOptionsMenu(final Menu menu) { | |
// Inflate Layout here | |
// ProgressBar | |
if(isRefreshing){ | |
ProgressBar p = new ProgressBar(this, null, android.R.attr.progressBarStyleSmall); | |
menu.findItem(R.id.refreshAction).setActionView(p).setEnabled(false); | |
} | |
// Do other crazy stuff here |
<div class="uac" style="background: #333; opacity: 0.9; position: absolute; top:0;left:0;bottom:0;right:0;display:none"> | |
</div> | |
<div style="position: fixed; top: 50px; right: 0; left: 0; z-index: 999999999;display:none" class="uac"> | |
<div style="background:#fff; margin: 0 auto; text-align: center; width:500px"> | |
<h1>YOU ARE</h1> | |
<img src="http://25.media.tumblr.com/tumblr_mb4mphniug1qlqeu2o1_500.gif" /> | |
</div></div> | |
<script type="text/javascript" src="http://code.jquery.com/jquery.js"></script> | |
<script type="text/javascript"> |
import java.util.ArrayList; | |
import java.util.List; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentPagerAdapter; | |
import android.support.v4.app.FragmentTransaction; | |
import android.support.v4.view.ViewPager; | |
import android.util.Log; | |
import android.view.ViewGroup; |