Open the postgresql.conf config file:
$> mate /usr/local/var/postgres/postgresql.conf
Uncomment the line with 'log_destination' and set it to 'syslog'
log_destination = 'syslog'
Open the syslog config:
| How to setup Heroku Hostname SSL with GoDaddy SSL Certificate and Zerigo DNS | |
| Heroku recently added an exciting new 'Hostname SSL' option. This option offers the broad compatibility of IP-based SSL, but at 1/5 the price ($20 / month at the time of this writing). | |
| The following tutorial explains how to use Heroku's new 'Hostname SSL' option on your Heroku project. Before we begin, let's list what we're using here: | |
| * Heroku Hostname SSL | |
| * GoDaddy Standard SSL Certificate | |
| * Zerigo DNS |
| <?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>DVTConsoleDebuggerInputTextColor</key> | |
| <string>1 1 1 1</string> | |
| <key>DVTConsoleDebuggerInputTextFont</key> | |
| <string>Menlo-Bold - 11.0</string> | |
| <key>DVTConsoleDebuggerOutputTextColor</key> | |
| <string>1 1 1 1</string> |
Open the postgresql.conf config file:
$> mate /usr/local/var/postgres/postgresql.conf
Uncomment the line with 'log_destination' and set it to 'syslog'
log_destination = 'syslog'
Open the syslog config:
| /** | |
| * @license handlebars tmpl 0.1.0 - Alex Sexton, but Handlebars has it's own licensing junk | |
| * | |
| * Available via the MIT or new BSD license. | |
| * see: http://github.com/jrburke/require-cs for details on the plugin this was based off of | |
| */ | |
| /* Yes, deliciously evil. */ | |
| /*jslint evil: true, strict: false, plusplus: false, regexp: false */ | |
| /*global require: false, XMLHttpRequest: false, ActiveXObject: false, |
| require "json" | |
| class HandlebarsFilter < Rake::Pipeline::Filter | |
| def initialize(&block) | |
| block ||= proc { |input| input.sub(/\.handlebars$/, '.js') } | |
| super(&block) | |
| end | |
| def generate_output(inputs, output) | |
| inputs.each do |input| | |
| output.write "return Ember.Handlebars.compile(#{input.read.to_json})" |
| class StylusFilter < Rake::Pipeline::Filter | |
| def initialize(&block) | |
| block ||= proc { |input| input.sub(/\.styl$/, '.css') } | |
| super(&block) | |
| end | |
| def generate_output(inputs, output) | |
| inputs.each do |input| | |
| output.write `stylus #{input.fullpath}` |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| // Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
| // Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
| // Licensed under MIT (http://opensource.org/licenses/MIT) | |
| // | |
| // You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
| // PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> |
| // | |
| // SnapViewController.m | |
| // DynamicsExample | |
| // | |
| // Created by Bryan Irace on 3/8/14. | |
| // Copyright (c) 2014 Bryan Irace. All rights reserved. | |
| // | |
| #import "SnapViewController.h" |