Skip to content

Instantly share code, notes, and snippets.

@jpustula
jpustula / phpbb3_topics_anywhere.php
Last active September 4, 2015 23:34
Display list of last topics from phpBB3 forum wherever you want!
<?php
/**
* phpBB3 Topics Anywhere
*
* Display list of last topics from phpBB3 forum wherever you want!
*
* @author Jarosław Pustuła <kontakt@weeb.pl>
* @license http://www.gnu.org/licenses/gpl.html
*/
@jpustula
jpustula / converter.php
Created August 27, 2010 15:56
Convert phpBB3's database and tables to Unicode
<?php
/**
* Convert phpBB3's database and tables to Unicode
*
* @author Jarosław Pustuła <kontakt@weeb.pl>
* @license http://www.gnu.org/licenses/gpl.html
*/
/*$dbms = '';
@Kerrick
Kerrick / gist:2716568
Created May 17, 2012 05:08
HOWTO install Sublime Text 2 in Debian Squeeze
# Download Sublime Text 2 from http://www.sublimetext.com/2
# If you aren't root, sudo su
tar -xvjf Sublime\ Text\ 2*.tar.bz2
mv Sublime\ Text\ 2/ /opt/sublime-text-2/
ln -s /opt/sublime-text-2 /usr/local/sublime-text-2
ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text
rm Sublime\ Text\ 2*.tar.bz2
# Sublime Text 2 can now be run as normal user with command "sublime_text"
@huglester
huglester / roundcube_mail_disable_csrf_on_login.php
Last active October 12, 2023 07:31
RoundCube mail - disable CSRF protection on login example
<?php
/*
Install:
1) create a folder: disablecsrf inside 'plugins/' directory.
2) place this file there and name it: disablecsrf.php
3) go to config/config.inc.php, and add it to plugins, like:
$config['plugins'] = array('disablecsrf');
CSRF should now be disabled for login.
*/