Merge "{title}" (#{id})
{description}
{approvedByList}
// Inspired by https://gist.github.com/tzachz/419478fc8b009e953f5e5dc39f3f3a2a | |
// Task creates a .dot file with all inter-module dependencies | |
// Supports any depth of nested modules | |
task moduleDependencyReport { | |
doLast { | |
def file = new File("project-dependencies.dot") | |
file.delete() | |
file << "strict digraph {\n" | |
file << "splines=ortho\n" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.nuessler.mail.work</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/offlineimap</string> | |
<string>-o</string> |
package com.github.mnuessler.log4j; | |
import org.apache.logging.log4j.Level; | |
import org.apache.logging.log4j.core.Core; | |
import org.apache.logging.log4j.core.LogEvent; | |
import org.apache.logging.log4j.core.appender.rewrite.RewritePolicy; | |
import org.apache.logging.log4j.core.config.plugins.Plugin; | |
import org.apache.logging.log4j.core.config.plugins.PluginFactory; | |
import org.apache.logging.log4j.core.impl.ContextDataFactory; | |
import org.apache.logging.log4j.core.impl.Log4jLogEvent; |
(defun unix-timestamp-to-date () | |
"Prompts for a unix epoch time stamp and converts it to a human-readable date" | |
(interactive) | |
(let* ((time-zone "UTC") | |
(time-unix (seconds-to-time (read-number "Unix epoch time stamp: "))) | |
(time-str (format-time-string "<%Y-%m-%d %a %H:%M:%S>" time-unix time-zone))) | |
(message "Date: %s (%s)" time-str time-zone))) |
Merge "{title}" (#{id})
{description}
{approvedByList}
#GNU Screen Cheat Sheet
##Basics
# A two-line colored Bash prompt (PS1) with Git branch and a line decoration | |
# which adjusts automatically to the width of the terminal. | |
# Recognizes and shows Git, SVN and Fossil branch/revision. | |
# Screenshot: http://img194.imageshack.us/img194/2154/twolineprompt.png | |
# Michal Kottman, 2012 | |
RESET="\[\033[0m\]" | |
RED="\[\033[0;31m\]" | |
GREEN="\[\033[01;32m\]" | |
BLUE="\[\033[01;34m\]" |
log4j.rootLogger=INFO, stdout | |
log4j.logger.sshd_log=INFO, sshd_log | |
log4j.logger.httpd_log=INFO, httpd_log | |
log4j.logger.gc_log=INFO, gc_log | |
log4j.logger.replication_log=INFO, replication_log | |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
log4j.appender.stdout.target=System.out | |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
log4j.apConversionPattern=[%d] %-5p %c %x: %m%n |
# Fix this warning on Debian/Ubuntu: | |
# perl: warning: Setting locale failed. | |
# perl: warning: Please check that your locale settings: | |
# LANGUAGE = (unset), | |
# LC_ALL = (unset), | |
# LANG = "en_US.utf8" | |
# are supported and installed on your system. | |
# perl: warning: Falling back to the standard locale ("C"). | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 |
#!/bin/bash | |
# Not my own creation, copied from: | |
# http://superuser.com/questions/929566/sha256-ssh-fingerprint-given-by-the-client-but-only-md5-fingerprint-known-for-se | |
# standard sshd config path | |
SSHD_CONFIG=/etc/ssh/sshd_config | |
# helper functions | |
function tablize { |