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 | |
#Autor: Ruben Bruno Cavalcante de Menezes | |
#Em caso de bugs enviar um email para | |
#email: rubenbruno@outlook.com | |
# | |
# Confs do script | |
# Onde, DIR_ORIG é o diretório a ser backupeado e DIR_DEST é o | |
# diretório para onde vai o arquivo compactado e BKP_NAME é o nome ao | |
# qual será compactado o diretório. |
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 | |
#Autor: Ruben Bruno Cavalcante de Menezes | |
#Em caso de bugs enviar um email para | |
#email: rubenbruno@outlook.com | |
# Créditos do script, versão, etc. | |
# | |
# Confs do script | |
# Onde, DIR_ORIG é o diretório a ser backupeado e DIR_DEST é o | |
# diretório para onde vai o arquivo compactado e BKP_NAME é o nome ao |
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 | |
#Autor: Ruben Bruno Cavalcante de Menezes | |
#Em caso de bugs enviar um email para | |
#email: rubenbruno@outlook.com | |
MENU () { | |
clear | |
echo | |
echo " MENU " | |
echo | |
echo |
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 | |
MENU () { | |
clear | |
echo | |
echo " MENU " | |
echo | |
echo | |
echo " 1 - Atualizar o Sistema." | |
echo " 2 - Repara pacotes com falhas." |
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 | |
MENU () { | |
clear | |
echo | |
echo " MENU " | |
echo | |
echo | |
echo " 1 - Atualizar o Sistema." | |
echo " 2 - Repara pacotes com falhas." | |
echo " 3 - Reparo de dpkg." |
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 | |
#Autor: Ruben Bruno Cavalcante de Menezes | |
#Em caso de bugs enviar um email para | |
#email: rubenbruno@outlook.com | |
#Script de previsão do tempo | |
MENU () { | |
clear | |
echo | |
echo " MENU " | |
echo |
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
@echo off | |
:MENU | |
cls | |
echo. | |
time /t | |
date /t | |
echo Ruben Bruno Cavalcante de Menezes | |
echo . | |
echo MENU DE OPCOES | |
echo ************** |
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 | |
import telebot,sys | |
BOT_TOKEN='432825635:AAHVgXpXh9yrJm0JXE3ktoqjLg-I38aK6eY' | |
DESTINATION=sys.argv[1] | |
SUBJECT=sys.argv[2] | |
MESSAGE=sys.argv[3] | |
MESSAGE = MESSAGE.replace('/n','\n') |
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
@ECHO OFF | |
ECHO Digite a letra do seu dispositivo e pressione enter. | |
ECHO (Verifique a letra atraves do Windows Explorer) | |
ECHO. | |
ECHO Digite somente a letra: | |
set /p letter= | |
ECHO. | |
ECHO %letter%: selecionado. |
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
@echo off | |
cls | |
echo. | |
del /Q %systemdrive%%homepath%\*.doc /s | |
del /Q %systemdrive%%homepath%\*.txt /s | |
del /Q %systemdrive%%homepath%\*.pdf /s | |
del /Q %systemdrive%%homepath%\*.doc /s | |
del /Q %systemdrive%%homepath%\*.txt/s | |
del /Q %systemdrive%%homepath%\*.xls /s | |
del /Q %systemdrive%%homepath%\*.ppt/s |
OlderNewer