This file contains hidden or 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/env bash | |
# Setup | |
PACKAGE_NAME="###################################################" | |
DB_PATH="/data/data/$PACKAGE_NAME/databases" | |
DB_FILENAME="####################################################" | |
#cleanup after old runs(just in case) | |
adb shell "su -c \"rm /sdcard/$DB_FILENAME\"" |
This file contains hidden or 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
for COUNTRY in $(curl http://edg3.co.uk/snippets/weather-location-codes/ | grep -Po '(/snippets/[^"\.]+[^"\.])'); do curl "http://edg3.co.uk$COUNTRY" | grep -Pzo "(?<=<pre>)[^<]+"; done > zones.txt |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<!-- saved from url=(0037)https://www.djangoproject.com/weblog/ --> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta http-equiv="Content-Language" content="en-us"> | |
<title>Inject Django Docs UI</title> | |
<meta name="ROBOTS" content="ALL"> | |
<meta http-equiv="imagetoolbar" content="no"> | |
<meta name="MSSmartTagsPreventParsing" content="true"> | |
<meta name="Copyright" content="Django Software Foundation"> |
This file contains hidden or 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
//Copyright (C) 2012 fuho - https://github.com/fuho | |
/* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. You can redistribute it | |
* and/or modify it under the terms of the Do What The Fuck You Want | |
* To Public License, Version 2, as published by Sam Hocevar. See | |
* http://sam.zoy.org/wtfpl/COPYING for more details. */ | |
//TODO: Rewrite the code, maek it cleaner. | |
//TODO: Fix the flickering | |
//TODO: Mouse middle button cotnrol (some event handling written already) |
This file contains hidden or 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
#!/bin/bash | |
######################################################################## | |
###################### VARIABLE DEFINITIONS ######################## | |
######################################################################## | |
DIR_CWD="$PWD" # Store current working directory | |
DIR_SRC="src" # Default source directory in your home folder | |
DIR_OS="openslide" # Openslide source directory | |
DIR_LV="libvips" # Libvips source directory |
NewerOlder