Category: Programming
-
Performance Tests
Install Apache2 Utils (more infos) Run tests using apache benchmark tool ab
-
Python snippet collection
Timestamp with milliseconds import datetime print “Timestamp %s” % datetime.datetime.utcnow().strftime(‘%Y-%m-%d %H:%M:%S.%f’)[:-3] # Output: Timestamp 2017-05-07 21:32:42.379
-
MP4 cutting without re-enconding
My wish was to cut MP4 files without re-enconding them. So that should be fast and lossless. For this part I found a nice software that does it for me: Smart Cutter But one problem of this software is the usability. So i downloaded a trial version of Adobe Premiere Pro CC and tried following. I…
-
Android modify APK files (decompile classes.dex)
Decompress APK file Use 7zip to decompress the APK file (this is a ZIP compressed container) Decompile classes.dex Method 1: dex -> jar -> java classes The file “classes.dex” can be converted to a JAR file with the following tool: dex2jar dex2jar.bat classes.dex Decompress the JAR file using 7zip again. Now you will get Java class…