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
/*! | |
* Bootstrap v3.3.7 (https://getbootstrap.com) | |
* Copyright 2011-2018 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
/*! | |
* Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.3/customize/?id=c78cd796ed3d630f903dec748e113244) | |
* Config saved to config.json and https://gist.github.com/c78cd796ed3d630f903dec748e113244 | |
*/ |
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
{ | |
"_comments": { | |
"_backgroundColor": "#3C3F41", | |
"_backgroundColorLight": "#515658", | |
"_backgroundColorDark": "#3C3F41", | |
"_selectedBackgroundColor": "#0D293E", | |
"_emphasizedBackgroundColor": "#2F65CA", | |
"_dividerColor": "#282828", | |
"_secondaryDividerColor": "#4d535d", | |
"_controlColor": "#8C8C8C", |
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
# Create specified number of articles for Hugo benchmarks | |
from datetime import datetime | |
import random | |
import string | |
from sys import argv | |
import os | |
def generateWord(min_length = 1, max_length = 10): | |
length = random.randint(min_length, max_length) |
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
//https://nishantvnair.wordpress.com/2010/09/28/flowlayout-in-android/ | |
public class FlowLayout extends ViewGroup { | |
public static final int DEFAULT_HORIZONTAL_SPACING = 5; | |
public static final int DEFAULT_VERTICAL_SPACING = 5; | |
private final int horizontalSpacing; | |
private final int verticalSpacing; | |
private final AdapterObserver observer = new AdapterObserver(); | |
private List<RowMeasurement> currentRows = Collections.emptyList(); |
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
//based on answer t o SO question: http://stackoverflow.com/questions/5533078/timepicker-in-preferencescreen | |
//modified to correctly set the initial value in the local timezone given millis UTC | |
public class TimePreference extends DialogPreference { | |
private Calendar calendar; | |
private TimePicker picker = null; | |
private Context context; | |
public TimePreference(Context context) { | |
this(context, null); |
NewerOlder