Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block robetus

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
robetus / schema.sql
Created Mar 30, 2018 — forked from alexdo/schema.sql
PowerDNS/Poweradmin/Pdnsmanager SQL Schema
View schema.sql
-- Create syntax for TABLE 'comments'
CREATE TABLE `comments` (
`domain_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`type` varchar(10) NOT NULL,
`modified_at` int(11) NOT NULL,
`account` varchar(40) NOT NULL,
`comment` mediumtext NOT NULL,
robetus / generateWhmcsUuids.php
Last active Nov 21, 2017 — forked from klaude/generateWhmcsUuids.php
WHMCS UUID Generator for clients and admins. Tested working on WHCMS 7.4.1
View generateWhmcsUuids.php
* Generate uuids for clients and admins that don't have uuids set.
* The WHMCS 7.4.1 update process automatically inserts uuids, but if your
* installation bypasses WHMCS update routines then this will generate uuids for
* the client and admin users that don't have one yet.
* Warning! Please back up at least your tblclient and tbladmin tables before
* running this!
robetus / gist:8afa0889f4d03b5ef03a2669bb4f3f49
Created Oct 2, 2017 — forked from mnathani/gist:27754bd2eb6cceefcc57
ARP Networks Routed /48 IPv6 configuration on CentOS 6
View gist:8afa0889f4d03b5ef03a2669bb4f3f49
contents of /etc/sysconfig/network-scripts/ifcfg-eth0:
4 Public IPv6 addresses configured:
robetus /
Created Sep 25, 2017 — forked from denji/
NGINX tuning for best performance

Moved to git repository:

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

robetus / no_admin_confirm.php
Created Sep 22, 2017 — forked from jclarke/no_admin_confirm.php
Disables the confirm password feature in the WHMCS admin area. Place in includes/hooks
View no_admin_confirm.php
add_hook('AdminLogin', 1, function($vars) {
$_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now()->timestamp;
add_hook('AdminAreaHeadOutput', 1, function($vars) {
$_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now()->timestamp;
return '
<script type="text/javascript">
robetus / 20-3proxy.conf
Created Mar 20, 2017 — forked from YannRobert/20-3proxy.conf
working 3proxy configuration for a personal usage proxy
View 20-3proxy.conf
# /etc/fail2ban/jail.d/20-3proxy.conf
enabled = true
filter = 3proxy
action = iptables[name=3proxy, port=3128, protocol=tcp]
logpath = /var/log/3proxy/3proxy.log*
maxretry = 3
bantime = 3600 ; 1 hour
findtime = 3600 ; 1 hour
robetus /
Created Nov 23, 2016 — forked from gbraad/
Install TripleO on baremetal using Quickstart

Install TripleO on baremetal using Quickstart

This gist contains the files and scripts used to deploy to baremetal. Be aware wasn't really used in this way. The steps were actually performed from an interactive session (due to issues with the overcloud loosing connectivity).

The undercloud image needs to be build or download and stored in /var/lib/oooq-images/.

You can’t perform that action at this time.