Skip to content

Instantly share code, notes, and snippets.

View robotsandcake's full-sized avatar
💭
Groovy

Stuart robotsandcake

💭
Groovy
View GitHub Profile
require "rubygems"
require "bundler/setup"
require "stringex"
## -- Rsync Deploy config -- ##
# Be sure your public key is listed in your server's ~/.ssh/authorized_keys file
ssh_user = "[email protected]"
ssh_port = "22"
document_root = "~/website.com/"
rsync_delete = false
tell application "Google Chrome"
activate
set theUrl to "http://server.network:8000/live?cameraNum=0&viewMethod=0&imageSize=0&57229"
if (count every window) = 0 then
make new window
end if
set found to false
set theTabIndex to -1
@robotsandcake
robotsandcake / ssl-nginx-virtualhost-configuration
Created October 5, 2013 09:13
Example SSL nginx virtual host consideration
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
tell application "Google Chrome"
activate
set theUrl to "http://tycho.usno.navy.mil/cgi-bin/timer.pl"
if (count every window) = 0 then
make new window
end if
set found to false
set theTabIndex to -1
require "rubygems"
require "bundler/setup"
require "stringex"
require "twitter"
## -- Rsync Deploy config -- ##
# Be sure your public key is listed in your server's ~/.ssh/authorized_keys file
ssh_user = "[email protected]"
ssh_port = "22"
document_root = "~/website.com/"
@robotsandcake
robotsandcake / 0x6B7DE2FD
Last active December 31, 2015 15:09
My PGP Key.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFJRRUQBEADITzP+wLxlbiaeRUsUEptdZXLIrfgde/HZdrfhprGhppgE6PLCegJc0mHm
6GDxb8Xt+p6uORo9edLYO9Yofhri8D0jGq12GS8n2gO/bKNyUIoo8uWxFXZ2oBIUeuSkk7gs
5A5gCaG6+a3Ov8Bke/4Dh7d4mEQdwQI5e7V1Cim0rvoi2+rktS8yBj5pGtj708SM6KMMVSAM
ZcFTr0Ptm4wM8Cq7wTgHWSiCmUYiHRQDzYm7eGKopkNJp9kTDW6lOoaGZPcJn8iXqi50rBZL
p3AYm1GL2UDxeyqc3qawLMn/iC1HLvACa1l9V+NsfnN4GhW/4b76Z8xgFzZkAShADVmscDcw
kRjSFP7fVut32MyAjgYJfc9UWjE71PO/OxI5fhueEj9plSflRSVvHneI1jWLWD5OFWt34zcO
aQ0tHbgTSuRo8RJ0mnT9TEBsJw+36k4NnomWvnbpOzLjH+7lfG28B1s3m3LBSu5X3kdsbE4q
obgm7WJPIjZTa9Z0lsyCu+qK0IXwEBw2bZhmbJuOXUQj+s0N+CAB5DCQaH4Cz0VlpCvXWZot
<?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>mac.bitlbee</string>
<key>ProgramArguments</key>
<array>