Skip to content

Instantly share code, notes, and snippets.

View ALiwoto's full-sized avatar
🚩
Trying to experience new things

ALi.w ALiwoto

🚩
Trying to experience new things
  • Earth. under the blue sky
  • 20:59 (UTC +03:30)
View GitHub Profile
@ALiwoto
ALiwoto / HashUtil.php
Created December 24, 2021 11:48
Some Hash Utils for telegram (NOT by me)
<?php
/** @noinspection SpellCheckingInspection */
/** @noinspection PhpMissingBreakStatementInspection */
namespace TelegramBot\Util;
use TelegramBot\Exception\UtilException;
@ALiwoto
ALiwoto / nana_spotify.py
Created July 31, 2021 11:46
Spotify module which was going to be used in Nana (by Sayan Biswas)
from httpx import AsyncClient
class SpotifyUser:
authorize_url = "https://accounts.spotify.com/authorize"
token_url = "https://accounts.spotify.com/api/token"
def __init__(self, client_id, client_secret, redirect_uri):
self.client_id = client_id
self.client_secret = client_secret
@ALiwoto
ALiwoto / Dank.cs
Created July 27, 2021 10:23
Dank class for showing how to send a graphquery in C#
using System;
using System.Net;
using System.Text;
using System.IO;
using System.Collections;
using System.Net.Http;
using System.Threading.Tasks;
using System.Text.Json.Serialization;
using System.Text.Json;