This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOSTLAPTOP:Sites % docker run -it -v `pwd`:/host jekyll/jekyll bash | |
Starting services. | |
root@eb4d2d2fa755:/srv/jekyll# cd /host/ | |
root@eb4d2d2fa755:/host# jekyll new my-jekyll-site | |
New jekyll site installed in /host/my-jekyll-site. | |
root@eb4d2d2fa755:/host# exit | |
Stopping services. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
# Set some local variables | |
PRIVATE_IP=`curl -s http://169.254.169.254/latest/meta-data/local-ipv4` | |
PUBLIC_IP=`curl -s http://169.254.169.254/latest/meta-data/public-ipv4` | |
VPN_DNSHOST=`grep -o "nameserver.*" /etc/resolv.conf | awk '{print $2}'` | |
yum install -y libreswan ppp xl2tpd | |
# Setup IPSEC Tunnel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /opt/zookeeper/conf/java.env | |
ZOO_LOG4J_PROP="INFO,ROLLINGFILE" | |
ZOO_LOG_DIR="/var/log/zookeeper/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# | |
# Pass this script an AWS access key ID and it will show you what IAM user | |
# has that key. | |
# | |
# Usage: | |
# aws-access-key-to-iam-name some_key_id | |
# | |
readonly PROGNAME=$(basename $0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@my-server ~]# gdb /usr/local/nginx/sbin/nginx /tmp/core_dumps/99_27290_nginx | |
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) | |
Copyright (C) 2010 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-redhat-linux-gnu". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0: Blues | |
1: Classic Rock | |
2: Country | |
3: Dance | |
4: Disco | |
5: Funk | |
6: Grunge | |
7: Hip-Hop | |
8: Jazz | |
9: Metal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---- Makefile for Vermaden's FreeBSD 9.1 root on ZFS manual install | |
# $Id: Makefile,v 1.18 2013/08/07 13:31:29 root Exp root $ | |
# | |
# Copyright (c) 2013 Adriaan van Roosmalen <j65nko daemonforums.org>> | |
# | |
# Permission to use, copy, modify, and distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PUBLIC KEY----- | |
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAz5AyqTgEKtSUwirzwpQV | |
j1p00tQIa2z6Xge72rx5JFQInuREhP8S7j20DiG+YOO8NSGMbamrWSfZX9QcbebZ | |
ZtKIfMtI7NP+QoJruknRQi6fGUa2x7kLNEzYvExtBJIqaS7A1kg4HAcvmXznW/ub | |
JDxXESLL79hs8ZBjMIX0QEkLYtA7V5qLXp6m0i7DSgutHfWeBwdsqQtxv7zLpGBM | |
GJqTDYVcLnQBiirXnQ99Nko2bA2h1JIukJ0Ws/UtS5YnS70kOFLCTLasMPV0mwMl | |
+NRya9cx0/9CwlZr96CxiHiHqv6vSSWUw2NjyXBC1onAhi3w9lFRrdvUjTbENdOl | |
KCs18o4Q3ZlgKRjo4pP52BNV09GjhLroGyTr+4M/FjhwBVI5hleOLc6x7AhpBMHq | |
lX1F6tdQyLMOVmFnLzWgZen30cTIfOWQJ7zp27Yzr3ruy/U2wyIX800MC8H15lUl | |
gCO6OFPXEnoaD5qBAe+7bYD+4DHZUMhkHOiWcPJyYJabsucMhCuI1Xt7UzO1D51F |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set ft=pf | |
# /etc/pf.conf | |
ext_if="vtnet0" | |
webports = "{http, https}" | |
int_tcp_services = "{domain, ntp, smtp, www, https, ftp}" | |
int_udp_services = "{domain, ntp}" | |
set skip on lo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
accessibility/redshift | |
audio/abcde | |
audio/mpc | |
audio/musicpd | |
audio/ncmpcpp | |
audio/opus-tools | |
audio/picard | |
audio/py-musicbrainz2 | |
databases/couchdb | |
databases/mariadb55-server |