THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
var fs = require('fs'), | |
path = require('path'), | |
_ = require('underscore'), | |
when = require('when'), | |
express = require('express'), | |
GhostPlugin = require('../../../core/server/plugins/GhostPlugin'), | |
knex = require('../../../core/server/models/base').Knex, | |
KudosPlugin; | |
KudosPlugin = function (ghost) { |
If you love deploying websites using Github, but for some reason want to use your own server, this script might be exactly what you need.
github.php
somewhere on your PHP-enabled web server, and make it
accessible for the outside world. Let's say for now the script lives
on http://example.com/github.phpbrew install vpnc --hybrid
ls /dev/tun*
. If there are none, install "Tun Tap OSX" (see below)openssl x509 -in <certificateFile>.pem -noout -hash
<certificateFile>.pem
to the output of (5) with .pem
as extension.pem
certificate to a permanent location, e.g. /etc/ssl/certs/
/usr/local/etc/vpnc/default.conf
in your favorite text editor, delete the contentspcf2vpnc /.pcf
and paste the output to your open text editorclass ActionDispatch::Routing::Mapper | |
def draw(routes_name) | |
instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb"))) | |
end | |
end | |
BCX::Application.routes.draw do | |
draw :api | |
draw :account | |
draw :session |
# Latex files | |
*.aux | |
*.glo | |
*.idx | |
*.log | |
*.toc | |
*.ist | |
*.acn | |
*.acr |
Overview | |
-------- | |
This file is invoked when switching from a standalone Macbook Pro display to a Apple Cinema display. | |
Originally, the only problem I was trying to solve was to move my dock from the side of the screen to | |
the bottom (which it does), but then after diving deeper in to the Applescript API's, it became obvious | |
to me that there was no limit to what I can configure. | |
Details | |
------- | |
The flow of the script is as follows: |