Or the 25 hour work week. Heavily borrowed from cblgh.
The structure is simple:
- 1 pomodoro planning the work day
- 8 pomodoros of work
- 3 pomodoros of break
1+8+3=12 pomodoros,
#!/usr/bin/env sh | |
# Copyright (c) 2015 Nathan Schulte | |
# set LOGIN and API_KEY below -- | |
# see bottom for example use, in this case, checking and updating the default DNS A RR for a domain | |
# 0: request URI, e.g. '/dns/example.com/listRRs' | |
# 1..n: parameters | |
make_request () { | |
LOGIN='' |
# Prometheus Recoding and Alert Rules Collection | |
# Copyright (C) 2017 Matous Jan Fialka, <http://mjf.cz/> | |
# Released under the terms of The MIT License | |
groups: | |
- name: node_common | |
interval: 30s | |
rules: |
Or the 25 hour work week. Heavily borrowed from cblgh.
The structure is simple:
1+8+3=12 pomodoros,
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' cert-name.pem |
#!/usr/bin/env sh | |
vagrant=$(which vagrant) | |
awk=$(which awk) | |
printf "Gathering a list of machines. " | |
machines=$(vagrant global-status --prune 2>/dev/null | vagrant global-status | $awk '/running/ {print $5}') | |
if [ ! -z "${machines[@]}" ] | |
then |
#!/bin/bash | |
set -e | |
platform=$(uname) | |
if [ "$platform" == 'Darwin' ] | |
then | |
sed=$(which gsed || errcho "install gnu-sed") | |
else | |
sed=$(which sed) |
wget https://gist.githubusercontent.com/colby/20fb4fc48f5ebf9a062da5fdf1f59f88/raw/c154e38fb44f9aaf1e6d8329cc5546bef41b57ea/dank-tags.csv | |
function dank() { | |
local tags=~/Desktop/dank-tags.csv | |
if [[ $# -gt 0 ]] | |
then | |
grep "$@" $tags | gsort --random-sort | head -n 1 | say | |
else | |
gsort --random-sort $tags | head -n 1 | say | |
fi |
[vagrant@web ~]$ cat httpd_copious.te | |
module httpd_copious 1.0; | |
require { | |
type httpd_t; | |
type default_t; | |
type hugetlbfs_t; | |
class file { write getattr }; | |
class capability2 block_suspend; |
[vagrant@web ~]$ # sudo yum install policycoreutils-python | |
[vagrant@web ~]$ # sudo audit2allow -a -M httpd_copious | |
[vagrant@web ~]$ # sudo semodule -i httpd_copious.pp |
#!/usr/bin/env sh | |
vagrant=$(which vagrant) | |
awk=$(which awk) | |
printf "Gathering a list of machines. " | |
machines=$(vagrant global-status --prune 2>/dev/null | $awk '/running/ {print $5}') | |
if [ ! -z "${machines[@]}" ] | |
then |