Skip to content

Instantly share code, notes, and snippets.

View MarxBro's full-sized avatar

G. Yz. MarxBro

  • None
  • Buenos Aries, Argentina.
View GitHub Profile
@MarxBro
MarxBro / PHP-Recursive-Implosion.php
Created November 22, 2016 01:39 — forked from jimmygle/PHP-Recursive-Implosion.php
PHP function to recursively implode multi-dimensional arrays.
<?php
/**
* Recursively implodes an array with optional key inclusion
*
* Example of $include_keys output: key, value, key, value, key, value
*
* @access public
* @param array $array multi-dimensional array to recursively implode
* @param string $glue value that glues elements together
@MarxBro
MarxBro / install_irc_server_on_centos6
Created September 25, 2015 17:42 — forked from kaishin-r/install_irc_server_on_centos6
Install IRC Server on CentOS6
// Setting up an IRC server on Cent 6
// Create a user and group for this guy
$ groupadd ircadmin && useradd -m -g ircadmin -s /bin/bash ircadmin
// Make a working directory (/var/source/)
mkdir source && cd source
// Grab the latest versions of Anope and UnrealIRCd
$ wget http://www.unrealircd.com/downloads/Unreal3.2.9.tar.gz http://downloads.sourceforge.net/project/anope/anope-stable/Anope%201.8.7/anope-1.8.7.tar.gz