Python snippet collection

Timestamp with milliseconds


Custom Icon font in Ionic 2 7

Create/Get icons in SVG format (e.g. FlatIcon) Create and download icons-font using IcoMoon App Extract only the font folder from the downloaded  archive to assets  folder. Create a new file in theme  folder called _icomoon.scss  with following content (thanks to Stackoverflow user):

Import that file in variables.scss :

Now […]

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

Decompress the JAR file using 7zip again. Now you […]