strParam = ‘123, 114’
inSql = str([x.strip() for x in strParam.split(‘,’)]).replace(“[“, “”).replace(“]”, “”).replace(‘u’,’’)
Windows Auto Login Without Input Password
Auto login windows without input password
Ethereum Blockchain Development
Blockchain Development
Use solidity language, truffle framework
Tomcat7 CORS Filter
Sometimes we get Access-Control-Allow-Origin missing error.
So, we decide to set Access-Control-Allow-Origin: * in tomcat.
Location Services Not Working in iOS 11
Location Services not working in iOS 11
Auto Start Service When Boot
We always need to auto start some service when we boot our system.(like tomcat)
We can set it to system auto start programs.
Process Management Tool Supervisord
Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
Python Check Internet Access Script
We had to check a linux server’s access status this week, so I write a python script to check and log internet status in the real.
Bootstarp Design Resourse
Some Usefull opensourse bootstrap or other framework’s resource.
Base on github.
Build and Debug Your Android From the Command Line
Build and Debug Your Android from the Command Line.
Use gradle/gradlew.
These commands all execute under android gradle project’s root folder.
Python Asyns
python(2.x) asyns
Restful Api
REST – REpresentational State Transfer 直翻:表现层状态转移。
概括:URL定位资源,用HTTP动词(GET,POST,DELETE,DETC)描述操作。
Use Npm Http-Server Create a Https Server
use http-server set a https site locally and easily
Show Sbt's Scala Version
show sbt scala version
Linux Io Redirection Commands
Linux I/O Redirection Commands
The Art of Readable Code
编写可阅读代码的艺术
The Art of Readable Code
The art of readable code
SQL Injection Attack
避免SQL注入