Skip to content

Instantly share code, notes, and snippets.

Ronivaldo Sampaio ronivaldo

Block or report user

Report or block ronivaldo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ronivaldo
ronivaldo / py
Last active Aug 26, 2018
phishing_breaker.py
View py
from __future__ import print_function
from random import randint
import requests
import string
import random
import time
import sys
import argparse
__author__ = 'Ronivaldo <ronivaldo@gmail.com>'
@ronivaldo
ronivaldo / gitflow-breakdown.md
Created Aug 20, 2018 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.
View gitflow-breakdown.md

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@ronivaldo
ronivaldo / rpi-led-notes.md
Created Apr 15, 2018 — forked from taktran/rpi-led-notes.md
Controlling Raspberry Pi 2 LEDs
View rpi-led-notes.md

Commands for controlling the Raspberry Pi 2 LEDs.

See rpi-leds for a node module that does this.

Power (PWR) LED

  • OK (ACT) LED = led0
  • Power (PWR) LED = led1

Allow access

View readscale.py
#!/usr/bin/python
#-*- coding: UTF-8 -*-
import os, time
import usb.core
import usb.util
import pygtk
pygtk.require('2.0')
import gtk
from sys import exit
@ronivaldo
ronivaldo / comoSerChatoNoFacebook.js
Created Oct 20, 2017 — forked from callmeloureiro/comoSerChatoNoFacebook.js
Como fazer alguém te responder no facebook...
View comoSerChatoNoFacebook.js
/*
Hoje iremos MUDAR a vida da pessoa que não te responde no Facebook...
Que tal enviar mensagens pra ela até obter uma resposta?!
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê!
Para utilizar:
- Abra o messenger.com;
- Selecione a conversa que você quer;
- Abra o console e cole o código que está no gist;
@ronivaldo
ronivaldo / comoSerChatoNowhatsapp.js
Created Oct 19, 2017 — forked from callmeloureiro/comoSerChatoNoWhatsapp.js
Como fazer alguém te responder no whatsapp
View comoSerChatoNowhatsapp.js
/*
Hoje iremos MUDAR a vida da pessoa que não te responde no whatsappp...
Que tal enviar mensagens pra ela até obter uma resposta?!
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê!
Para utilizar:
- Abra o web.whatsapp.com;
- Selecione a conversa que você quer;
- Abra o console e cole o código que está no gist;
@ronivaldo
ronivaldo / readscale.py
Created Sep 26, 2017 — forked from jacksenechal/readscale.py
Python script to read a USB scale in the Linux
View readscale.py
#!/usr/bin/python
import os, time
import usb.core
import usb.util
import pygtk
pygtk.require('2.0')
import gtk
from sys import exit
import math
@ronivaldo
ronivaldo / rpmLargeFont.ino
Created May 15, 2013
A set of custom made large numbers for a 16x2 LCD HD44780 Arduino Library
View rpmLargeFont.ino
/*
A set of custom made large numbers for a 16x2 LCD using the
LiquidCrystal librabry. Works with displays compatible with the
Hitachi HD44780 driver.
The Cuicuit:
LCD RS pin to D12
LCD Enable pin to D11
LCD D4 pin to D5
LCD D5 pin to D4
You can’t perform that action at this time.