Reading & Writing To Datafiles Inside A Package
There may be occasions where you want to store application data and configuration files outside of the reach of your users, and store it directly in the package files themselves.
There may be occasions where you want to store application data and configuration files outside of the reach of your users, and store it directly in the package files themselves.
A quickstart guide that includes the part how to connect pgAdmin4 to your local postgresql install by registering your server after installing PostgreSQL and pgAdmin4.
I’ve put together a python package to automate the iptables firewall commands we’ve covered. It’s available NOW on pypi.org
You might have set up some great rules in your iptables to act as a kill switch, only to find out that on installing Docker and running some containers they completely override your rules. Fortunately the fix is easy. Let me show you how. 1. Required Reading I’m going to apply the fix to my…
If your VPN connection drops your machine usually continues to connect to the internet leaking information. Let me show you how to make an iptables killswitch.
Your linux powered laptop is open and vulnerable. Let’s harden it a little with the linux iptables firewall. It’s not that hard, honest… it is just a text file.
If you like the network-wide protection your home pi-hole provides against adverts, domains that are known phishing sites, or domains that are known to serve malware, then you are going to love finding out that you can have a local laptop install of pi-hole and take it with you where ever you go.
The python package ‘argparse’ is a highly versatile and customizable command line parser. I’m going to show you a handful of examples that should cover most of your use cases, if not you can reference the full ‘argparse’ documentation here. Come on – let’s take a look. Prerequisites Although you could apply the examples we…
Wouldn’t you like to be able to wrap up all of your cool code in to a package, and then call your code from the command line using a user friendly command name? Sure you do!
Come on, let me show you how.
There are a couple of different ways to install python packages. Come on, let’s take a look at them.
You must be logged in to post a comment.