How to use [zaiste/postgresql][1] Docker container.
Docker >= 0.5.0 required.
docker pull zaiste/postgresql
| #!/bin/sh | |
| # | |
| # Simple Firewall configuration. | |
| # | |
| # Author: Nicolargo | |
| # | |
| # chkconfig: 2345 9 91 | |
| # description: Activates/Deactivates the firewall at boot time | |
| # | |
| ### BEGIN INIT INFO |
| class Dashing.Pie extends Dashing.Widget | |
| @accessor 'value' | |
| onData: (data) -> | |
| @render(data.value) | |
| render: (data) -> | |
| if(!data) | |
| data = @get("value") | |
| if(!data) |
| #!/usr/bin/env bash | |
| # | |
| # This is sp, the command-line Spotify controller. It talks to a running | |
| # instance of the Spotify Linux client over dbus, providing an interface not | |
| # unlike mpc. | |
| # | |
| # Put differently, it allows you to control Spotify without leaving the comfort | |
| # of your command line, and without a custom client or Premium subscription. | |
| # |
| # Complete words from tmux pane(s) {{{1 | |
| # Source: http://blog.plenz.com/2012-01/zsh-complete-words-from-tmux-pane.html | |
| # Gist: https://gist.github.com/blueyed/6856354 | |
| _tmux_pane_words() { | |
| local expl | |
| local -a w | |
| if [[ -z "$TMUX_PANE" ]]; then | |
| _message "not running inside tmux!" | |
| return 1 | |
| fi |
| # MySQL service | |
| # | |
| # Version 0.0.1 | |
| FROM ubuntu | |
| MAINTAINER support@caseblocks | |
| RUN dpkg-divert --local --rename --add /sbin/initctl | |
| RUN ln -s /bin/true /sbin/initctl |
| (require 'offlineimap) | |
| (add-to-list 'load-path "~/.emacs.d/lib/mu4e") | |
| (require 'mu4e) | |
| (require 'mu4e-maildirs-extension) | |
| (mu4e-maildirs-extension) | |
| (setq mu4e-drafts-folder "/drafts" | |
| mu4e-sent-folder "/sent" | |
| mu4e-trash-folder "/trash") | |
| (setq mu4e-maildir-shortcuts |
This is a simple widget that lets you render pie charts in Dashing. Forked from stevenleeg/pie.coffee It looks a little bit like this:
dashboard.erb:
| { config, pkgs, ... }: | |
| { | |
| require = [ | |
| <nixos/modules/programs/virtualbox.nix> | |
| ./hardware.nix | |
| ./monitors.nix | |
| # ./mailpile.nix | |
| ]; |