The following guides will help you get Python and Pip
This is a great overview of Pipenv and Virtual Environments
ko.numericObservable = function(initialValue) { | |
var _actual = ko.observable(initialValue); | |
var result = ko.dependentObservable({ | |
read: function() { | |
return _actual(); | |
}, | |
write: function(newValue) { | |
var parsedValue = parseFloat(newValue); | |
_actual(isNaN(parsedValue) ? newValue : parsedValue); | |
} |
// knockout 3.3.0 | |
ko.utils.addOrRemoveItem = function (array, value, included) { /* .. */ } | |
ko.utils.anyDomNodeIsAttachedToDocument = function (nodes) { /* .. */ } | |
ko.utils.arrayFilter = function (array, predicate) { /* .. */ } | |
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ } |
[Unit] | |
Description=Sonarr Daemon | |
After=syslog.target network.target | |
[Service] | |
User=miner | |
Group=miner | |
Type=simple | |
ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser | |
TimeoutStopSec=20 |
user www-data; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { |
Quick and Easy PostGres SQL DB in Docker environment for learning or experimenting. | |
Grab Docker Image | |
# docker pull postgres | |
Create Docker container with PHP database management UI Adminer via Docker Compose | |
Create `compose.yml` | |
version: '3.1' |
The following guides will help you get Python and Pip
This is a great overview of Pipenv and Virtual Environments
Powerline is a statusline plugin for vim, and provides status lines and prompts for several other applications, including zsh, bash, fish, tmux, IPython, Awesome, i3, and Qtile.
In other words, it is a very powerful and very cool piece of software, and I use it in some capacity on all my servers. It can be installed a few ways with binaries available in most distro's main repositories and many derivatives available. I prefer the Python
userspace installation method outlined below as it lends itself to portability and works better with my virtualization practices.
#!/bin/bash | |
shopt -s nullglob | |
echo -e "Checking for kernel support for IOMMU" | |
dmesg | grep -e DMAR -e IOMMU | |
dmesg | grep 'remapping' | |
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do | |
echo "IOMMU Group ${g##*/}:" |
{ | |
"basics": { | |
"name": "Matthew Green", | |
"label": "Software Engineer", | |
"image": "https://avatars.githubusercontent.com/u/2933673?v=4", | |
"email": "[email protected]", | |
"phone": "(713) 487-8609", | |
"url": "https://mattgreen.dev", | |
"summary": "Matthew is an experienced software developer with a strong background in building modern applications and adding new user-facing features to existing software. He has over eight years of professional experience writing in the Perl programming language and strong experience in Python and Go. With expertise in scalable containerized deployments, core internet technologies, asynchronous client-server architectures, and contemporary software development practices, he has successfully deployed and iterated on systems relied on by millions of customers for their web presence. As a technologist, Matthew is committed to staying at the forefront of technology and utilizing innovative solutions to tackle complex challenges. His consistent exploration and rese |