Author Archives: Cody Swartz

Linux Delete Directories or Files By Name

The Code Explanation We use the find command in the current directory(.) to search for a name starting with 2013- followed by anything, which is of type d for directory. We then pipe (|) the found directories over to the xargs command which runs the remove command (rm) with the options of recursive (r) and forced […]

Posted in Interesting Finds| Tagged , , , , , , , , , , , | 1 Response

Linux Tar, Zip, Gzip Matching Files In Current Directory

The Code   Explanation We use the find command with “.” as the current directory we’re in, so I used “cd” – change directory to where I wanted to zip up files. The -name parameter is then finding any thing starting with “2013-“ followed by anything else via the “*” wildcard.  The “-type d” restricts the […]

Posted in Interesting Finds| Tagged , , , , , , , , , , , | 1 Response

Fixing Double Line Spacing

This often happens wordpress’  internal editor. I’ve also experienced this issue when a friend of mine used sublime text editor and I then pulled the source from the web server and it had the same double line spacing issue. This is enough to destroy you if you try to fix this problem by hand, especially […]

Posted in Interesting Finds| Tagged , , , , , , , , , , , | Leave a comment

Linux Ubuntu 12.04 “Waiting for network configuration”

For some reason my machine decided to just kick the bucket over at Digital Ocean. I think it happened after some settings I changed in ISPConfig for the server IP information. I was trying to update the information because this was an image I used at an earlier time, and the IP changed. I hopped […]

Posted in Interesting Finds, Linux| Tagged , , , , , , , , , , , , , | Leave a comment

Reset File Permissions with PHP

Recently I transferred a WP – WordPress site and I was getting server response 500. Looking at the error log in cPanel I could see that WordPress was complaining about files being globally writable. So pretty much the whole site was down after being transfered, I’m not sure why it happened with this site since […]

Posted in Interesting Finds| Tagged , , , , | Leave a comment

How to find PPPoE password for Actiontec PK5000

A friend of mine was wondering how to obtain his PPPoE username and password for his connection to centurylink / qwest. There’re two different routes, you can do a complete router reset by holding down the reset button on the back of the device, and then after your modem reboots you can open up a […]

Posted in Interesting Finds| Tagged , , , , , , , , , | 9 Responses

Google Chat and Hangout Without Browser

While playing League of Legends my friends and I use Google hangouts as our communication software. Off Topic… Razer has recently release “Razer Comms” but since nobody has yet tried it or would surely be unwilling to install yet an other voice software, I haven’t yet given it a try, even though it sounds and […]

Posted in Interesting Finds| Tagged , , , | 1 Response

Delicious Quick Fruit Smoothie

Just made and awesome smoothie really quick and easy. This is what I used: (1-2c) Frozen Vanilla Yogurt – reheated in microwave for 20-30 seconds to heat it up some 1 Banana Some leftover Mango and Peach Jumex Nectar – to consistency / blendability Several Ice Cubes – to consistency / liking   The best part was that […]

Posted in Food| Tagged , , , | Leave a comment

Corkyapp.com

  Home Page     Board page     Corkyapp.com was developed for my web design class at COCC as my final project. I worked with Germán Campos as the lead designer as well as acting as a client via our team Logic Happens. Corkyapp.com utilizes the ORM Framework, to manage the back end. On the […]

Posted in Portfolio| Tagged , | Leave a comment