Author: Steve

Python modules

Create an __init__.py file in each directory that will be in the tree of your import. For example, if you have the following directory structure… /opt/software/com/yourcompany/yourdivision/yourfile.py …you would issue the following commands: export PYTHONPATH=$PYTHONPATH:/opt/software touch /opt/software/com/__init__.py touch /opt/software/com/yourcompany/__init__.py touch /opt/software/com/yourcompany/yourdivision/__init__.py…

Getting started with github

I had a prebuilt Node.js application. It is nothing fancy, but I wanted to create a repository for it. This is simply a screenshot of the commands used to do this. -bash-4.1$ cd arch/ -bash-4.1$ ls node_modules package-lock.json server.js -bash-4.1$…

Good java decompiler

I had a need to find all classes that exposed a REST based interface. I couldn’t figure out how to do this with jd-gui, so this will be my new go-to for decompiling… https://bitbucket.org/mstrobel/procyon/wiki/Java%20Decompiler $ for f in $(find .…