I hereby claim:
- I am kunday on github.
- I am kunday (https://keybase.io/kunday) on keybase.
- I have a public key ASCkKeAVTg_lFMJoVmvflhv5NptAPZyARFI28bmKxnidDQo
To claim this, I am signing this object:
| source "https://rubygems.org" | |
| # redacted gems | |
| gem 'sorbet', '~> 0.4.4263', group: :development | |
| gem 'sorbet-runtime' |
| from newspaper import Article | |
| import dateutil.parser | |
| import time | |
| def lambda_handler(event, context): | |
| url = event['url'] | |
| article = Article(url, keep_article_html=True) | |
| return article.text |
| #!/usr/bin/env bash | |
| set -ex | |
| echo "Generating artifacts using docker-compose" | |
| docker-compose up package | |
| echo "Generating lambda_function.zip artifact" | |
| (cd tmp && zip -r9 ../package/lambda_function.zip *) |
| #!/usr/bin/env bash | |
| set -ex | |
| echo "Cleaning up old caches" | |
| rm -rf /data/tmp/* | |
| rm -rf /data/package/*.zip | |
| echo "Installing Packages" |
| version: '3.7' | |
| services: | |
| debug: | |
| image: lambci/lambda:python3.7 | |
| entrypoint: /bin/bash | |
| volumes: | |
| - .:/data | |
| package: | |
| image: lambci/lambda:python3.7 |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Debug S3 Operator", | |
| "type": "go", | |
| "request": "launch", | |
| "mode": "auto", | |
| "program": "${workspaceFolder}/cmd/manager/main.go", | |
| "env": { |
| #!/usr/bin/env bash | |
| echo "Installing microk8s." | |
| sudo snap install microk8s --classic --edge | |
| sudo snap alias microk8s.kubectl kubectl | |
| echo "Waiting for 60 seconds for the service to come up." | |
| sleep 60 | |
| microk8s.kubectl config view --raw > $HOME/.kube/config |
| // ==UserScript== | |
| // @name Weekly To Monthly Crap | |
| // @namespace http://www.realestate.com.au/* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| const UpdatePrices = function() { | |
| var elements = document.querySelectorAll('.priceText'); |
| module.exports = { | |
| "extends": "airbnb-base", | |
| "plugins": [ | |
| "import" | |
| ] | |
| }; |
I hereby claim:
To claim this, I am signing this object: