Skip to content

Instantly share code, notes, and snippets.

View lupettohf's full-sized avatar
🕳️
down in the madlab

Andrea Santaniello lupettohf

🕳️
down in the madlab
View GitHub Profile
var mineflayer = require('mineflayer')
const mc = require('minecraft-protocol');
var autoeat = require("mineflayer-auto-eat")
var botConfig = require('./config.json')
const cachePackets = require('./cachePacket.js');
var proxyClient; // This is the real client (java)
var bot; // This is the fake client connecting to the server
var server; // The proxy

Keybase proof

I hereby claim:

  • I am lupettohf on github.
  • I am lupetto_ (https://keybase.io/lupetto_) on keybase.
  • I have a public key ASAE8s3o3GrPfHlwGqw3V-ROAM_GKIx-Tc3wxMndceUAxwo

To claim this, I am signing this object:

@lupettohf
lupettohf / TermometroLCD2.ino
Created March 1, 2015 13:19
Arduino Thermometer using a 16x2 LCD and a LM35 sensor.
// TermometroLCD2.ino
#include <LiquidCrystal.h>
#include <EEPROM.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int temperatura = 0;
int tempmax;
int tempmin;
int voltage;
void setup() {
@lupettohf
lupettohf / Bandcamp Downloader.py
Created August 2, 2014 16:30
Simple downloader for bandcamp
# -*- coding:utf-8 -*-
# ___. .___
# \_ |__ _____ ____ __| _/____ _____ _____ ______
# | __ \\__ \ / \ / __ |/ ___\\__ \ / \\____ \
# | \_\ \/ __ \| | \/ /_/ \ \___ / __ \| Y Y \ |_> >
# |___ (____ /___| /\____ |\___ >____ /__|_| / __/
# \/ \/ \/ \/ \/ \/ \/|__| Downloader!
#Creative Commons Attribution-ShareAlike 4.0 International License.
import re
import urllib2
### Keybase proof
I hereby claim:
* I am lupettohf on github.
* I am lupetto (https://keybase.io/lupetto) on keybase.
* I have a public key whose fingerprint is 4868 4DA9 9D31 B57E 20A8 B645 E819 29F9 978F 73D2
To claim this, I am signing this object:
@lupettohf
lupettohf / m2d
Created April 11, 2014 18:03
Misterix2 Dowloader
# -*- coding:utf-8 -*-
##.__ ______ ________
##| | ____ ________/ __ \/ __ \
##| | _/ __ \\___ /> <\____ /
##| |_\ ___/ / // -- \ / /
##|____/\___ >_____ \______ / /____/
## \/ \/ \/
## Downloader by lupettohf -*- Versione 1.0.0
##
import urllib2
@lupettohf
lupettohf / Soundcloud Downloader.py
Last active May 23, 2017 04:42
Download songs from SoundCloud
# -*- coding:utf-8 -*-
# _ _ _
# | | | | | |
# ___ ___ _ _ _ __ __| | ___ | | ___ _ _ __| |
# / __| / _ \ | | | || '_ \ / _` | / __|| | / _ \ | | | | / _` |
# \__ \| (_) || |_| || | | || (_| || (__ | || (_) || |_| || (_| |
# |___/ \___/ \__,_||_| |_| \__,_| \___||_| \___/ \__,_| \__,_|
#Creative Commons Attribution-ShareAlike 4.0 International License.
import re
import urllib2