Replace all occurences of foo with bar in the file:
%s/foo/bar/g
To solve this delete the svn:special property by doing this:
svn propdel svn:special FILETOCHANGE
You can also use svn proplist FILETOLOOKAT to see the svn properties on that file.
I had just used this script: http://arctic.org/~dean/scripts/unln to unlink but keep a copy of the symlinked file.
Seems to work quite well.
<Directory ....> Options Indexes FollowSymLinks MultiView </Directory>
echo '{"success":'.$success.', results:'.$javascript->Object($record).'}';
reader: new Ext.data.JsonReader({ totalProperty: 'total', successProperty: 'success', root: 'results', idProperty: 'id', etc
{"success":true, results:{"id":"47","jobId":"47","jobType":"7", "partName":"0101012","partDescription":"3.0 Metre Crossover Network Cable", "quantity":"1","price":"3.5"}}
{success:true, id:11}
{success:true}
{"total":2, "results":[{"id":"46","jobId":"47","jobType":"7", "partName":"0101104","partDescription":"Dual Back Box","quantity":"1","price":"4.26"},{"id":"47","jobId":"47","jobType":"7", "partName":"0101012","partDescription":"3.0 Metre Crossover Network Cable","quantity":"1","price":"3.5"}]}
svn propset svn:ignore FOLDERNAME . ^^ Note the dot! More info here
http://sdesmedt.wordpress.com/2006/12/10/how-to-make-subversion-ignore-files-and-folders/
You can dump the database into a file using: mysqldump -h hostname -u user --password=password databasename > filename you can restore the info to the database again using: mysql -h hostname -u user --password=password databasename < filename
from: http://forums.mysql.com/read.php?10,195091,195097
If you are getting an Object not found! cakephp error check out your httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride All
# Order deny,allow
# Deny from all
Here is a quick script I put together to be able to see what song is currently playing from Spotify on my Z-10 speakers.
Download here : g15spotify.zip
Released under the GPL 2.0
Please note this is my first 'big' bash script so please let me know about any problems/improvements needed.
Loosely based on G15 Amarok Plugin Plus by Robert Riemann
http://www.kde-apps.org/content/show.php/G15+Amarok+Plugin+Plus?content=76743
While writing a webapp I suddenly started getting this error:
Session object destruction failed
Apparently it is related to session_regenerate_id(). For now I have solved it by setting security.level to medium in core.php.
On my todo list for a proper fix before release.
Array ( [0] => struct SidAndAttributesType { string SecurityIdentifier; unsignedInt Attributes; } [1] => struct NonEmptyArrayOfGroupIdentifiersType { SidAndAttributesType GroupIdentifier; } [2] => struct
Array ( [0] => struct SidAndAttributesType { string SecurityIdentifier; unsignedInt Attributes; } [1] => struct NonEmptyArrayOfGroupIdentifiersType { SidAndAttributesType GroupIdentifier; } [2] => struct NonEmptyArrayOfRestrictedGroupIdentifiersType { SidAndAttributesType RestrictedGroupIdentifier; }