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
Would you like to use the find command from the Mac OS command line terminal? If you are using brew then you may do this very simply. Its always a good idea to run the brew doctor before any installation. $> brew doctor Follow any steps the ‘doctor’ tells you to keep your brew in… Read more Add Find to Mac OSx Command Line Terminal
A while back I created a Drupal module to act as a customized and extensible REST client. Since then I have used the module as a basis for other customized REST client code. I thought it might be a good idea to keep a copy of the dumbed down very basic code (not the Drupal… Read more Simple REST Client in PHP
Some have a difficult time understanding what is meant in PHP by stream wrappers, context options and parameters. Judging by a few conversations with other developers, its obvious there is a bit of confusion about what a stream wrapper is and why it would have a context. While the PHP documentation does adequately describe what… Read more How to Understand PHP Stream Wrapper Context and Options
When FileZilla opens outside your screen and you cant get reposition it, here is what worked for me on a mac. Shut down Filezilla. Hold down the Command+Alt+Shift keys while you open Filezilla.(Ctrl+Alt+Shift on Windows) Hope that helps!
When creating a tar-ball (compressing a directory of files), you may exclude certain files by using the –exclude flag. The –exclude flag will also work with a wild card “*”. Here is an example of how to tar-ball a directory from the parent directory and exclude certain files: tar –exclude=”node_modules” –exclude=”.*” -zcvf my-tar-ball.tar.gz ./<directory to… Read more How To Compress a Directory with the tar Command and Exclude Certain Files, tarball exclude files