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
<?xml version='1.0' encoding='UTF-8'?> | |
<kml xmlns='http://www.opengis.net/kml/2.2'> | |
<Document> | |
<name>Traffic Speed Map</name> | |
<description><![CDATA[]]></description> | |
<Folder> | |
<name>Links</name> | |
<Placemark> | |
<styleUrl>#line-0BA9CC-5</styleUrl> | |
<name>722-50059</name> |
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
#!/bin/bash | |
# Usage: Git checkout to the commit you want, then run this script to print the files in the repository and its version hash. | |
files="`git ls-files`" | |
while read -r filename; do | |
hash="`git log -1 --pretty=%h ${filename}`" | |
echo -e "$filename\t$hash" | |
done <<< "$files" |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Align Box</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style type="text/css"> | |
html { | |
height: 100%; |
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
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>DELUX</vendorname> | |
<vendorid>0x093a</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>DELUX_M618</productname> | |
<productid>0x2521</productid> |
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
#!/bin/bash | |
files=`find $1/*.png` | |
while read -r srcfile; do | |
name=`basename $srcfile` | |
targetfile="${2}/${name}" | |
result=`compare -metric RMSE $srcfile $targetfile /dev/null 2>&1;` | |
if [[ $result != 0* ]]; then | |
echo "${name} = ${result}" |
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
#!/bin/bash | |
while true | |
do | |
adb shell dumpsys deviceidle step | |
sleep 1 | |
done |
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
/** | |
* Version number in [Semantic Versioning 2.0.0](http://semver.org/spec/v2.0.0.html) specification (SemVer). | |
* | |
* @property major major version, increment it when you make incompatible API changes. | |
* @property minor minor version, increment it when you add functionality in a backwards-compatible manner. | |
* @property patch patch version, increment it when you make backwards-compatible bug fixes. | |
* @property preRelease pre-release version. | |
* @property buildMetadata build metadata. | |
*/ | |
data class SemVer( |
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
[ | |
{ | |
"code": "001", | |
"initial": "FEP", | |
"titleZh": "屯門碼頭", | |
"titleEn": "Tuen Mun Ferry Pier", | |
"latitude": 22.37284525, | |
"longitude": 113.9661371, | |
"fareZone": "1", | |
"platforms": [ |
OlderNewer