Fallacies of distributed computing
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 -e | |
# This scripts installs jq: http://stedolan.github.io/jq/ | |
JQ=/usr/bin/jq | |
curl -o "$JQ" -L https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64 && chmod +x $JQ | |
echo "$($JQ --version) installed." |
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
tap "argoproj/tap" | |
tap "azure/draft" | |
tap "boz/repo" | |
tap "browsh-org/browsh" | |
tap "contribsys/faktory" | |
tap "datawire/blackbird" | |
tap "davrodpin/mole" | |
tap "derailed/k9s" | |
tap "dtan4/dtan4" | |
tap "eko/tap" |
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
- name: changesets | |
id: changed-files | |
uses: tj-actions/changed-files@v34 | |
with: | |
separator: "," | |
dir_names: true | |
dir_names_max_depth: 2 | |
files: | | |
apps/** |
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
m@m-inspiron5567:~/code/pr/flutter_firebase_phone_auth_riverpod$ flutter pub get | |
Running "flutter pub get" in flutter_firebase_phone_auth_riverpod... 2,206ms | |
m@m-inspiron5567:~/code/pr/flutter_firebase_phone_auth_riverpod$ flutter pub run build_runner build --delete-conflicting-outputs | |
[INFO] Generating build script... | |
[INFO] Generating build script completed, took 384ms | |
[INFO] Precompiling build script...... | |
[INFO] Precompiling build script... completed, took 7.5s | |
[INFO] Initializing inputs |
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
# Google BigQuery - Merge data | |
bigquery_merge() { | |
echo "Loading ${GC_BQ_WORK_TABLE} table into ${GC_BQ_MERGE}" | |
bq --location=US load --source_format=NEWLINE_DELIMITED_JSON --encoding=UTF-8 \ | |
"${GC_BQ_MERGE}.${GC_BQ_WORK_TABLE}" "${TRANSFORM_STORE}/${filename}" \ | |
schemas/${GC_BQ_TABLE}.json.schema | |
echo "Merging into ${GC_BQ_DATASET}.${GC_BQ_TABLE}" | |
cat <<bigtable-merge | bq --location=US query --use_legacy_sql=false --max_rows=0 | |
MERGE \`${GC_BQ_DATASET}.${GC_BQ_TABLE}\` T |
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
<graphml xmlns='http://graphml.graphdrawing.org/xmlns'> | |
<key id='type' for='node' attr.name='type' attr.type='string'></key> | |
<key id='code' for='node' attr.name='code' attr.type='string'></key> | |
<key id='icao' for='node' attr.name='icao' attr.type='string'></key> | |
<key id='desc' for='node' attr.name='desc' attr.type='string'></key> | |
<key id='region' for='node' attr.name='region' attr.type='string'></key> | |
<key id='runways' for='node' attr.name='runways' attr.type='int'></key> | |
<key id='longest' for='node' attr.name='longest' attr.type='int'></key> | |
<key id='elev' for='node' attr.name='elev' attr.type='int'></key> | |
<key id='country' for='node' attr.name='country' attr.type='string'></key> |
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
C:\Users\user\code>pip install rpaframework | |
Collecting rpaframework | |
Downloading rpaframework-9.4.0-py3-none-any.whl (214 kB) | |
|████████████████████████████████| 214 kB 595 kB/s | |
Collecting robotframework-sapguilibrary<2.0,>=1.1; sys_platform == "win32" | |
Downloading robotframework-sapguilibrary-1.1.tar.gz (9.5 kB) | |
Collecting robotframework-seleniumlibrary<6.0.0,>=5.1.0 | |
Downloading robotframework_seleniumlibrary-5.1.3-py2.py3-none-any.whl (94 kB) | |
|████████████████████████████████| 94 kB 3.3 MB/s | |
Collecting pywinauto<0.7.0,>=0.6.8; python_version < "3.7.6" and sys_platform == "win32" or python_version > "3.7.6" and python_version < "3.8.1" and sys_platform == "win32" or python_version > "3.8.1" and sys_platform == "win32" |
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
data = [ | |
("a", "Alice", 34), | |
("b", "Bob", 36), | |
("c", "Charlie", 30), | |
] | |
df = spark.createDataFrame(data, schema=["id", "name", "age"]) |
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
Maxims-MacBook-Air:go-http-routing-benchmark maximveksler$ go get github.com/julienschmidt/go-http-routing-benchmark | |
Maxims-MacBook-Air:go-http-routing-benchmark maximveksler$ go test -bench=. -timeout=20m | |
2015/02/04 23:24:05 [config.go:284] [W] open /Users/maximveksler/go/src/github.com/julienschmidt/go-http-routing-benchmark/conf/app.conf: no such file or directory | |
#GithubAPI Routes: 203 | |
Ace: 60520 Bytes | |
Beego: 165192 Bytes | |
Bone: 92960 Bytes | |
Denco: 36440 Bytes | |
Gin: 66896 Bytes | |
GocraftWeb: 88840 Bytes |
NewerOlder