sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
package subscription | |
import ( | |
"context" | |
"sync" | |
"time" | |
"github.com/sirupsen/logrus" | |
"github.com/pkg/errors" | |
"golang.org/x/sync/errgroup" |
Operator Framework SIG Meeting Notes & Agenda July 20, 2018 | |
Attendees: | |
Diane Mueller/Red Hat | |
Sebastien Pahl/Red Hat | |
Tom Bentley/Red Hat | |
Aleksandar_Lazic/ME2Digital | |
Alay Patel | |
Chance Zibolski | |
Craig Brookes |
apiVersion: app.coreos.com/v1alpha1 | |
kind: ClusterServiceVersion-v1 | |
metadata: | |
name: couchbase-operator.v0.8.0 | |
namespace: operator-demo | |
spec: | |
install: | |
strategy: deployment | |
spec: | |
permissions: |
#!/bin/bash | |
function benchmark_rev() { | |
REV=$1 | |
git clean -f &> /dev/null | |
git checkout $REV &> /dev/null | |
git clean -f &> /dev/null | |
if [ $? -ne 0 ]; then | |
echo "Checkout of $REV failed!" | |
exit 1 |
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
http://angular.github.io/protractor/#/api
Note: Most commands return promises, so you only resolve their values through using jasmine expect API or using .then(function()) structure
Based on this post: https://spagettikoodi.wordpress.com/2015/01/14/angular-testing-cheat-sheet/ by @crystoll
browser.get('yoururl'); // Load address, can also use '#yourpage'
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
// array utils | |
// ================================================================================================= | |
const combine = (...arrays) => [].concat(...arrays); | |
const compact = arr => arr.filter(Boolean); | |
const contains = (() => Array.prototype.includes | |
? (arr, value) => arr.includes(value) | |
: (arr, value) => arr.some(el => el === value) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.