- download the Natural Earth 1:10m Time Zone Data (GeoJSON available from CartoDB)
- run
topojson --post-quantization 1e3 --simplify 1e-5 --out timezones.json -- ne_10m_time_zones.geojson
The result is this 181 KB timezones.json
(36 KB with gzip)
# To use: change gmail's settings to: | |
# enable imap: | |
# Gmail Settings | |
# Forwarding and POP/IMAP | |
# create an app password | |
# App passwords | |
# https://myaccount.google.com/security | |
set imap_login = "" | |
set imap_pass = "XXXXXXXXXXXXXXXX" |
/* | |
* Copyright Datalogics, Inc. 2015 | |
*/ | |
package pdfjt.cookbook.forms; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.net.URLConnection; |
topojson --post-quantization 1e3 --simplify 1e-5 --out timezones.json -- ne_10m_time_zones.geojson
The result is this 181 KB timezones.json
(36 KB with gzip)
#! /bin/bash | |
# | |
# Diffusion youtube avec ffmpeg | |
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
VBR="2500k" # Bitrate de la vidéo en sortie | |
FPS="30" # FPS de la vidéo en sortie | |
QUAL="medium" # Preset de qualité FFMPEG | |
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)
Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this
# Description: | |
# Submit time query to www.timeapi.org | |
# | |
# Commands: | |
# hubot time - Current time in UTC | |
# hubot time <timezone> - Current time in timezone | |
# hubot time <timezone> <query> - Time in timezone based on query | |
module.exports = (robot) -> |
A “Role” is an organizational entity with a “Purpose” to express, “Domains” to control, and “Accountabilities” to perform.
When filling a Role, a Partner accepts the following responsibilities:
A Partner is responsible for sensing “Tensions” for that Role and processing them. A Tension is a gap between what is, and what could be better.
A Partner is responsible for breaking down their Role’s Accountabilities into Projects and Next-Actions to move them forward. A Project is an outcome to achieve, and a Next-Action is a concrete, physical action that could be executed immediately if time allowed.
#!/usr/bin/env ruby | |
# | |
# this is a special meta-check. It runs ping checks against all hosts in | |
# the /endpoints API and sends individual results directly to sensu-client via | |
# the udp/3030 client socket. this is different from the normal sensu check model | |
# where individual scripts run and their exit status and output is used to create | |
# a single event. | |
# | |
# the reason for this check is to be able to dynamically ping a list of hosts | |
# without the race conditions and timing issues involved with creating individual |
#!/bin/bash | |
# Setup and start Sauce Connect for your TravisCI build | |
# This script requires your .travis.yml to include the following two private env variables: | |
# SAUCE_USERNAME | |
# SAUCE_ACCESS_KEY | |
# Follow the steps at https://saucelabs.com/opensource/travis to set that up. | |
# | |
# Curl and run this script as part of your .travis.yml before_script section: | |
# before_script: |
#!/bin/bash | |
# Setup and start Sauce Connect for your TravisCI build | |
# This script requires your .travis.yml to include the following two private env variables: | |
# SAUCE_USERNAME | |
# SAUCE_ACCESS_KEY | |
# Follow the steps at https://saucelabs.com/opensource/travis to set that up. | |
# | |
# Curl and run this script as part of your .travis.yml before_script section: | |
# before_script: |