Heroku is a simple way to publish your Rails app, and a powerful platform that will allow it to scale. In this episode, Jay McGavren gets you started with your first Heroku app.
- You WANT Rails to fail locally if a gem isn't in your Gemfile
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'mechanize' | |
MY_NAME = 'Yossef Mendelssohn' | |
CHECKIN_REQUEST_URL = 'http://www.southwest.com/flight/retrieveCheckinDoc.html' | |
prompt = false | |
conf = ARGV[0] |
<?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>org.macports.zabbix_agent</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/share/zabbix/zabbix_agentd.init</string> |
<?php | |
header('Content-type: text/xml'); | |
$message = $_REQUEST['Body']; | |
?> | |
<Response> | |
<Sms to="{{YOUR_NUMBER}}"><?php echo $message; ?></Sms> | |
</Response> |
Heroku is a simple way to publish your Rails app, and a powerful platform that will allow it to scale. In this episode, Jay McGavren gets you started with your first Heroku app.
#!/usr/bin/env python | |
import gevent.monkey | |
gevent.monkey.patch_all() | |
import boto | |
import config | |
import gevent | |
import gevent.pool | |
import os |
#!/usr/bin/python2 | |
# -*- coding: utf-8 -*- | |
""" | |
First test in terminal | |
./sendsms mikko "Test msg" | |
Then connect to Zabbix |
Leads: https://app.futuresimple.com/apis/leads/api/v1/custom_fields.json
Contacts:
#!/bin/bash | |
############################################################################### | |
## ## | |
## Build and package OpenSSL static libraries for OSX/iOS ## | |
## ## | |
## This script is in the public domain. ## | |
## Creator : Laurent Etiemble ## | |
## ## | |
############################################################################### |
NUMBERS_SET = 'numbers' | |
TWILIO_NUMBER = '+12345678900' | |
TWILIO_SID = 'account_sid' | |
TWILIO_TOKEN = 'auth_token' | |
express = require('express') | |
http = require('http') | |
path = require('path') | |
redis = require('redis') | |
app = express() |
--- | |
title: "Visualizing the Clinton Email Network in R" | |
author: "hrbrmstr" | |
date: "`r Sys.Date()`" | |
output: html_document | |
--- | |
```{r include=FALSE} | |
knitr::opts_chunk$set( | |
collapse=TRUE, | |
comment="#>", |