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 | |
7z a -x'!*/.git' $1.7z $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
# First just shows how to mount a UNC path | |
# Second just puts Google Drive somewhere useful | |
//<servername>/<path> /mnt/<path> smbfs acl,binary,nouser,posix=1 0 0 | |
C:/Users/<username>/Google\040Drive /mnt/google smbfs acl,binary,nouser,posix=1 0 0 |
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
mkdir ~/app-root/data/tmp | |
mysqldump -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD" --all-databases > ~/app-root/data/tmp//all.sql |
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 | |
lc() { | |
for i in * ; do j="$(echo $i | tr '[:upper:]' '[:lower:]' | tr ' ' '-' )" ; [ "$i" != "$j" ] && mv "$i" "$j"; 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
Name | Base OS | Java Vendor | JRE/JDK | Tomcat | Size (MiB) | |
---|---|---|---|---|---|---|
alpine:3.7 | Alpine | 4 | ||||
gcr.io/distroless/base | distroless | 16 | ||||
openjdk:8-jre-alpine | Alpine | OpenJDK | JRE | 78 | ||
openjdk:8-jdk-alpine | Alpine | OpenJDK | JDK | 97 | ||
tomcat:8.5-alpine | Alpine | OpenJDK | JRE | 8.5 | 101 | |
nicdoye/micro-tomcat-jre | distroless | OpenJDK | JRE | 8.5 | 142 | |
nicdoye/micro-tomcat-jdk | distroless | OpenJDK | JDK | 8.5 | 179 | |
tomcat:8.5-slim | Debian Slim | OpenJDK | JRE | 8.5 | 213 | |
alfresco/alfresco-base-java:8 | CentOS | Oracle | JDK | 468 |
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
docker inspect openjdk:8-jdk-alpine | jq '.[] | "\(.Size) \(.RepoTags[0])"' |
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
[paths] | |
/hg/ = /srv/hg/repos/* | |
[web] | |
style = gitweb | |
staticurl = /hg/static | |
allow_push = * |
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
[uwsgi] | |
uid = uwsgi | |
gid = uwsgi | |
pidfile = /run/uwsgi/uwsgi.pid | |
emperor = /etc/uwsgi.d | |
stats = /run/uwsgi/stats.sock | |
chmod-socket = 660 | |
emperor-tyrant = true | |
cap = setgid,setuid | |
; https://www.mercurial-scm.org/wiki/PublishRepositoriesOnNginx |
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
location /hg/ { | |
uwsgi_pass unix:/run/uwsgi/hgweb.sock; | |
include uwsgi_params; | |
auth_basic "Mercurial repository"; | |
auth_basic_user_file /etc/nginx/htpasswd; | |
client_max_body_size 0; | |
} |
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 | |
# | |
# activemq Starts ActiveMQ. | |
# | |
# | |
# chkconfig: 345 88 12 | |
# description: ActiveMQ is a JMS Messaging Queue Server. | |
### BEGIN INIT INFO | |
# Provides: activemq | |
### END INIT INFO |
NewerOlder