I hereby claim:
- I am yggdrasil on github.
- I am yggdrasil (https://keybase.io/yggdrasil) on keybase.
- I have a public key whose fingerprint is 8D8F A94C A1CB 4012 C38C AA36 12CC 0B4A DB8A F978
To claim this, I am signing this object:
VERSION="1.9.2" | |
PATCH="180" | |
DPKG_BUILD_ARCH="$(dpkg --print-architecture)" | |
set -e | |
DESTDIR="$(mktemp -d)" | |
debra create "$DESTDIR" | |
trap "debra destroy \"$DESTDIR\"" EXIT |
location /hooks { | |
alias /srv/hooks/public; | |
passenger_enabled on; | |
} |
exec { "apt-get update": | |
refreshonly => true, | |
schedule => daily, | |
} | |
Exec["apt-get update"] -> Package <| |> |
# Class: base::swap | |
# | |
# This class manages swapspace on a node. | |
# | |
# Parameters: | |
# - $ensure Allows creation or removal of swapspace and the corresponding file. | |
# - $swapfile Defaults to /mnt which is a fast ephemeral filesystem on EC2 instances. | |
# This keeps performance reasonable while avoiding I/O charges on EBS. | |
# - $swapfilesize Size of the swapfile in MB. Defaults to memory size, but see Requires. | |
# |
# Class: users | |
# | |
# This module manages users | |
# | |
# Parameters: | |
# | |
# Actions: | |
# | |
# Requires: | |
# |
#!/bin/bash | |
# Intial git svn clone: | |
# git svn clone --prefix=svn/ -A ~/.svn2git/authors -s https://svn.wxwidgets.org/svn/wx/wxWidgets wxWidgets | |
cd ~/svn-git-mirrors/wxWidgets; | |
if [ -f .sync-running-wxWidgets ]; then exit 1; fi; | |
touch .sync-running-wxWidgets |
I hereby claim:
To claim this, I am signing this object:
# It can be useful to pull the list of Pingdom probe servers and format it for various applications, such as ACLs or whitelists. | |
# We simply use the RSS-feed and some Bash-scripting. | |
# For example, an Apache access-list: | |
printf "# Pingdom servers at %s\nAllow from " "$(date -u +%F' '%T' '%Z)" ; \ | |
wget -qO- https://my.pingdom.com/probes/feed \ | |
| awk '/IP: / {print $2}' | awk -F';' '{print$1}' | sort -n \ | |
| while read ip; do \ | |
printf "%s " "$ip" ; | |
done | sed 's/ $//' ; echo |
(function () { | |
var perfBar = function(budget) { | |
window.onload = function() { | |
window.performance = window.performance || window.mozPerformance || window.msPerformance || window.webkitPerformance || {}; | |
var timing = window.performance.timing, | |
now = new Date().getTime(), | |
output, loadTime; |
############################################################ | |
# Speedup DPKG and don't use cache for packages | |
############################################################ | |
# Taken from here: https://gist.github.com/kwk/55bb5b6a4b7457bef38d | |
# | |
# this forces dpkg not to call sync() after package extraction and speeds up | |
# install | |
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup | |
# | |
# we don't need and apt cache in a container |