Skip to content

Instantly share code, notes, and snippets.

gizmo_tronic gizmotronic

Block or report user

Report or block gizmotronic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gizmotronic / Dockerfile
Last active Apr 10, 2019
How to run the official Atlassian Bamboo Server image using a context path
View Dockerfile
FROM atlassian/bamboo-server:6.8.1
LABEL maintainer=""
RUN sed -i -e 's/Context path=""/Context path="${com.example.catalina.ContextPath}"/' ${BAMBOO_SERVER_INSTALL_DIR}/conf/server.xml
gizmotronic / user_data
Last active Jun 8, 2019
RancherOS cloud-config snippet for alternate SSH port
View user_data
- [ sed, -i, -e, "/^#*[\\s]*Port\\s.*/s//Port 1022/", /etc/ssh/sshd_config ]
gizmotronic / post-receive
Last active Jun 14, 2018
Mirror gitlab repository via post-receive
View post-receive
REPOPATH=`dirname $0`
REPOPATH=`cd -P "${REPOPATH}/.."; pwd`
cd "${REPOPATH}"
REPONAME=`basename "${REPOPATH}"`
gizmotronic /
Created Jun 30, 2013
Compare Node.js event signaling using callbacks vs. the event emitter class
EventEmitter = require('events').EventEmitter
class TestSubject extends EventEmitter
constructor: (callback) ->
@callback = callback
start: ->
started =
while ( - started) < 10000
@emit 'fire'

#Flash, java, mp3 and mp4 and pdf support for Chromium OS builds by hexxeh

This script downloads and installs libraries needed for Chromium, so that you can actually "TEST" multimedia experience.

##How to use?

Simply run as root user

curl -L | bash
You can’t perform that action at this time.