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 | |
# Amazon Linux AMI startup script for a supervisor instance | |
# | |
# chkconfig: 2345 80 20 | |
# description: Autostarts supervisord. | |
# Source function library. | |
. /etc/rc.d/init.d/functions | |
supervisorctl="/usr/bin/supervisorctl" |
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
require 'capistrano/ext/multistage' | |
require "bundler/capistrano" | |
#use local key for authentication | |
ssh_options[:forward_agent] = true | |
default_run_options[:pty] = true | |
set :application, 'awesome' | |
set :repository, "git@github.com:zurb/awesome.git" |
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
unbind C-b | |
set -g prefix C-s | |
unbind + | |
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom | |
unbind - | |
bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom | |
bind r source-file ~/.tmux.conf \; display "configuration file reloaded." | |
#set window numbering at 1 | |
set -g base-index 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
<h2>Server: <cfoutput>#CGI.SERVER_NAME#</cfoutput></h2> | |
<p> | |
The following ColdFusion DSN's are available on this server: | |
</p> | |
<cfscript> | |
// Instantiate CF Admin API | |
adminObj = createObject("component","cfide.adminapi.administrator"); |
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
const https = require("https"); | |
const util = require("util"); | |
const SLACK_WEBHOOK_PATH = process.env.SLACK_WEBHOOK_PATH; | |
const SLACK_CHANNEL = process.env.SLACK_CHANNEL; | |
const SLACK_USERNAME = process.env.SLACK_USERNAME || "aws"; | |
const SLACK_EMOJI = process.env.SLACK_EMOJI || ":aws:"; | |
function noop (ret) { | |
if (ret) { |
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
<?php | |
if(isset($_POST['email'])) { | |
$name = trim($_POST['name']); | |
$email = trim($_POST['email']); | |
$subject = trim($_POST['subject']); | |
$message = trim($_POST['message']); | |
if (preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/i", $email)) { | |
$to = "me@example.com"; | |
$email_subject = "Contact Form Submission | $name"; |
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 PATH="$HOME/.rbenv/bin:$PATH:/usr/local/mysql/bin" | |
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib | |
eval "$(rbenv init -)" |
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
<div class="pie-timer deg-0"></div> | |
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
<div class="chart under-half"></div> | |
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
<div class="pie-timer deg-350"> | |
<div class="before"></div> | |
<div class="after"></div> | |
</div> |
NewerOlder