Skip to content

Instantly share code, notes, and snippets.

Pablo Westphalen PabloWestphalen

Block or report user

Report or block PabloWestphalen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View searc-1337-torrents.js
(async function() {
let torrents = [];
let q = prompt("Search: ");
let dest = '' + q;
let searchPage = await getDom(dest + '/1/');
let totalPages = parseInt( searchPage.querySelector('.pagination .last a').href.match(/\/(\d+)\/$/)[1] );
View steam-clear-wishlist.js
function() {
let div = '<div id="progress" style="position: fixed; z-index: 1000; background-color: #424c59; padding: 1em; bottom: 1em; left: 1em; border-radius: 4px; box-shadow: 1px 2px 12px 0 black">Clearing wishlist...</div>';
let progress = document.getElementById("progress");
let promises = [], count = 0;
for (let id of g_Wishlist.rgAllApps) {
let form = new FormData();
form.append('sessionid', g_sessionID);
View wplogmein.php
* Author: Pablo Westphalen
* Usage: place this file in wp root dir
* then access your WP_URL/logmein.php
PabloWestphalen / wp-logmein.php
Last active Dec 12, 2018
Simple Wordpress Login Hack
View wp-logmein.php
* Author: Pablo Westphalen
* Usage: place this file in wp root dir, alongside wp-config
* then access your WP_URL/wp-logmein.php?user=something
View gallery-import.php
PabloWestphalen / wp-import-template.php
Created May 30, 2016
Stub for a PHP script that can use Wordpress' functions to manipulate the database
View wp-import-template.php
//Força report de erros
//Inicializa o wordpress, trazendo todas as funções e contexto dele pra dentro desse script
$wp->init(); $wp->parse_request(); $wp->query_posts();
$wp->register_globals(); $wp->send_headers();
//Inicializa a referência à interface de query do WP (ver
View enhancer.js
* TODO FOR TODAY: date fix, filter by highlight, tabs
* background-color: transparent // normal
background-color: rgb(xxx, xxx, xxx) //highlighted
* adicionar a variável currentFilteredTasks, que será
* nofilter deve bloquear todas as dropdowns. caso cnotrário, isso quebra a minha regra de inversão
package com.jin.explorer.servlets;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
You can’t perform that action at this time.