Skip to content

Instantly share code, notes, and snippets.

View matdombrock's full-sized avatar
🏠
Working from home

Mathieu Dombrock matdombrock

🏠
Working from home
View GitHub Profile
100% working onion links, all checked! Last updated July 2016.
========================================================
.::Wikis and Search Engines::.
========================================================
DuckDuckGo Search Engine: http://3g2upl4pq6kufc4m.onion/
TORCH '96 Tor Search Engine: http://xmh57jrzrnw6insl.onion/
Uncensored Hidden Wiki: http://zqktlwi4fecvo6ri.onion/wiki/index.php/Main_Page
The Hidden Wiki: http://kpvz7ki2v5agwt35.onion
TorLinks: http://torlinkbgs6aabns.onion/
@matdombrock
matdombrock / fix-openbox-rc.xml
Created July 17, 2016 23:44
Fix issues with OpenBox DM running inside VirtualBox
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
@matdombrock
matdombrock / jq-user.js
Created July 13, 2016 18:15
include jQuery in a user script.
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
@matdombrock
matdombrock / Ndrea.html
Created July 4, 2016 06:49
Malicious code, do not run.
<html>
<head>
<title>LOIC'Online v0.1</title>
<!-- <link rel="shortcut icon" type="image/x-icon" href="http://loic-online.site90.net/LOIC.ico" /> -->
</head>
<center><h1>LOIC Online Anonymous'Edition</h1></center>
<body style="background-color:black; color:#FFFFFF;">
<div style="position:absolute; width:100%; height:100%;">
<div style="width:490px; height:326px; position:absolute;">
<img alt="LOIC"src="http://www.calgarc.com/images/loop.png" />
@matdombrock
matdombrock / GitHubCheats.sh
Created July 3, 2016 22:18
GitHub Cheat Sheet 1
git config --global user.name "Your Name Here"
git config --global user.email "[email protected]"
echo "# EDIT ME" >> README.md
git init
git add .
@matdombrock
matdombrock / Bash.php
Created June 30, 2016 23:06
Execute bash via PHP
<?php
$output = shell_exec('ls');
echo "<pre>$output</pre>";
?>
@matdombrock
matdombrock / HOW TO USE
Created June 29, 2016 08:47
Fix broken permalinks on wordpress
Add the above text to /etc/apache2/apache2.conf
Changing the AllowOverride None to AllowOverride All.
Through SSH run 'a2enmod rewrite'
Then to restart Apache run 'service apache2 restart'
@matdombrock
matdombrock / command
Created June 16, 2016 05:13
Fix dependancy issues with Python-PIP in Ubuntu
sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
@matdombrock
matdombrock / easyMount.sh
Created May 12, 2016 04:49
A Bash script that makes it easy to mount an exteral drive to a server or other linux OS without mounting tools.
#!/bin/bash
lsblk
echo
read -p "What do you want to mount?(sdb1, sdb2 ect?): "
echo
drive=$REPLY
read -p "Where do you want to mount it?(media/<LOCATION>): "
echo
target=$REPLY
cd /.
@matdombrock
matdombrock / php.ini
Last active April 21, 2016 01:37
Allow larger file uploads on DigitalOcean with WordPress (/etc/php5/apache2/php.ini)
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 32M