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
[ | |
{ | |
"handle": "Sai Krishna", | |
"product": "superblog.ai", | |
"link": "https://superblog.ai/", | |
"mrr": "5.9K MRR" | |
}, | |
{ | |
"handle": "Jon Yongfoook", | |
"product": "superblog.ai", |
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
from dotenv import load_dotenv | |
load_dotenv() | |
import ell | |
from pydantic import BaseModel, Field | |
ell.init(store='./logdir', autocommit=True) | |
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
{ | |
"version": "v0.0.1", | |
"notes": "Version 0.0.1", | |
"pub_date": "2023-12-14T11:36:49.2023", | |
"platforms": { | |
"darwin-aarch64": { | |
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVTV3BURCtFZGFaSW5ncDBFTzJCYjMrUG1PckVWZHp0VW9hMEFGSGgxV2FJY2RCaGVKL2t4MVZhTGJyMFVyQXo2Y2grTm10VlhMY3VOME5MUnBidW1PcFJ6bmZ2cU9QK1FzPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzAyNTU1NTk2CWZpbGU6c2NyZWVudm94LmFwcC50YXIuZ3oKQkxObjE5L3FhRnpzT0dQUEh6aWIxNEJpSnFZT2M0RHIxY0NLbWt1ZEVCRzNYb3hJOThiMUVGNXRwNlFQRUlYTzdsVnQyMTNyL1lNTS9xOFdDR0VJRGc9PQo=", | |
"url": "https://screenvox.com/releases/download/v0.0.1/screenvox.app.tar.gz" | |
} | |
} |
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
'absl-py==1.4.0', | |
'affine==2.4.0', | |
'aiohttp==3.8.1', | |
'aiosignal==1.3.1', | |
'analytics-python==1.4.post1', | |
'anyio==3.7.1', | |
'anytree==2.8.0', | |
'argcomplete==1.10.3', | |
'argon2-cffi-bindings==21.2.0', | |
'argon2-cffi==21.3.0', |
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
# Download your twitter archive | |
# Edit tweets.js into a json array | |
# Run this to find best tweets | |
cat tweets.json | jq '[.[].tweet | { | |
retweets: .retweet_count | tonumber, | |
favourites: .favorite_count | tonumber, | |
text: .full_text, | |
url: "https://twitter.com/<your_twitter_handle>/status/\(.id)" | |
}] | sort_by(.retweets)[-10:]' |
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
# Download your twitter archive | |
# Edit tweets.js into a json array | |
# Run this to find best tweets | |
cat tweets.json | jq '[.[].tweet | { | |
retweets: .retweet_count | tonumber, | |
favourites: .favorite_count | tonumber, | |
text: .full_text, | |
url: "https://twitter.com/<your_twitter_handle>/status/\(.id)" | |
}] | sort_by(.retweets)' |
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
import ftrack_api | |
session = ftrack_api.Session() | |
result = session.query('select id from Task ' | |
'where name is "Animation" ' | |
'and project.full_name is "{0}" ' | |
'and parent.parent.name is "{1}" ' | |
'and parent.name is "{2}"'.format("Karol Example", "EP_05_TEST", 44)) |
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
REGION=eu-west-2 | |
RUNTIME=python3.8 | |
LAYER_NAME=scrapy | |
docker run -v $(pwd):/out -it lambci/lambda:build-$RUNTIME \ | |
pip install -r /out/requirements.txt -t /out/build/$LAYER_NAME/python | |
cd build/$LAYER_NAME | |
zip -r ../../$LAYER_NAME.zip python/ | |
cd ../.. |
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
arandr==0.1.10 | |
astroid==2.5.1 | |
asttokens==2.0.4 | |
automationhat==0.2.0 | |
beautifulsoup4==4.9.3 | |
blinker==1.4 | |
blinkt==0.1.2 | |
buttonshim==0.0.2 | |
Cap1xxx==0.1.3 | |
certifi==2020.6.20 |
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
from rgbkeypad import RGBKeypad | |
import time | |
keypad = RGBKeypad() | |
keypad.color = (0, 0, 0) | |
WHITE = (255, 255, 255) | |
RED = (255, 0, 0) | |
GREEN = (0, 255, 0) |
NewerOlder