Skip to content

Instantly share code, notes, and snippets.

View vega113's full-sized avatar

Yuri Z. vega113

  • Ramat Gan, Israel
  • 08:44 (UTC +02:00)
View GitHub Profile
@grobmeier
grobmeier / gist:b5eb58bdee96becf0cab
Created April 3, 2015 09:16
Check Wave Artifacts
#!/bin/sh
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2.asc
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2.sha
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip.asc
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip.sha
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-src-0.4.0-alpha.tar.bz2
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/w
@staltz
staltz / introrx.md
Last active November 17, 2024 01:08
The introduction to Reactive Programming you've been missing
@rodw
rodw / pid-file-daemon.sh
Created August 14, 2012 01:53
Bash script that uses a PID file to add daemon-like start/stop/status behavior to an arbitrary program.
#!/bin/bash
# Uses a PID file to add daemon-like behavior to an arbitrary program.
################################################################################
usage() {
echo "Usage: `basename $0` PROGRAM {start|stop|restart|force-stop|force-restart|status} [PIDFILE|PID]" >&2
echo "Where: PROGRAM is an executable file." >&2
echo " PIDFILE is the file that contains (or will contain) the PID." >&2
echo " PID is a process id to use in place of a PIDFILE." >&2
}