Skip to content

Instantly share code, notes, and snippets.

William Jacoby bonelifer

Block or report user

Report or block bonelifer

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
GerB / cleanup_nru.php
Created Oct 11, 2018
Script for phpBB 3.2 to delete all users in Newly registers users group
View cleanup_nru.php
* @package phpBB3
* @author GerB
* @license GNU Public License
irwiss / phpbb_mass_prune.php
Last active Apr 2, 2019
View phpbb_mass_prune.php
phpbb user pruning tool fails to actually work at > 100 users to prune
even though it happily displays a form with about 30000 checkboxes and
usernames to choose.
Slightly modified - this script wants user_ids_to_delete.txt near it,
with numerical user ids, one id per line.
Bulk delete all users with 0 posts in prevoius revision
This needs a *lot* of memory (or swapfile) if you have a lot of users
matiaskorhonen / toggle-tv-power
Created Jan 28, 2016
A quick script to control the power state of a TV attached to a Raspberry Pi over HDMI. Requires `cec-utils` to be installed.
View toggle-tv-power
#!/usr/bin/env bash
iso8601_date () {
date +%Y-%m-%dT%H:%M:%S%z
turn_on () {
echo 'on 0' | cec-client -s -d 1 RPI
tierra / convert-avatars.php
Last active Apr 2, 2019
phpBB 3.1 script that fetches all remote avatars, and converts them to uploaded avatars hosted locally.
View convert-avatars.php
* Converts all phpBB 3.1 remote avatars to uploaded avatars.
* To use this script:
* 1. Copy this file into the root of your phpBB installation.
* 2. Run the script from the command line: php convert-avatars.php
* Any avatar will be skipped if any errors come up, like these:
johnabela / [PHP] bitly_MakeShortLink()
Last active Sep 8, 2015
Use the api to generate short URL
View [PHP] bitly_MakeShortLink()
kamermans / auto_subscribe_moderators.php
Created Feb 20, 2012
Subscribe all phpBB3 moderators to all forums/topics
View auto_subscribe_moderators.php
* This script subscribes all global moderators to all forums.
* Put this in your phpBB3 directory and do "chmod 0700 auto_subscribe_moderators.php"
* You can use crontab to run this script so your moderators stay subscribed!
// Path to the phpBB3 Config Script
require dirname(__FILE__).'/config.php';
You can’t perform that action at this time.