- Project Requirements
- Configuration Management
- CI/CD
- Service Level Managment Requirements
- Monitoring
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/zsh | |
# If you use #'s for defer and start dates, you'll need to escape the #'s or | |
# quote the whole string. | |
function of () { | |
if [[ $# -eq 0 ]]; then | |
open -a "OmniFocus" | |
else | |
osascript <<EOT |
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/bash | |
# A port of ZFS stats for FreeBSD plugin to Linux, adapted to send metrics to statsd. | |
# | |
# Author: Daniele Valeriani <daniele@valeriani.co.uk> | |
# Author of the original munin plugin: David Bjornsson <dabb@lolnet.is> | |
# Author of the Linux port: Alex Chistyakov <alexclear@gmail.com> | |
PREFIX="servers.`hostname`.zfs" | |
STATSD_ADDR="YOUR STATSD SERVER" |
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 'chef/provisioning/aws_driver' | |
require 'byebug' | |
current_dir = File.dirname(__FILE__) # to get relative files... encrypted databag | |
with_chef_server "https://api.chef.io/organizations/#{ENV['CHEF_ORG']}", | |
:client_name => Chef::Config[:node_name], | |
:signing_key_filename => Chef::Config[:client_key] | |
setup_winrm_ssl_user_data = <<EOD | |
<powershell> |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
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
Favorites: | |
Unrefined: | |
!(@home|@$WIFE|@phone|@laptop|@desk|@errand|@office|##$EMPLOYER|##Someday/Maybe) & !search:* | | |
(no priority & !search:* & !recurring & !##Someday/Maybe) | | |
(!search:: & !##Someday/Maybe & !recurring & !no priority) | | |
##Inbox, | |
(##Someday/Maybe|@not_now) & (!no due date|@next) | |
Home: |
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
#!/usr/bin/env bash | |
set -e | |
CONTEXT="$1" | |
if [[ -z ${CONTEXT} ]]; then | |
echo "Usage: $0 KUBE-CONTEXT" | |
exit 1 | |
fi |
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
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
import todoist | |
from escpos import printer | |
therm = printer.Usb(0x0416, 0x5011) # connect to printer | |
api = todoist.TodoistAPI('79d4d663cc5011ab78cd7004e26a1a060572c823') # connect to todoist | |
api.sync() # get new data from todoist | |
therm.image('name.png') # print header image | |
therm.text('\n') # add a blank line |
OlderNewer