- Most of my feedback is going to be superficial and possibly wrong!
- I'm not an active expert in C.
- I haven't used the SDL toolkit since college.
- I didn't run this code, I simply looked at it!
|# Add the following lines of code to your `~/.bash_profile`,|
|# and then run `source ~/.bash_profile` to be able to execute|
|# this from the command line.|
|# Originally from: https://gist.github.com/johngraham262/6546595|
|# Spaces-in-filenames from: https://gist.github.com/johngraham262/6546595#gistcomment-1823783|
|find . -maxdepth 1 -name *.xcworkspace -print0 | while IFS= read -r -d '' file; do|
(especially while expanding)
Warning: The exact commands may not match for your particular linux OS / Synology(NAS) device. I had to customize the commands after exploring my particular system's setup.
If you're new to linux, or this is a new piece of hardware / a new synology device, jump down to the section called "Inspecting a setup"
I hereby claim:
To claim this, I am signing this object:
|// Note: Not pictured here: logic specific to the system that nukes the UICache.db if we know the content is probably out of date|
|* Make our base URL cache to the similar details as the standard default sharedURLCache in case someone is using it.|
|* From Apple Docs for NSURLCache:|
|* <li>Memory capacity: 4 megabytes (4 * 1024 * 1024 bytes)|
|* <li>Disk capacity: 20 megabytes (20 * 1024 * 1024 bytes)|
|* <li>Disk path: <nobr>(user home directory)/Library/Caches/(current application name)</nobr>|
|* <br>user home directory is determined by calling|