I hereby claim:
- I am russellhoff on github.
- I am joninx88 (https://keybase.io/joninx88) on keybase.
- I have a public key ASCP_iVcPbGNEqoSnU8m4XqIZw8I_3FmtNr75c2SClSAMAo
To claim this, I am signing this object:
| import com.vividsolutions.jts.geom.Coordinate; | |
| import com.vividsolutions.jts.geom.GeometryFactory; | |
| import com.vividsolutions.jts.geom.LineString; | |
| import com.vividsolutions.jts.geom.Point; | |
| import com.vividsolutions.jts.geom.PrecisionModel; | |
| public class GeometriesFactory { | |
| private static GeometryFactory factory4326 = new GeometryFactory(new PrecisionModel(PrecisionModel.FLOATING), 4326); |
| package internetcon; | |
| import java.io.IOException; | |
| import java.net.InetSocketAddress; | |
| import java.net.Socket; | |
| public class CheckInternet { | |
| public static void main(String[] args) { | |
| System.out.println( | |
| "Online: " + |
| #!/bin/bash | |
| # | |
| # Backup local databases to Amazon S3. | |
| # | |
| # This script takes a single argument: an S3 bucket name with optional path. | |
| # | |
| # Usage: | |
| # database-backup.sh backup.example.com | |
| # database-backup.sh backup.example.com/some/path | |
| # |
| # Systemd unit file for tomcat | |
| [Unit] | |
| Description=Apache Tomcat Web Application Container | |
| After=syslog.target network.target | |
| [Service] | |
| Type=forking | |
| ExecStart=/opt/apache-tomcat-8.5.23/bin/catalina.sh start | |
| ExecStop=/opt/apache-tomcat-8.5.23/bin/catalina.sh stop |
| public class AccountAuthenticator extends AbstractAccountAuthenticator { | |
| private final Context context; | |
| @Inject @ClientId String clientId; | |
| @Inject @ClientSecret String clientSecret; | |
| @Inject ApiService apiService; | |
| public AccountAuthenticator(Context context) { | |
| super(context); |
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=www-data # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group | |
| WP_ROOT=$1 # <-- wordpress root directory |
| package com.ingartek.transporte.estimat.configuration; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import javax.sql.DataSource; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.beans.factory.annotation.Autowired; |
| #rest of the file ... | |
| elif [ "$1" = "configtest" ] ; then | |
| eval "\"$_RUNJAVA\"" $LOGGING_MANAGER $JAVA_OPTS \ | |
| -classpath "\"$CLASSPATH\"" \ | |
| -Dcatalina.base="\"$CATALINA_BASE\"" \ | |
| -Dcatalina.home="\"$CATALINA_HOME\"" \ | |
| -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \ | |
| org.apache.catalina.startup.Bootstrap configtest |
| import java.io.File; | |
| import java.util.Optional; | |
| import org.springframework.stereotype.Component; | |
| @Component | |
| public class SpringResourceFileLoader { | |
| /** | |
| * Obtiene un fichero desde el directorio resources |
I hereby claim:
To claim this, I am signing this object: