Skip to content

Instantly share code, notes, and snippets.

View EvaLok's full-sized avatar

Eva Beekers EvaLok

  • Netherlands
View GitHub Profile
@EvaLok
EvaLok / whm-change-document-root.md
Created November 30, 2023 18:16 — forked from Bodom78/whm-change-document-root.md
WHM/cPanel - Changing an accounts document root

To properly edit an accounts DocumentRoot go to /var/cpanel/userdata/username/ (replace username with the actual cPanel username for the account), then edit the file domain.com (where domain.com is your primary domain name).

You will see something like this in that file:

documentroot: /home/username/public_html

You will also see the cgi-bin area in this section:

scriptalias:
@EvaLok
EvaLok / reset.js
Created August 3, 2016 23:31 — forked from estliberitas/reset.js
Node.js script which makes Tor change identity (i.e. IP address)
/**
* Created with IntelliJ IDEA.
* User: Alexander <estliberitas> Makarenko
* Date: 04.01.13
* Time: 3:25
*/
'use strict';
var fs = require('fs')
, net = require('net')
@EvaLok
EvaLok / workspaces
Created November 9, 2015 16:38
unity workspace configuration
# example: 3x3 (9) workspaces
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 3
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 3