Using find at the Command Line on MAC OS
Find on MAc is a little different. This is a link to a source for using `fin` from the terminal on a mac. http://hints.macworld.com/article.php?story=20030205064206934
Find on MAc is a little different. This is a link to a source for using `fin` from the terminal on a mac. http://hints.macworld.com/article.php?story=20030205064206934
Before the recent MAC OS upgrade, wordpress plugin updates were working fine on my local development environment. Then I started getting messages like “upload failed server error” when attempting to update wordpress plugins from my local hosted wordpress sites. At first, I made sure the permissions were correct and that the files and directories had… Read more Mac Locahost uploads broken after Mac OS Upgrade
Are you wondering: What is Opcode Cache and When to Use it? I just read an excellent article entitled PHP Performance I: Everything You Need To Know About OpCode Caches published by Engine Yard. The article is a transcript of a video on PHP opcode cache, actually. Engine Yard goes into just enough detail, allowing… Read more PHP What is Opcode Cache and When to Use it
This is a quick note on how to work with linux/Unix/Mac processes. If you want to go straight for the ‘kill’ Start by getting the process ID with pgrep process name. Then use kill to kill the process. But, be nice about it, ok? $>pgrep mongod $>kill <PID> Use ps to List Processes $> ps… Read more Use ps to view Processes, sort them, and kill them
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 dun” list of things to do for initial setup of an ubuntu server. To gain a deeper understanding of the process of securing… Read more How to set up ubuntu secure ssh login (AWS & Digital Ocean)
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 effectively severing the connection without your knowledge. By having different rsa keys when dealing with a host that… Read more How to use multiple ssh keys for different accounts
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 below. Of course, you will replace the text “myplaintextpassword” with YOUR OWN plain text password, right? python -c “from passlib.hash… Read more How To Create a Password Hash with Python passlib
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 configuration file. There are at least 2 ways to do this. You can create a global configuration file by creating… Read more How to (where to) Create an Ansible Configure File
Note: An account user with proper authentication is needed from the VPC account admin. Go to the AWS EC2 Dashboard Note: Be sure you are in the correct region first (Select from drop down in upper right of page). From the left column header labeled: “INSTANCES” (all caps), click on the “Instances” (lowercase) sub-category. Click the… Read more AWS How To Launch VPC Instance manually
When attempting to make an AJAX call are you getting the following error? XMLHttpRequest cannot load (then some path to the remote site). No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yourAjaxCallingSite.com’ is therefore not allowed access. This means the Server hosting the resource is not set up to be CORS compliant. If… Read more CORS; How To Set HTTP Response Header on IIS Windows Server 2012 R2 to Access-Control-Allow-Origin