first, let's create some directories to work in
mkdir -p ./docker_certs/ca ./docker_certs/server ./docker_certs/client
cd ./docker_certs
#Make sure variables are correct and paste this into terminal on a server where LXD has been initialized | |
export AIRSTACK_DHCP=true | |
export AIRSTACK_IPV4_CIDR= | |
export AIRSTACK_IPV4_GW= | |
export AIRSTACK_DNS= | |
export AIRSTACK_DOMAIN=orangebox.me | |
export AIRSTACK_TZ=$(cat /etc/timezone) | |
export AIRSTACK_LANG=en_US.UTF-8 | |
export AIRSTACK_USE_BRIDGE=br0 | |
export AIRSTACK_STORAGE_POOL=local |
Please refer to this blogpost to get an overview.
Replace *-INSTANCE
with one of the public instances listed in the scrapers section. Replace CAPITALIZED
words with their corresponding identifiers on the website.
- hosts: localhost | |
vars: | |
images: | |
- name: first | |
date: 001 | |
- name: second | |
date: 002 | |
- name: fourth | |
date: 004 |
So, you've created a Python app (be it a graphical user interface with Qt or the like, or a simple command line interface). Great! But how are others going to use it? Python applications often have dependencies (e.g. from third-party modules), and they also need a Python interpreter to run them. For a developer, installing all the necessary bits and bobs to make things work is okay, but that's unacceptable for a normal user - they just want to download the thing and run it.
Below are simple instructions to publish your app on the three main operating systems: Windows, macOS and Linux.
Ansible playbook to setup HTTPS using Let's encrypt on nginx. | |
The Ansible playbook installs everything needed to serve static files from a nginx server over HTTPS. | |
The server pass A rating on [SSL Labs](https://www.ssllabs.com/). | |
To use: | |
1. Install [Ansible](https://www.ansible.com/) | |
2. Setup an Ubuntu 16.04 server accessible over ssh | |
3. Create `/etc/ansible/hosts` according to template below and change example.com to your domain | |
4. Copy the rest of the files to an empty directory (`playbook.yml` in the root of that folder and the rest in the `templates` subfolder) |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
I am working on adding support for building and distributing (via PyPI) Python Wheels with C Extensions to the Python wheel and pip packages. The discussion on Distutils-SIG continues, but I believe it is fairly certain that some effort to correctly identify Linux distributions will need to be made. I've begun efforts to add this support to wheel.
If you have a Linux distribution or version of a listed distribution not in this gist, or one of the ones I have not directly verified, I could use the following:
/etc/os-release
, if it existsPLAY [localhost] ************************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [shell cat '/tmp/file.json'] ******************************************** | |
changed: [localhost] | |
TASK: [debug var=result] ****************************************************** | |
ok: [localhost] => { |