Quantcast
Channel: How To – Paul K Leasure
Browsing all 39 articles
Browse latest View live

Get the IP of the Server You Are Currently On from the Command Line

Get the IP of the Server You Are Currently On from the Command Line   promt $> wget http://ipinfo.io/ip -qO - This will echo back your IP Bam!

View Article


How to Install Mono and Run KeePass.exe on Mac

Do not install with HomeBrew. HomeBrew has issues with mono and when a thread was opened to address the issues homebrew monitor closed the thread without resolving the issue saying he did not like the...

View Article


AWS Elastic Beanstalk [Resolved]: “… not authorized to perform:...

How to resolve the Elastic Beanstalk Error  not authorized to perform CreateServiceLinkedRole error ERROR Creating load balancer failed Reason: API: elasticloadbalancing:CreateLoadBalancer User:...

View Article

Configure Symfony 4 with PostgreSQL on Ubuntu or Mac

How to configure Symfony 4 with PostgreSQL on Ubuntu or Mac OS Install PostgreSQL on Ubuntu   Easily install PostgreSQL from the command line with apt-get. sudo apt-get update sudo apt-get install...

View Article

Get the most recent object from S3 with script

Here is the code #!/bin/sh # This script just echos the most recent object in a bucket # You can do what you want with it from here. AWS_CLI_PROFILE=your_aws_cli_profile S3_BUCKET=my_bucketname...

View Article


How to (where to) Create an Ansible Configure File

Ansible Configuration File As a default, Ansible expects to find files in a certain place. Some of these files may not suit your needs. To configure ansible to better suit your needs, use the ansible...

View Article

How To Create a Password Hash with Python passlib

Create a password hash with python passlib A quick and easy way to create a password hash is with python passlib. Install passlib with pip like this: sudo pip install passlib Then, run the command...

View Article

How to use multiple ssh keys for different accounts

I wanted to have multiple rsa keys for various different hosts to help prevent hidden connection issues. Issues may arises when an rsa key is changed on one host that may have been used on another host...

View Article


How to make spaces in LaTex math language code

See this ShareLaTeX article for spacing details. Basically there are various code for graduating space distances. \,       \:       \; are the ones most likely to be used for spacing between variables...

View Article


How to set up ubuntu secure ssh login (AWS & Digital Ocean)

Ubuntu Initial Setup: setup ubuntu secure ssh login on digitalocean or Amazon Web Services EC2 instance Download PDF:  Download Secure Login Cheat Sheet PDF This post is a “cut to the chase”, “gitter...

View Article

Get the IP of the Server You Are Currently On from the Command Line

Get the IP of the Server You Are Currently On from the Command Line   promt $> wget http://ipinfo.io/ip -qO - This will echo back your IP Bam!

View Article

How to Install Mono and Run KeePass.exe on Mac

Do not install with HomeBrew. HomeBrew has issues with mono and when a thread was opened to address the issues homebrew monitor closed the thread without resolving the issue saying he did not like the...

View Article

AWS Elastic Beanstalk [Resolved]: “… not authorized to perform:...

How to resolve the Elastic Beanstalk Error  not authorized to perform CreateServiceLinkedRole error ERROR Creating load balancer failed Reason: API: elasticloadbalancing:CreateLoadBalancer User:...

View Article


Configure Symfony 4 with PostgreSQL on Ubuntu or Mac

How to configure Symfony 4 with PostgreSQL on Ubuntu or Mac OS Install PostgreSQL on Ubuntu   Easily install PostgreSQL from the command line with apt-get. sudo apt-get update sudo apt-get install...

View Article

Get the most recent object from S3 with script

Here is the code #!/bin/sh # This script just echos the most recent object in a bucket # You can do what you want with it from here. AWS_CLI_PROFILE=your_aws_cli_profile S3_BUCKET=my_bucketname...

View Article


Image may be NSFW.
Clik here to view.

Mastering Focus: Strategies for Effective Work in a Multitasking World

The ability to focus is a prized skill. However, for those perceived as multitaskers, maintaining concentration can be a challenge. Juggling multiple tasks simultaneously can lead to decreased...

View Article

Image may be NSFW.
Clik here to view.

Creating a Docker Container for a Legacy PHP 5.6 System with SSL on Apache

Hello, developers! Today’s blog post is a special one for those working on legacy systems. We’re going to walk through creating a Docker container for a legacy PHP 5.6 application, complete with Apache...

View Article


Node.js Development with `nodemon and node –trace-warnings`

Node.js remains a popular choice for developing server-side applications due to its efficiency and scalability. In this ecosystem, tools like node --trace-warnings and nodemon can significantly...

View Article

Keeping Directory Owners organized by Using the Setgid Bit with Directories:...

Managing permissions on directories is a critical part of maintaining a secure and organized file system. One powerful but often overlooked tool in this realm is the setgid (Set Group ID) bit....

View Article
Browsing all 39 articles
Browse latest View live