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
var result = []; | |
var sounds = Array.from( | |
document.querySelectorAll( | |
"#main > div.content > div:nth-child(18) > table > tbody > tr" | |
) | |
); | |
sounds.map((sound) => { | |
result.push({ |
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
<?php | |
class Kargola | |
{ | |
/** | |
* @var string | |
*/ | |
public $Kargola = "http://185.241.100.221:9999/restapi/client"; # Default Kargola | |
/** | |
* @var string |
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
sudo apt update | |
sudo apt-get install software-properties-common | |
sudo apt-get install python-software-properties software-properties-common | |
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.4 php7.4-dev php7.4-xml php7.4-zip php7.4-gmp php7.4-cli php7.4-mbstring php7.4-json php7.4-mysql git -y |
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
brew tap homebrew-ffmpeg/ffmpeg | |
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ') |
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
from telethon.sync import TelegramClient, events | |
from telethon.tl.functions.messages import GetStickerSetRequest | |
from telethon.tl.types import InputStickerSetID | |
with TelegramClient('name', 0, "api hash") as client: | |
sent = {1397428129: 0, 1125780346: 0} | |
@client.on(events.NewMessage(from_users=[1397428129, 1125780346])) | |
async def handler(event): | |
if sent[event.sender_id] >= 10: |
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
# pip install instagrapi | |
from instagrapi import Client | |
IG_USERNAME = '' | |
IG_PASSWORD = '' | |
cl = Client() | |
# cl.load_settings("user.json") |
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
# Pure python reimplementation of .cpio.xz content extraction from pbzx file payload originally here: | |
# http://www.tonymacx86.com/general-help/135458-pbzx-stream-parser.html | |
# | |
# Cleaned up C version (as the basis for my code) here, thanks to Pepijn Bruienne / @bruienne | |
# https://gist.github.com/bruienne/029494bbcfb358098b41 | |
# Example usage: | |
# parse_pbzx('PayloadJava', 'PayloadJava.cpio.xz') | |
# Updated for speeeeeeeeeeeeed |
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
/* Copyright (C) 2020 Yusuf Usta. | |
Licensed under the GPL-3.0 License; | |
you may not use this file except in compliance with the License. | |
WhatsAsena - Yusuf Usta | |
*/ | |
const Asena = require('../events'); | |
const {MessageType} = require('@adiwajshing/baileys'); | |
const fs = require('fs'); | |
const ffmpeg = require('fluent-ffmpeg'); |
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
apif |
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 spotify_token as st | |
from requests import get, delete | |
SETTINGS = { | |
"UNFOLLOW": True, | |
"ARTIST_UNFOLLOW": True | |
} | |
account_id = 'ar5xr05io7p2lrvlzz8cgpz7f' | |
data = st.start_session("sp_dc","sp_key") # Login spotify with Chrome then open Cookie manager and find 'sp_dc' and 'sp_key' |