I hereby claim:
- I am dansteren on github.
- I am dansteren (https://keybase.io/dansteren) on keybase.
- I have a public key ASAb6Bj0Cbi9uzbbt13-O9nf1C_j7uWXhApYub-YQiRZAAo
To claim this, I am signing this object:
# Changes to the root directory (modify as needed) | |
# TODO: Consider using cdpath instead: http://romain.bardou.fr/blog/CDPATH.html | |
alias cdr='cd ~/repos/demergent-labs/azle' | |
# Comments out the last line in all index.js files in the dfx_generated directory | |
ma() { | |
COUNT=0 | |
cd dfx_generated || exit | |
for directory in */; do | |
STORED_LAST_LINE=$(tail --lines=1 "$directory"/index.js) |
# Deploys a g-zipped wasm file to a canister | |
deploy() { | |
dfx canister create "$1" | |
dfx build "$1" | |
if [ -z "$2" ]; then | |
dfx canister install "$1" --wasm "target/wasm32-unknown-unknown/release/$1.wasm.gz" | |
else | |
dfx canister install "$1" --argument "$2" --wasm "target/wasm32-unknown-unknown/release/$1.wasm.gz" | |
fi | |
} |
#!/bin/bash | |
# For a given directory, navigate into the dfx_generated folder and loop through | |
# all agent folders, and comment out the last line in the index.js file. | |
cd dfx_generated || exit | |
for directory in */; do | |
echo "Processing $directory" | |
STORED_LAST_LINE=$(tail --lines=1 "$directory"/index.js) | |
echo "The saved text is: $STORED_LAST_LINE" | |
sed -i '$ d' "$directory"/index.js |
I hereby claim:
To claim this, I am signing this object:
types: ./types.graphql | |
functions: | |
sendMessageAndPossiblyStartConversation: | |
type: resolver | |
schema: src/sendMessageAndPossiblyStartConversation.graphql | |
handler: | |
code: src/sendMessageAndPossiblyStartConversation.ts |
const MyPage = () => { | |
<ParallaxImage | |
className="parallax-image" | |
width="100%" | |
height="100%" | |
style={myStyle} | |
type="scroll | mousePosition" | |
> | |
<Background src="background.png" color="#00FF00FF"/> | |
<Layer z="1" src="farthestBack.png"/> |