Skip to content

Instantly share code, notes, and snippets.

Lucas Rolff lucasRolff

Block or report user

Report or block lucasRolff

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
@lucasRolff
lucasRolff / whm_dark_mode.css
Created Feb 27, 2019 — forked from troglodyne/dark_orb.css
Dark mode CSS for use in Stylus plugin
View whm_dark_mode.css
@-moz-document regexp("^http[s]?://[a-zA-Z0-9._-]+:208[67]/.*") {
#topFrameWrapper > div {
background-color: #1d1d1d;
color: white;
}
#pageContainer {
background-color: white;
filter: invert(100%);
}
#breadcrumbsContainer > * {
@lucasRolff
lucasRolff / db-connect-test.php
Created May 5, 2017 — forked from M165437/db-connect-test.php
Script for a quick PHP MySQL DB connection test.
View db-connect-test.php
<?php
# Fill our vars and run on cli
# $ php -f db-connect-test.php
$dbname = 'name';
$dbuser = 'user';
$dbpass = 'pass';
$dbhost = 'host';
$link = mysqli_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'");
View gist:0d8d604a32e02cdceb646e8753df4b06
#!/bin/bash
version=1.11.2.1
wget http://openresty.org/download/ngx_openresty-${version}.tar.gz
tar zxf ngx_openresty-${version}.tar.gz
cd ngx_openresty-${version}
./configure --prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
View keybase.md

Keybase proof

I hereby claim:

  • I am lucasRolff on github.
  • I am lucasrolff (https://keybase.io/lucasrolff) on keybase.
  • I have a public key whose fingerprint is 858E D9C8 BABB A53D AECE ED64 8255 AE6D D620 1265

To claim this, I am signing this object:

View generatessl.sh
#!/bin/bash
ISWWW=true
while getopts ":nd:" opt; do
case $opt in
d)
DOMAIN=$OPTARG
;;
n)
View gist:ddf968966fbddda23873
<VValue type="int" value="0" />
<VValue type="int" value="1" />
<VValue type="int" value="2" />
<VValue type="int" value="3" />
<VValue type="int" value="4" />
<VValue type="int" value="5" />
View grubbes_php_framework.php
<?php
eval(file_get_contents('shittydb.class.php'));
# Insert more code here
You can’t perform that action at this time.