There're a lot of combinations to manage your email with emacs, but this works for me. I've a backup and I can manage my daily email.
The stack:
- emacs
- offlineimap
- mu
- mu4e
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
<!-- Add the following lines to theme's html code right before </head> --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
<!-- | |
Usage: just add <div class="gist">[gist URL]</div> | |
Example: <div class="gist">https://gist.github.com/1395926</div> | |
--> |
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |
From barebox /next branch, as of 4ed7dad60bfbef20ef2de191c20f0a8da66bde56 | |
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- am335x_beaglebone_mlo_large_defconfig | |
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- | |
$ cp MLO /media/F84E-1690/ | |
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- am335x_beaglebone_defconfig | |
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- | |
$ cp barebox-flash-image /media/F84E-1960/barebox.bin | |
Boot output: |
# Ensure we're in a virtualenv. | |
if [ "$VIRTUAL_ENV" == "" ] | |
then | |
echo "ERROR: not in a virtual environment." | |
exit -1 | |
fi | |
# Setup variables. | |
CACHE="/tmp/install-pygtk-$$" |
#!/bin/bash | |
# for a blogpost on this, check: http://www.aktau.be/2013/09/22/detecting-interlaced-video-with-ffmpeg/ | |
# detect interlacing with the ffmpeg "idet" filter, the longer | |
# you let this run, the better, though it's never 100% accurate | |
# flags: | |
# -an = discard audio, we don't need it | |
# -f rawvideo = output raw video |
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
#!/bin/sh | |
###################################################### | |
# Create a new SFTP user and configure their chroot | |
###################################################### | |
if [ $# -ne 2 ]; then | |
echo "Usage: add_sftp_user.sh username password" | |
exit 0 | |
fi |
#!/usr/bin/env bash | |
if [ $# -eq 0 ]; then | |
printf 1 "Usage: $(basename $0) [build-args [-- run-args [-- cmd-args] ] ]" | |
printf 1 " NOTE!!! the -rm-flag is hardcoded for build!" | |
fi | |
BUILD_ARG=() | |
RUN_ARG=() | |
CMD_ARG=() |