Author: Sean Gillies Version: 1.0
This document describes a GeoJSON-like protocol for geo-spatial (GIS) vector data.
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
## This script uses Microsoft's Z3 SMT solver | |
## to determine the chromatic number (and corresponding coloring) of graphs. | |
## | |
## Author: Preetum Nakkiran, 2014 | |
from z3 import * | |
def color(V, E, k): | |
""" | |
Attempt to color the graph G(V, E) with k colors |
#!/bin/sh | |
# $2 is the /dev/mapper/IDENTIFIER | |
# $3 is the name of the cache, as specified by Flashcache | |
# Tune parameters | |
sysctl -w "dev.flashcache.$3.fallow_delay=3600" | |
sysctl -w "dev.flashcache.$3.dirty_thresh_pct=80" | |
# Verify disk structure |
#!/usr/bin/python | |
import sys | |
import argparse, json, base64, struct | |
import urllib2 | |
from datetime import datetime | |
LOGS = { | |
'icarus': 'https://ct.googleapis.com/icarus', | |
'pilot': 'https://ct.googleapis.com/pilot', |
AMS1 | Amsterdam, The Netherlands | Europe | |
AMS50 | Amsterdam, The Netherlands | Europe | |
ARN1 | Stockholm, Sweden | Europe | |
ATL50 | Atlanta, Georgia | United States | |
ATL52 | Atlanta, Georgia | United States | |
BOM2 | Mumbai, India | India | |
BOM51 | Mumbai, India | India | |
CDG3 | Paris, France | Europe | |
CDG50 | Paris, France | Europe | |
DEL51 | Paris, France | Europe |
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
The Polycom CX300 and similar Plantronics Calisto 540 (P540-M), snom UC600 are originally optimized for Microsoft Lync (Skype for Business) for Windows and Mac but can also be used with Linux. It shows up as a USB audio playback and recording device (this part works immediately out of the box) plus some USB HID (this needs to be made work; see below).
Please use the comments function below if you know the answer to any of the questions
################################################### | |
## | |
## Alertmanager YAML configuration for routing. | |
## | |
## Will route alerts with a code_owner label to the slack-code-owners receiver | |
## configured above, but will continue processing them to send to both a | |
## central Slack channel (slack-monitoring) and PagerDuty receivers | |
## (pd-warning and pd-critical) | |
## |