This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# curl -s https://gist.githubusercontent.com/gagginaspinnata/0c90b246d31b71de1c413e812dc787e7/raw/569fe2a9ea2fdc211ba0d82e47f040709f76ad5a/docker_quick_install.sh | bash | |
sudo apt-get update | |
sudo apt-get install ca-certificates curl gnupg | |
sudo install -m 0755 -d /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
sudo chmod a+r /etc/apt/keyrings/docker.gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#to install PyQt4 on mac brew install cartr/qt4/pyqt | |
#to remove javascripts tag from html https://stackoverflow.com/questions/8554035/remove-all-javascript-tags-and-style-tags-from-html-with-python-and-the-lxml-mod | |
import sys | |
import time | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
from PyQt4.QtWebKit import * | |
import lxml | |
from lxml.html.clean import Cleaner |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Download the top used passwords from passwordrandom.com | |
#Set Script Name variable | |
SCRIPT=`basename ${BASH_SOURCE[0]}` | |
URL="http://www.passwordrandom.com/most-popular-passwords/page/" | |
OUTPUT="top_password.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
########################################################################### | |
# AUTHOR: Mauro Marano | |
# SITE: mauromarano.it/com | |
# Questo script serve per tenere organizzato il desktop | |
# Una volta impostate le variabili lui andrà a creare delle cartelle | |
# Per ogni tipo di file specificato. | |
# La cosa migliore è farlo girare con un cronjob. | |
# crontab -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
###################################################################### | |
#This is an example of using getopts in Bash. It also contains some | |
#other bits of code I find useful. | |
#Author: Linerd | |
#Website: http://tuxtweaks.com/ | |
#Copyright 2014 | |
#License: Creative Commons Attribution-ShareAlike 4.0 | |
#http://creativecommons.org/licenses/by-sa/4.0/legalcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################### | |
##### HOW TO USE#### | |
#################### | |
# 1) crontab -e | |
# 2) paste: 30 21 * * * sh updater.sh | |
# 3) chmod +x updater.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
#-*- coding: utf-8 -*- | |
# HOW TO: | |
# set the top class variables | |
# crontab -e and add the command to auto-lounch this command each hour: 1 * * * * * python spider.py | |
from bs4 import BeautifulSoup | |
import requests | |
import re |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
// ============================== | |
// = Realizzato da Mauro Marano = | |
//= Sito web mauromarano.it = | |
//= email [email protected] = | |
// ============================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
echo ' | |
____ ______ __ __ __ __ __ __ _______ ____ | |
/ __ \/ ___/ |/ / / /_ ____ ____ / /_____ _/ /_ / /__ / / / / ___// __ ) | |
/ / / /\__ \| / / __ \/ __ \/ __ \/ __/ __ `/ __ \/ / _ \ / / / /\__ \/ __ | | |
/ /_/ /___/ / | / /_/ / /_/ / /_/ / /_/ /_/ / /_/ / / __/ / /_/ /___/ / /_/ / | |
\____//____/_/|_| /_.___/\____/\____/\__/\__,_/_.___/_/\___/ \____//____/_____/ ' | |
echo '' |
NewerOlder