import { Client } from 'crosis4furrets';
const client = new Client(process.env.TOKEN, 'replId');
await client.connect();
await client.persist();
This file contains hidden or 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
| function startInterval() { | |
| (function loop() { | |
| var now = new Date(); | |
| // Set the time here | |
| if (now.getDay() === 0 && now.getHours() === 0 && now.getMinutes() === 59) { | |
| /* Place function to execute here */ | |
| } | |
| now = new Date(); | |
| var delay = 60000 - (now % 60000); | |
| setTimeout(loop, delay); |
This file contains hidden or 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 { lightfetch } from 'lightfetch-node'; | |
| // You will need your connect.sid cookie for authenticated requests | |
| const { CONNECT_SID } = process.env; | |
| const headers = { | |
| 'X-Requested-With': 'Your-Username', | |
| Referrer: 'https://replit.com/', | |
| }; | |
| /* |
This file contains hidden or 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
| src/ | |
| ┣╸server/ | |
| ┃ ┗╸index.js | |
| ┣╸client/ | |
| ┃ ┣╸public/ | |
| ┃ ┃ ┣╸styles/ | |
| ┃ ┃ ┃ ┗╸ *.scss | |
| ┃ ┃ ┗╸js/ | |
| ┃ ┃ ┣╸components/ | |
| ┃ ┃ ┃ ┗╸*.js |
This file contains hidden or 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 { handler as middleware } from '../dist/server/entry.mjs'; | |
| export const handler = async (req, res, next) => { | |
| const response = await middleware(req, res, next); | |
| return response; | |
| }; |
This file contains hidden or 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
| (R) | |
| abortion | |
| abortions | |
| abused | |
| accountability | |
| AGI | |
| alarm | |
| alarming | |
| America | |
| angry |
I hereby claim:
- I am rayhanadev on github.
- I am rayhanadev (https://keybase.io/rayhanadev) on keybase.
- I have a public key ASBPBNwIxkpyT6Y_oiWryAowrMN9eCG-nMqudqSb60Bocwo
To claim this, I am signing this object:
This file contains hidden or 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 sys | |
| from pyicloud import PyiCloudService | |
| from geopy.geocoders import Nominatim | |
| api = PyiCloudService("<username>@icloud.com", "<password>") | |
| geolocator = Nominatim(user_agent="silly_phone_tracker") | |
| if api.requires_2fa: | |
| print("Two-factor authentication required.") | |
| code = input("Enter the code you received of one of your approved devices: ") |