Skip to content

Instantly share code, notes, and snippets.

View djprmf's full-sized avatar
🤔
Loading...

Pedro Fernandes djprmf

🤔
Loading...
View GitHub Profile
am start -n "com.facebook.katana/com.facebook.katana.internsettingsactivity.InternSettingsActivity"
#!/bin/bash
# Just a quick and simple cpanel cleaning script by @DJ_PRMF
# Homepage: http://tugatech.com.pt and http://djprmf.com
# This script is intended to clean some trash from cpanel servers.
# All the content removed should be safe for standard cpanel installations.
# IM NOT RESPONSIBLE FOR ANY DAMAGE, INCLUDING DATA LOST - except trash -, NUCLEAR WAR OR EXPLOSIONS
# But again, should be safe...
@djprmf
djprmf / Instalar CSF
Last active November 10, 2020 18:13
Instalar CSF - Host TugaTech
cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
####
Host TugaTech
https://host.tugatech.com.pt/
perl /usr/local/csf/bin/csftest.pl
####
Host TugaTech
https://host.tugatech.com.pt/
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel]
"MitigationOptions"=hex:00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\QualityCompat]
"cadca5fe-87d3-4b96-b7fb-a231484277cc"=dword:00000000
;Chave criada pelo TugaTech
;tugatech.com.pt
- keepass.fr
- 7zip.fr
- inkscape.fr
- gparted.fr
- clonezilla.fr
- paintnet.fr
- greenshot.fr
- scribus.fr
- audacity.es
- stellarium.fr
# CONFIGURAR UTILIZAÇÃO DO HTTPS
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://dominiodosite.pt/$1 [R,L]
#Force www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301,NC]
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"CortanaConsent"=dword:00000000
"BingSearchEnabled"=dword:00000000