Skip to content

Instantly share code, notes, and snippets.

View jvloo's full-sized avatar
💭
I may be slow to respond.

Xavier Loo jvloo

💭
I may be slow to respond.
View GitHub Profile
@jvloo
jvloo / easyphp-fix-undefined-offset-3.md
Last active August 20, 2021 18:03
Fix EasyPHP error "Undefined offset: 3"
  1. Open command prompt and run as administrator.
  2. Navigate to the "C:\Program Files (x86)\EasyPHP-Devserver-17"
  3. Type cmd lodctr /r and press enter.
@jvloo
jvloo / popbot-v3.1.3.js
Last active June 23, 2022 15:00
POPCAT Popbot v3.1 script
/**
POPCAT Popbot v3.1 (Direct send pops to API & bypass bot detection)
https://github.com/jvloo/popcat-popbot/
@version 3.1.3
@author Xavier Loo <[email protected]>
- Get Started: https://github.com/jvloo/popcat-popbot/blob/main/README.md
- Troubleshoot Guide: https://github.com/jvloo/popcat-popbot/wiki
**/
@jvloo
jvloo / tor-browser-selenium-wire.py
Created August 16, 2021 18:48 — forked from woswos/tor-browser-selenium-wire.py
This script creates a proxy server between the Tor Browser and Tor to capture requests/responses, using the seleniumwire library. You can access and modify the HTTP headers that are being sent/received, including the onion services. Note: You need to have Tor installed and running on the localhost while running this script.
import os
from seleniumwire import webdriver
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
# Uncomment these if you need additional information for debugging
#import logging
#logging.basicConfig(level=logging.DEBUG)
# The location of the Tor Browser bundle
@jvloo
jvloo / git-fix-untracked-files-overwritten-by-merge.md
Last active August 28, 2021 16:30
Fix Git error "The following untracked working tree files would be overwritten by merge. Please move or remove them before you merge."
  • Error: The following untracked working tree files would be overwritten by merge. Please move or remove them before you merge.
  • Solution: Track all files, remove all of the local changes to those files, and then get the files from the remote origin. (https://stackoverflow.com/a/26639255/11690179)
git add * 
git stash
git pull
@jvloo
jvloo / phoneMasks.json
Last active October 17, 2021 02:35 — forked from mikemunsie/phoneMasks.json
Phone Masks by Country Code JSON
{
"AC": ["+247-####"],
"AD": ["+376-###-###"],
"AE": ["+971-5#-###-####","+971-#-###-####"],
"AF": ["+93-##-###-####"],
"AG": ["+1(268)###-####"],
"AI": ["+1(264)###-####"],
"AL": ["+355(###)###-###"],
"AM": ["+374-##-###-###"],
"AN": ["+599-###-####","+599-###-####","+599-9###-####"],
@jvloo
jvloo / gist:f6a4933e73d8fedc2c19ccaf2acd58d6
Created December 26, 2021 07:22
amazon-s3-ssl-error-on-localhost
1. Get this file and save it to your hard drive: https://curl.haxx.se/ca/cacert.pem
2. Configure `curl.cainfo` in `php.ini` with the full path to the file downloaded in step 1.
3. Restart Apache.
Reference: https://stackoverflow.com/a/11910818
@jvloo
jvloo / free-disposable-email-providers.txt
Created April 8, 2022 08:40 — forked from drakodev/Free_Disposable_ESP_Abuse_SPAM
16413 Free or Disposable Email Providers Domains - Collected and combined from various resources primarily built on top of lists provided by Okutbay & frankwarwick
0-00.usa.cc
0-mail.com
0.pl
001.igg.biz
0039.cf
0039.ga
0039.gq
0039.ml
007addict.com
00b2bcr51qv59xst2.cf
@jvloo
jvloo / gist:6084998a5aaac731b99944ecfcac547c
Created April 26, 2022 07:02 — forked from jrochkind/gist:2636355
reddit 'hot' algorithm, in ruby, with typo fixed
require 'date'
# Actually doesn't matter WHAT you choose as the epoch, it
# won't change the algorithm. Just don't change it after you
# have cached computed scores. Choose something before your first
# post to avoid annoying negative numbers. Choose something close
# to your first post to keep the numbers smaller. This is, I think,
# reddit's own epoch.
$our_epoch = Time.local(2005, 12, 8, 7, 46, 43).to_time
@jvloo
jvloo / Ranking.php
Created April 26, 2022 07:05 — forked from slogsdon/Ranking.php
Reddit Ranking Algorithms in PHP
<?php
/**
* Ranking Library
* contains alogrithms for story ranking
* Basically a PHP Implementation of reddits algorithms
*
* @author Lucas Nolte <[email protected]>
* @since 0.1
* @package Polska Wiadomosc
* @subpackage Libraries