Skip to content

Instantly share code, notes, and snippets.

jayluxferro / gist:cf5dfd09f2a015653888acae1f974a25
Last active May 15, 2017 07:55 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
jayluxferro / gist:5246b0f34f5805111c06a38ca85c6b11
Created June 18, 2017 13:11 — forked from tamoyal/gist:10441108
Create super user and database user in Mongo 2.6
# Create your superuser
$ mongo
> use admin
> db.createUser({user:"someadmin",pwd:"secret", roles:[{role:"root",db:"admin"}]})
> exit
# Alias for convenience (optional and at your own risk)
$ echo 'alias mongo="mongo --port 27017 -u someadmin -p secret --authenticationDatabase admin"' >> ~/.bash_profile
$ source ~/.bash_profile
jayluxferro / build.gradle
Created June 21, 2017 09:25 — forked from ph0b/build.gradle
sample build.gradle for generating split APKs per ABI
apply plugin: ''
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
minSdkVersion 14
targetSdkVersion 21
versionCode 101
jayluxferro /
Last active July 6, 2024 16:33
Kali Desktop Environments Installation and Removal

XFCE Desktop

How to install XFCE Desktop Environment in Kali Linux:


apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:


jayluxferro /
Last active June 14, 2024 19:38
List of Hacking Websites and Forums
jayluxferro /
Created July 28, 2017 04:12
Fingerprint on Ubuntu

sudo apt-add-repository ppa:fingerprint/fingerprint-gui && sudo apt-get update

sudo apt-get install libbsapi policykit-1-fingerprint-gui fingerprint-gui

Hi all, I finally managed to get PiVPN --> OpenVPN operating using my 4G router Huawei B525! If you happen to have even older models of Huawei 4G routers, here is how to do it:

In the router, open a port at the admin page using Settings -> Security -> Virtual Server. In there ADD a new entry for your Raspi, opening a port e.g. 1194 at your Raspi's Static IP (there are articles in the net telling how to set that under 4G/LTE routers and Raspi settings). Use TCP Protocol as UDP will not work. Also change Firewall settings by enbling firewall as such, but do not enable anything else.
Reinstall pivpn using the same port and as protocol TCP even though pivpn warns against using it.
Make client ovpns and copy them into your clients. You easily can test it e.g. by using your smartphone without WiFi, only using 4G mobile data.
This just minutes ago enabled me to use VPN and now should allow very good video streaming outside my home.
Hope this helps somebody!
jayluxferro /
Created August 21, 2017 18:09 — forked from kmonsoor/
install wifi adapter drivers on Raspberry Pi; origin:
#set -e
# origin-source:
# install-wifi - v9.4 - by MrEngman.
# After downloading this script:
# $ sudo mv ./install-wifi /usr/bin/install-wifi
# $ sudo chmod +x /usr/bin/install-wifi
# $ sudo install-wifi -h
jayluxferro / Arduino Song
Created August 22, 2017 00:22 — forked from eznj/star_wars.ino
Arduino Star Wars Song for Piezo
const int c = 261;
const int d = 294;
const int e = 329;
const int f = 349;
const int g = 391;
const int gS = 415;
const int a = 440;
const int aS = 455;