Deprecated: Creation of dynamic property AIO_WP_Security_Simba_Two_Factor_Authentication_Plugin::$version is deprecated in /home/nickhardeman/nickhardeman.com/blog/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-two-factor-login.php on line 32

Deprecated: Creation of dynamic property wpdbBackup::$backup_dir is deprecated in /home/nickhardeman/nickhardeman.com/blog/wp-content/plugins/wp-db-backup/wp-db-backup.php on line 128
Blog | Nick Hardeman | Page 4
Page: 4
Please Log In or Register

NYC Skyline

nyc_skyline_sm
NYC Skyline – 2016 – Watercolor + Pen – 20″ x 14″

I did several smaller study sketches before the final, below is one of them.

IMG_5932


How to Add ofxSyphon to OpenFrameworks

Step by Step video on how to add ofxSyphon addon to an empty OpenFrameworks project. View in full screen.

It’s hard to read the framework search path. It is: “$(SRCROOT)/../../../addons/ofxSyphon/libs/Syphon/lib/osx”


ofxShadowSimple

Always wanted to figure out shadows.
Simple approach in OpenFrameworks. Cleaned it up and put it in an addon.
ofxShadowSimple

Shadows in OpenFrameworks


OF Flag with ofxBullet Soft Bodies

OF Flag

Having some fun with soft bodies in ofxBullet


Reclaim Wasted Xcode GBs

My computer has been getting low on hard drive space and I thought it might be a good time to clean up after XCode. A few simple tasks gave me back over 60 gigabytes of wasted XCode files.

Derived Data

The simplest task is to remove the folders inside the DerivedData folder that XCode uses to profile projects.
The DerivedData folder might be located at ~/Library/Developer/XCode/DerivedData
If the folder is non-existent or it is empty and you have opened at least one XCode project, the DerivedData folder might be set to a different location. Open XCode and click XCode > Preferences. Navigate to the Locations tab on the top right and locate the Derived Data section. Click on the small arrow to reveal the folder in the finder.

XCode Derived Data Folder

Delete the folders inside the DerivedData folder. This alone gave me back over 30 GBs. In the below example there are only two folders inside DerivedData, so in this case delete those two folders.

DerivedData Finder

Remove XCode Build Folders

XCode makes build folders to store files to speed up compilation times. If you are no longer working with the project, you won’t need faster compile times, so you should get that HD space back.
We can use the find command to locate all directories with the name build and delete them, but only before asking. This post breaks down the command. The command is
find . -type d -name 'build' -ok rm -rf {} \;

The . tells the command to traverse the hierarchy starting with the current folder. -type d limits the search to directories and the -ok asks before executing the code to the right of it. Make sure to navigate to the folder you wish to start with using cd. For example, executing
cd ~/Documents/myprojectfolder/
and then executing
find . -type d -name 'build' -ok rm -rf {} \;
would find all directories with the name build in the myprojectfolder and its children. For every directory it finds, it will ask if it should delete it. Type y for yes and n for no.

Keep in mind that if you choose to delete the folder, it will also remove all of its contents. So if you have another folder that is named build, make sure it is one that you want to delete!


Older Posts
Newer Posts