Skip to content

Instantly share code, notes, and snippets.

@minustore
minustore / changeUID.ino
Created December 2, 2018 07:20
change the mifare classic 1K UID use back door,use Adafruit PN532 library
/**************************************************************************/
/*!
@file changeUID.pde
@author Adafruit Industries
@license BSD (see license.txt)
##change the mifare classic 1K UID use back door !!!##
@minustore
minustore / echo_server.go
Created January 20, 2017 14:12
simple golagn echo server
package main
import (
"fmt"
"net"
"os"
"bytes"
)
const (
@minustore
minustore / HtmlXmlParser.java
Created February 25, 2016 06:51
parser html href use xmlpullparser
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Created by John on 2016/2/25.
*/
package main
import "fmt"
import "time"
import "sync"
func confirm(done chan bool) {
for {
select{
case <-done:
@minustore
minustore / ftpupload.py
Last active December 19, 2015 08:59
simple upload all files in current dir
# -*- coding: utf-8 -*-
import os
import ftplib
#uploadList = sys.argv[1:]
ipaddress = "xx.xx.xx"
port = "21"
username = "username"
@minustore
minustore / pyftpd.py
Last active December 21, 2015 02:49
simple ftp use pyftpdlib
from pyftpdlib.authorizers import DummyAuthorizer
from pyftpdlib.handlers import FTPHandler
from pyftpdlib.servers import FTPServer
user = "user"
passwd = "passwd"
filepath = "./"
ip = "0.0.0.0"
port = 21
#address = "123.123.123.123"