Skip to content

Instantly share code, notes, and snippets.

View sooluh's full-sized avatar
🇵🇸
stand with palestine!

Torch sooluh

🇵🇸
stand with palestine!
View GitHub Profile
@sooluh
sooluh / google-login.ts
Last active June 20, 2023 03:25 — forked from Brandawg93/google_login.ts
Login to Google Account via Puppeteer
import puppeteer from 'puppeteer-extra';
import pluginStealth from 'puppeteer-extra-plugin-stealth'; // Use v2.4.5 instead of latest
import * as readline from 'readline';
puppeteer.use(pluginStealth());
// Use '-h' arg for headful login.
const headless = !process.argv.includes('-h');
// Prompt user for email and password.
@sooluh
sooluh / reoder-ai.sql
Last active December 30, 2022 07:17 — forked from carloscarcamo/reorderAutoIncrementIDs.sql
Reorder auto increment IDs on MySQL
SET @count = 0;
UPDATE table_name SET table_name.id = @count:= @count + 1;
ALTER TABLE table_name AUTO_INCREMENT = 1;
@sooluh
sooluh / GoogleGeocoder.php
Last active November 9, 2020 10:49 — forked from maesa/Googlegeocoder.php
Simple Geocoding CodeIgniter library using Google Maps API v3
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class GoogleGeocoder {
private $baseURL;
private $apiKey;
public function __construct() {