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/sh | |
# Configuration settings for Logstash in /etc/rc.conf: | |
# | |
# logstash14_enable (bool): | |
# Default value: "NO" | |
# Flag that determines whether Logstash is enabled. | |
# | |
# logstash14_home (string): | |
# Default value: "/opt/logstash-1.4.1" |
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/sh | |
# This script resizes all SVG files svg/*.svg to PNG files with the desired | |
# width. This script assumes that the following source and output directories | |
# already exist: | |
# * svg/ | |
# * png/w | |
# for each target width w. | |
# Loop on the list of desired widths. |
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
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
# $Id$ | |
PortSystem 1.0 | |
name fswatch | |
version 1.3.9 | |
categories sysutils | |
platforms darwin |
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
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
# $Id$ | |
PortSystem 1.0 | |
PortGroup github 1.0 | |
github.setup emcrisostomo fswatch 1.3.9 | |
github.tarball_from releases | |
categories sysutils |
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
$ mkdir /ports # If it does not exist | |
$ mkdir /ports/sysutils # If it does not exist | |
$ mkdir /ports/sysutils/fswatch | |
$ mv /path/to/Portfile \ # Create or edit the Portfile | |
/ports/sysutils/fswatch | |
$ chown -R macports:macports /ports | |
$ cd /ports && portindex |
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
export APACHE_LOG_DIR=/var/log/apache |
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
<VirtualHost *:80> | |
ServerName drupal.host.name | |
DocumentRoot /usr/local/www/drupal7 | |
<Directory "/usr/local/www/drupal7"> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> |
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
/** | |
* External access proxy settings: | |
* | |
* If your site must access the Internet via a web proxy then you can enter | |
* the proxy settings here. Currently only basic authentication is supported | |
* by using the username and password variables. The proxy_user_agent variable | |
* can be set to NULL for proxies that require no User-Agent header or to a | |
* non-empty string for proxies that limit requests to a specific agent. The | |
* proxy_exceptions variable is an array of host names to be accessed directly, | |
* not via proxy. |
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
<?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.gnu.emacs.daemon</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/bin/emacs</string> |
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
function emacs() | |
{ | |
# -c creates a new frame | |
# -a= fires a new emacs server if none is running | |
emacsclient -c -a= $* | |
} |
OlderNewer