- https://google.com/maps to create the route
- From the Google Maps menu, select "Share or Embed Map" and then "Copy Link"
- https://mapstogpx.com/ to create GPX download from Google Maps URL
- https://labs.strava.com/gpx-to-route/ to upload the GPX into Strava
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 | |
if [ $# -lt 2 ]; then | |
echo "Two args required e.g., ./create.sh DDS_Sup 7001" | |
exit 1 | |
fi | |
domain="$1" | |
port="$2" | |
if [ -d "$domain" ]; then |
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 | |
export JAVA_HOME=/apps/WLS/java | |
export PATH=$JAVA_HOME/bin:$PATH | |
java -jar wls_121200.jar -silent -responseFile /apps/wls_121200-response.txt -invPtrLoc oraInst.loc |
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/perl | |
use feature qw(say); | |
# This script can be used to transform JDBC URL's into proxy URL's for use with jnettrace.jar, | |
# and is based on Oracle support article: | |
# How to Perform the Equivalent of SQL*Net Client Tracing with Oracle JDBC Thin Driver (Doc ID 793415.1) | |
# For an alternative tracing approach based on java.util.logging, see: | |
# How to Trace the Network Packets Exchanged Between JDBC and the RDBMS (Doc ID 1050942.1) | |
$num_args = $#ARGV + 1; |
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 java.util.*; | |
import java.util.Map.Entry; | |
/** | |
* Given a Map, sort it by values to create a new LinkedHashMap that preserves this order | |
* | |
* From: https://stackoverflow.com/questions/109383/sort-a-mapkey-value-by-values | |
* And: https://mkyong.com/java/how-to-sort-a-map-in-java/ | |
*/ | |
public class MapUtil { |
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
/** | |
* Source: Turn your JAVA Beans into a POI Excel Spreadsheet http://www.dominotricks.com/?p=115 | |
* | |
* @author Jeff Byrd | |
* | |
*/ | |
public class Bean2Excel { | |
private HSSFWorkbook workbook; | |
private HSSFFont boldFont; |
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
function ranger { | |
# print a range of lines defined by first and last occurence of pattern | |
local pattern="$1" && shift | |
local file="$1" && shift | |
if [ -z "$file" ] || [ $# -gt 0 ]; then | |
echo "Must specify one file exactly" >&2 | |
return 1 | |
fi | |
if [ ! -f "$file" ]; then | |
echo "$file: No such file or directory" >&2 |
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
=IF(A1>0,A1/(8.64*10^11) - 109205,"") |
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 | |
# Read default value of $hosts from the file common, if it exists. | |
# If it exists it is also assumed to define the function die. | |
if [ -f common ]; then | |
. common | |
else | |
function die { | |
echo $1 | |
exit 1 | |
} |
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
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>make-assembly1</id> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> |
NewerOlder