Skip to content

Instantly share code, notes, and snippets.

View merchizm's full-sized avatar
😔
I may be slow to respond.

Meriç merchizm

😔
I may be slow to respond.
View GitHub Profile
@tayfunerbilen
tayfunerbilen / php-instagram-info.php
Created February 14, 2023 11:25
instagram kullanici bilgileri ve son postlari alan kod
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'https://www.instagram.com/' . $_GET['username'] . '/embed/',
CURLOPT_USERAGENT => 'Mozilla/5.0 (Linux; Android 6.0.1; SM-G935S Build/MMB29K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile Safari/537.36',
CURLOPT_RETURNTRANSFER => true
]);
$output = curl_exec($ch);
curl_close($ch);
@antlionguard
antlionguard / twitter-remove-retweets.js
Last active January 3, 2026 09:15
With this script, you can remove all retweets you are retweeted on Twitter.
const timer = ms => new Promise(res => setTimeout(res, ms));
// Unretweet normally
const unretweetTweet = async (tweet) => {
await tweet.querySelector('[data-testid="unretweet"]').click();
await timer(250);
await document.querySelector('[data-testid="unretweetConfirm"]').click();
console.log('****// Unretweeted Successfully //****')
}
<?php
class Deck {
private $cards;
public function __construct() {
$this->Shuffle();
}
public function Shuffle () {