<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
# Install tmux on Centos release 6.6 | |
# wget -O - https://gist.githubusercontent.com/edderrd/ffc8b4b166345d399ce6/raw/9952c2381ecf5fa61665be9d6cf03e0b2c534a29/install-tmux | bash | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
tar -xf libevent-2.0.22-stable.tar.gz | |
cd libevent-2.0.22-stable |
#!/bin/bash | |
# Usage: slackpost <message> | |
# Enter the name of your slack host here - the thing that appears in your URL: | |
# https://slackhost.slack.com/ | |
webhook=PUT_YOUR_HOST_HERE | |
shift |
#!/bin/bash | |
# vvv execute it directly vvv | |
# wget -O - https://gist.githubusercontent.com/edderrd/7451da41d049460f291d/raw/7360ed286a77ffafed43c4c3b829dbead72d940d/installtmux.sh | bash | |
wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz | |
curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
[ -e tmux-1.8.tar.gz -a -e libevent-2.0.21-stable.tar.gz ] || { | |
echo "ERROR: Archive not found" |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/usr/bin/ruby | |
# finished: a quick script to notify you when a command is done using Mountain Lion notifications | |
# It grabs the current folder as the title and takes one argument as the message | |
# Example: make && make install && finished "Done compiling" || finished "compiler failed" | |
# | |
# Needs the terminal-notifier gem : `gem install terminal-notifier` | |
# Can alternately be used with the CLI <https://github.com/alloy/terminal-notifier> | |
# (remove require block below and swap comment lines at the bottom) | |
require 'rubygems' |
load "deploy" | |
set :application, "App Name" # Your app name | |
set :repository, "[email protected]:xxxxx/xxx.git" # Your git repository | |
set :user, "user_ssh" | |
set :document_root, "/home/#{user}/www/awesome_app" | |
set :deploy_via, :remote_cache | |
# SSH Settings |
# Don't add the Local settings file to the repository # | |
htdocs/wp-config-local.php | |
# If using SASS to compile stylesheets this saves conflicts, plus there not needed! # | |
htdocs/wp-content/themes/YOURTHEME/.sass-cache/* | |
# No need to add the upgrade folder to the repo # | |
htdocs/wp-content/upgrade/* | |
# sitemaps not needed locally # |
/* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
* http://benalman.com/ | |
* Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
(function($) { | |
var o = $({}); | |
$.subscribe = function() { | |
o.on.apply(o, arguments); |