Home
Explore
New post
Dashboard
Newsletter
Search...
Ctrl
+
K
josue.0
Sign in
josue.0
Subscribe
Search...
Ctrl
+
K
josue.0
Sign in
Subscribe
Subscribe
Subscribe
josue.0
Aug 23
Hiii, just updated the Readme on this repo to better showcase its features, PRs welcomed ✌️.https://github.com/j05u3/chats_manager/tree/main
josue.0
Aug 23
Hiii, just updated the Readme on this repo to better showcase its features, PRs welcomed ✌️.https://github.com/j05u3/chats_manager/tree/main
josue.0
josue.0
Bash script to download Google Playstore Earnings
josue.0
Jul 22
You need to first get corresponding index for the month and year at which you will start exporting. Check playstore to do it:In the screenshot the index for June 2023 is 28. Then replace the month (1-indexed), year, index range (28 to 30) and the other 2 IDs (5542242580359385 and 11347471111894874436) in the script. You can get those 2 IDs from the download URL of one file:Not sure if specifying --project is required. The script is:#!/bin/bash # Initialization year=2022 month=1 isfirst=1 # Lo...
Bash script to download Google Playstore Earnings
josue.0
Jul 22
You need to first get corresponding index for the month and year at which you will start exporting. Check playstore to do it:In the screenshot the index for June 2023 is 28. Then replace the month (1-indexed), year, index range (28 to 30) and the other 2 IDs (5542242580359385 and 11347471111894874436) in the script. You can get those 2 IDs from the download URL of one file:Not sure if specifying --project is required. The script is:#!/bin/bash # Initialization year=2022 month=1 isfirst=1 # Lo...
Enforcing field uniqueness by user with Firestore rules (implementing usernames)
josue.0
Jul 22
I wanted to implement usernames the other day. I searched for a bit and found this*. But I also needed to allow modification of the username so I came up with the following Firestore rules: // username uniqueness match /username_by_user/{userId} { allow read; allow create: if isValidUser(userId, true); allow delete: if isValidUser(userId, false); } function isValidUser(userId, isCreate) { let isOwner = request.auth.uid == userId; let username = isCreate ? request.resource.data.username : reso...
Enforcing field uniqueness by user with Firestore rules (implementing usernames)
josue.0
Jul 22
I wanted to implement usernames the other day. I searched for a bit and found this*. But I also needed to allow modification of the username so I came up with the following Firestore rules: // username uniqueness match /username_by_user/{userId} { allow read; allow create: if isValidUser(userId, true); allow delete: if isValidUser(userId, false); } function isValidUser(userId, isCreate) { let isOwner = request.auth.uid == userId; let username = isCreate ? request.resource.data.username : reso...
Whatsapp Cloud API in NodeJs
josue.0
Aug 21
I just released this library 🎊: https://github.com/j05u3/whatsapp-cloud-api-express I use it in production in some personal projects like https://monaguillo.org. Any feedback is appreciated ✌️
Whatsapp Cloud API in NodeJs
josue.0
Aug 21
I just released this library 🎊: https://github.com/j05u3/whatsapp-cloud-api-express I use it in production in some personal projects like https://monaguillo.org. Any feedback is appreciated ✌️
Written by
josueajc
Written by
josueajc