Skip to content

Instantly share code, notes, and snippets.

View nenodias's full-sized avatar

Horácio Dias Baptista Neto nenodias

View GitHub Profile
@nenodias
nenodias / videos.json
Created April 26, 2017 11:38
Vídeos Camaleão Digital
{
"Inkscape":[
"http://www.dailymotion.com/video/x5e2die_aula01-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e2diq_aula02-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e2diw_aula03-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e2g4i_aula04-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e6dd4_aula05-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e6dd9_aula06-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e6ddx_aula07-ilustracao-com-inkscape_school",
"http://www.dailymotion.com/video/x5e6ddy_aula08-ilustracao-com-inkscape_school",
@nenodias
nenodias / exemplo_selenium.py
Last active April 27, 2017 18:04
Exemplo crowler selenium com python 3
# -*- coding: utf-8 -*-
import selenium
from pdb import set_trace
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
from bs4 import BeautifulSoup
@nenodias
nenodias / README.md
Last active May 9, 2017 23:06
Aula 02/05/2017

Subir o loop se necessário

modprobe loop

Cópia dd

dd if=<origem> of=<destino>
dd if=/dev/sdb of=img_sdb.dd

-o Verificar automaticamento o tipo do sistema de arquivos

@nenodias
nenodias / pwm.cpp
Last active May 9, 2017 22:54 — forked from anonymous/pwd.cpp
Arduino lendo pino PWD
byte PWM_PIN = 11;
int pwm_value;
void setup() {
pinMode(PWM_PIN, INPUT);
Serial.begin(115200);
}
void loop() {
/*!
* DevExtreme
* Version: 16.1.4
* Build date: Jun 22, 2016
*
* Copyright (c) 2012 - 2016 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/
.dx-clearfix:before, .dx-clearfix:after
@nenodias
nenodias / README.md
Last active May 10, 2017 00:07
Aula 09/05/2017

Apagar dados permanentemente

dd if=/dev/zero of=/dev/hdb
dd if=/dev/zero of=/dev/sdb

Identificar offset da imagem

mmls -o <imagem>
sudo apt-get steghide
# instalar steg-detect
### Uso
steghide embed -cf foto.jpg -ef mensagem.qualquercoisa
steghide embed -cf picture.jpg -ef secret.txt
steghide extract -sf foto.jpg
http://spammimic.com/decode.shtml
@nenodias
nenodias / README.md
Created July 3, 2017 20:09
Mounting an SSH folder
@nenodias
nenodias / README.md
Last active March 19, 2021 00:24
Python Cursos
@nenodias
nenodias / docker-compose.yml
Last active November 23, 2023 21:47
Python Docker Compose.yml
version: '3'
services:
web:
image: python:3.5
command:
- /bin/sh
- -c
- |
echo "Instalando postgresql"