… remember that some programs have a list of recently opened files. And that some of those programs try to resolve the path to each of those files. And if the path to some of those files is on a network share, and said network share doesn’t exist sometimes, then your IDE will be very slow. So, clear the recently opened files list.
Archives
September 2018May 2016
October 2015
August 2014
May 2014
January 2014
December 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2012
February 2012
December 2011
October 2011
June 2011
March 2011
September 2010
June 2010
May 2010
March 2010
Categories
Code (30)Electronics (2)
Freelancer (1)
Personal (2)
Projects (1)
Systems (14)
Uncategorized (2)
If your IDE opens slowly …
September 20th, 2013Tags: developer, files, ide, recent, slow
Posted in Systems | No Comments »
Fun With Maps Pt1
August 16th, 2013I’ve been working on getting a mapnik server up and running and tweaked the way I want. Here are some useful things I learned.
Showing logs for renderd
tail -f /var/log/syslog | grep renderd
Restarting the renderd process
/etc/init.d/renderd restart
This is the default maps view file. You need to edit it to change the server address from localhost to (for example) your external IP, so you can view the maps over network.
nano /var/www/osm/slippymap.html
This is where you can find configuration XML files
cd /etc/mapnik-osm-data/
This is the config file that lists the shape files in use
layer-shapefiles.xml.inc
This is where the shape file data is stored
/usr/share/mapnik-osm-data/
Clear all cached tiles
rm -Rf /var/lib/mod_tile/default
Tags: gis, map, openstreetmap, osm
Posted in Personal, Systems | No Comments »
svn Rollback
August 14th, 2013Every time I need to check out the last revision, I have to Google it. Here is how to check out the rev you want.
svn up -r 1000
Posted in Code, Systems | No Comments »
Learning Laravel
August 10th, 2013First impressions, Laravel is interesting. After working with it for a half-dozen hours, I can say that it seems to be simple enough. It’s structured and organized fairly well, and feels like it would work the way I want it to.
That being said, I’m trying to do a simple thing, and am spending too much time digging in the weeds.
Auth::attempt() is supposed to authenticate a user and then store a successful auth in your session.
This does not work.
So now, I’ve turned to my favourite site, StackOverflow: http://stackoverflow.com/questions/18162351/laravel-4-stock-auth-login-wont-persist-across-pages
Posted in Code | No Comments »
PHP Class To Color CLI Output
July 31st, 2013A guy named JR posted this nifty piece of code to help color CLI output in bash from PHP scripts
And this user on GitHub cleaned it up a bit and posted a Gist of it.
Tags: class, cli, Code, color, command, console, gist, php
Posted in Code, Systems | No Comments »