Skip to content

Instantly share code, notes, and snippets.

Avatar
🕳️
down in the madlab

Andrea Santaniello lupettohf

🕳️
down in the madlab
View GitHub Profile
View crapproxy.js
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
View keybase.md

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 DD5F D196 3E1A 8FF3 EB16 9A60 81C6 0BC2 4B2B 9F1C

To claim this, I am signing this object:

@lupettohf
lupettohf / TermometroLCD2.ino
Created Mar 1, 2015
Arduino Thermometer using a 16x2 LCD and a LM35 sensor.
View TermometroLCD2.ino
// 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 Aug 2, 2014
Simple downloader for bandcamp
View Bandcamp Downloader.py
# -*- coding:utf-8 -*-
# ___. .___
# \_ |__ _____ ____ __| _/____ _____ _____ ______
# | __ \\__ \ / \ / __ |/ ___\\__ \ / \\____ \
# | \_\ \/ __ \| | \/ /_/ \ \___ / __ \| Y Y \ |_> >
# |___ (____ /___| /\____ |\___ >____ /__|_| / __/
# \/ \/ \/ \/ \/ \/ \/|__| Downloader!
#Creative Commons Attribution-ShareAlike 4.0 International License.
import re
import urllib2
View gist:c3570e3287030c5a9501
### 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 Apr 11, 2014
Misterix2 Dowloader
View m2d
# -*- coding:utf-8 -*-
##.__ ______ ________
##| | ____ ________/ __ \/ __ \
##| | _/ __ \\___ /> <\____ /
##| |_\ ___/ / // -- \ / /
##|____/\___ >_____ \______ / /____/
## \/ \/ \/
## Downloader by lupettohf -*- Versione 1.0.0
##
import urllib2
@lupettohf
lupettohf / Soundcloud Downloader.py
Last active May 23, 2017
Download songs from SoundCloud
View Soundcloud Downloader.py
# -*- coding:utf-8 -*-
# _ _ _
# | | | | | |
# ___ ___ _ _ _ __ __| | ___ | | ___ _ _ __| |
# / __| / _ \ | | | || '_ \ / _` | / __|| | / _ \ | | | | / _` |
# \__ \| (_) || |_| || | | || (_| || (__ | || (_) || |_| || (_| |
# |___/ \___/ \__,_||_| |_| \__,_| \___||_| \___/ \__,_| \__,_|
#Creative Commons Attribution-ShareAlike 4.0 International License.
import re
import urllib2