I was having an issue that when I saved a file using winscp to laravel4 the view in the browser would not change. I figured out that laravel view blades caches to app/storage/view and the way it knows whether to recompile it is by the dates the view blade file was changed and the cache file was created. In winscp the cache file was off by an hour ahead.
The way I fixed this was by changing winscp login environment settings to “Preserve Remote Timestamp”
and also adjusting my server time to match the actual time on my other computer.
The server time has to be an earlier time than your computer
Also this was a fix to the issue with sublimetext sftp package sync funcitonality.
Install the server and php extention:
$ apt-get install memcached
$ pecl install Memcache
Edit your php.ini:
$ nano opt/lampp/etc/php.ini
Add the following line to the file and save the changes:
If you only provide the name of the extension, PHP will look for it in its default extension directory. If not found it will not work. Path Eg: /usr/lib/php5/200905+lfs/memcache.so
To check if memcached is running:
$ ps aux | grep memcached
$memcache = new Memcache;
$memcache->connect("localhost",11211); # You might need to set "localhost" to "127.0.0.1"
echo "Server's version: " . $memcache->getVersion() . "
$tmp_object = new stdClass;
$tmp_object->str_attr = "test";
$tmp_object->int_attr = 123;
echo "Store data in the cache (data will expire in 10 seconds)
echo "Data from the cache:
The memcached configuration file can be found here:
>If you want to develop a kick ass software that is salable create an awesome almost impossible project. Let me explain.
You see many of the software we use today was created to solve a problem. It wasn’t created because someone taught this would be nice and cool to have. Look at Weta Digital an Oscar winning visual effect company responsible for Lord of the Rings trilogy and Avatar. They created MASSIVE and CityBot because the work they needed in their movies. Another example is 37signals Basecamp which gave birth to Ruby on Rails. There’s so many others as well.
I’m a firm believer in solving your problem first and maybe someone else may benefit it from it or not. But if they don’t at least you solved your problem.
>Optical character recognition
I had a scanned document on my computer as an image and I didn’t want to type the whole thing out nor did I have expensive software to covert the text on the image to “encoded text”. I found a free software called onlineocr. It does exactly that, I wished I had something like this back in college.
>I posted earlier that I will stop going out of my way to make a site compatible with Internet Explore. However that is not a choice for everyone and if you have a client who is out of touch they might want comparability with IE so here is a link to My Debugbar IE tester. Its a free software that allow you to test your website on all IE version without having to download IE.
Seen at Slice and Dice that PSD second video towards the end.
>I spend hours reading their blog and enjoying their unordinary views of how to run a business.
Check them out