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 / README.md
Last active November 29, 2017 12:25
Centos 7 Config

mv net-autostart /etc/init.d chmod 755 net-autostart

chkconfig --add net-autostart

yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel

copy wildfly-8.0.0.Final to opt

adding export JBOSS_HOME and JAVA_HOME to /etc/profile cd /opt

@nenodias
nenodias / youtube_downloader.py
Created November 26, 2017 01:26
YoutubePython
import sys
from pytube import YouTube
'''
yt = YouTube("https://www.youtube.com/watch?v=JGXi_9A__Vc")
'''
if __name__ == '__main__':
url = sys.argv[1]
@nenodias
nenodias / install.txt
Last active November 26, 2017 01:55
Orangepi
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.utf8
sudo update-locale LANGUAGE=en_US.UTF-8
# Acertando o timezone
sudo dpkg-reconfigure tzdata
sudo apt-get install midori gimp inkscape
package br.com.support.sinc.core.util;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperFillManager;
@nenodias
nenodias / crowler_vimeo.py
Created October 10, 2017 14:16
CrowlerVimeo
""" CrowlerVimeo."""
import json
import mechanicalsoup
BROWSER = mechanicalsoup.StatefulBrowser(
soup_config={'features': 'lxml'},
raise_on_404=True,
user_agent='MyBot/0.1: mysite.example.com/bot_info',
)
@nenodias
nenodias / hello.lua
Last active September 14, 2017 11:40
Exemplo de código usando Lua
printf = function(s,...)
io.write(s:format(...))
io.write("\n")
end
numero = 18
print(string.format("Hello world %s", numero))
printf("Hello world %s", numero)
@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"
@nenodias
nenodias / README.md
Last active March 19, 2021 00:24
Python Cursos
@nenodias
nenodias / README.md
Created July 3, 2017 20:09
Mounting an SSH folder
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