Living Without Television
Hey, look! I’m not the only one!
Hey, look! I’m not the only one!
Symfony is a very nice framework for developing PHP 5 applications. NiftyCube is a very nice JavaScript/CSS solution to getting rounded corners. Unfortunately, these two won’t play nice together “out of the box.” What I discovered (after many hours of frustration) is that although niftycube.js will run without errors no matter where it’s included from, it actually tries to include some CSS from a 3rd file called niftyCorners.js. NiftyCube expects niftyCorners.js to be installed in your root directory, and it may very well not be there, because Symfony likes to keep all of your scripts in the /js directory.
To get around this problem, simply change line 37 in niftycube.js from:
37 | l.setAttribute("href","niftyCorners.css"); |
to an absolute path:
37 | l.setAttribute("href","/js/NiftyCube/niftyCorners.css"); |
Enjoy.
I’m probably the last KDE user to find out about this, but if you have access to an SSH server somewhere, open up Konqueror and type this in the address bar:
fish://your-server.com
It’s just like managing files on a remote Samba share, only it’s done completely over SSH!
Unfortunately, fish:// only works from within KDE applications, but that’s where SSHFS (Secure SHell FileSystem) comes in. With this tool, you can easily mount any remote filesystem over SSH for access by all of your applications. Goodbye FTP!
Some people may be interested in WinSCP, which provides similar functionality on Windows.
I upgraded my DSL last night, so now you can all not visit my website twice as fast as you could before.