Redirect -> https://github.com/iokiwi/jsd-bulk-customer-upload
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
I can go through my work journey and my reading/learning journey | |
#====================== | |
# Overview | |
#====================== | |
I've always worked in small team with absurd ambitions and the only way to cope is to lean into automation. | |
I think its helped that I have a very concientious dispositition for consistently producing high quality work | |
I can take pride in and a low tolerance for toil (https://sre.google/sre-book/eliminating-toil/) and absolutely |
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
export OS_SESSIONS_DIR=$HOME/.os_sessions | |
function os_save_session() { | |
mkdir -p $OS_SESSIONS_DIR; | |
if [ -z "$OS_PROJECT_NAME" ]; then | |
export OS_PROJECT_NAME=$(openstack project show $OS_PROJECT_ID -c name -f value); | |
fi | |
if [ -z "$OS_TOKEN" ]; then |
Conferences 👀
Pycon AU | Online | 2021 | September 10th-12th |
Kiwi Pycon | Christchurch | 2021 | September 18th - 19th (TBC) |
CHCon | Christchurch | 2021 | November 5th-6th |
Purplecon | Wellington/Online | 2021 | TBC |
Kawaiicon | Wellington | 2021 | November 12th-13th |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"time" | |
"github.com/gophercloud/gophercloud" | |
"github.com/gophercloud/gophercloud/openstack" |
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
# Script for clearing all openstack environment variables. | |
# | |
# Usage: | |
# source reset.sh | |
# source reset.sh && source openrc.sh | |
echo "Resetting..." | |
unset OS_REGION_NAME | |
unset OS_AUTH_TOKEN | |
unset OS_AUTH_URL |
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
<QuerySet [<River: Hurunui> | |
<QuerySet [<AccessPoint: Jollie Brook>, <AccessPoint: South Branch Bridge>, <AccessPoint: Seaward Stream Inlet>, <AccessPoint: Bottom of Maori Gully>]> | |
<QuerySet [<Section: Jollie Brook to South Branch Bridge>, <Section: South Branch Bridge to Seaward Stream Inlet>, <Section: Seaward Stream Inlet to Bottom of Maori Gully>]> | |
<QuerySet [<Run: Jollie Brook to Bottom of Maori Gully>]> |
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
{ | |
"python.linting.pylintCategorySeverity.refactor": "Information", | |
"python.analysis.logLevel": "Information", | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"python.analysis.symbolsHierarchyDepthLimit": 0, | |
"files.autoSave": "afterDelay", | |
"python.autoComplete.addBrackets": true, | |
"python.linting.flake8Enabled": true, | |
"python.pythonPath": "./venv/bin/python", |
A list of SaaS/PaaS services with generous free tiers ideal for individuals and small groups on a shoestring budget.
Usage is subject to the t
Name | Function | Time Limited | User Limited | Feature Limited | Restrictions |
---|---|---|---|---|---|
Slack | Chat | Can only see 10,000 most recent messages | |||
StatusCake | Endpoint Monitoring | Some features limited | |||
Trello | Limited to 1 power up per board | ||||
Heroku | PaaS App Hosting | Limited 'compute' hours per month |
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
openstack alarm create \ | |
--name mytestalarm \ | |
--type threshold \ | |
--threshold 5.0 \ | |
--meter-name cpu_util \ | |
--period 60 \ | |
--statistic avg \ | |
--evaluation-periods 1 \ | |
--comparison-operator gt \ | |
--query "metadata.user_metadata.stack=string::7db79235-8cde-43f2-9cf4-6200557164e7" \ |
NewerOlder