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/python | |
# | |
# Author: Gustavo Walbon ( [email protected] ) | |
# | |
# Import smtplib for the actual sending function | |
import smtplib | |
import sys |
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
/****************************************************************************** | |
* Reusable MSP430 printf() | |
* | |
* Description: This printf function was written by oPossum and originally | |
* posted on the 43oh.com forums. For more information on this | |
* code, please see the link below. | |
* | |
* http://www.43oh.com/forum/viewtopic.php?f=10&t=1732 | |
* | |
* A big thanks to oPossum for sharing such great code! |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]){ | |
printf("Running...\n"); | |
return 0; | |
} |
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 | |
sudo chown $USER:$USER /etc/resolv.conf | |
/bin/echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" > /etc/resolv.conf | |
sudo chown root:root /etc/resolv.conf |
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 | |
# | |
# Para arrumar suas fotos em um local seguro, faça um find da seguinte maneira | |
# ex: find fotos/ -type f -exec fotoArrumacao.sh {} pastaDestino/ \; | |
# | |
destino=$2 | |
imagem=$1 |
NewerOlder