Archive for the ‘Uncategorized’ Category
jQuery.unique() but for normal Arrays….
It is stated in the manual that jQuery.unique() will only work for DOM objects. My problem was (well, first was to ready the manual correctly) that I needed to merge uniquely simple string arrays.
After banging my head for a long time I have finally found how to do it, and here is my solution
Array.prototype.unique = function()
{
var arrData = this;
var arrUnique= [];
for (var i = arrData .length; i--; )
{
var strData= arrData [i];
if ($.inArray(strData, arrUnique) === -1)
{
arrUnique.unshift(val);
}
}
return arrUnique;
}
Does anybody know ActiveReport for PHP?
One of my clients need something like ActiveReport (.net) with PHP.
Does anybody know anything I can use?
Yood in Rodeo Today!
Rodeo Pub Lazer Lloyd Blues Band:needs no introduction group will perform the great blues-rock.
If you love Rock ‘n Roll and/or Blues – this is the show!!!
http://www.facebook.com/event.php?eid=116224591752905&ref=mf
http://www.myspace.com/yoodrock
Lazer Lloyd – Lead Guitar/Vocals,
Moshe Yankovsky – Drums/Vocals,
Ilan Hillel – Bass/Vocals
Skittles giving a free sample bug http://www.tryfreecandysample.com?i=138969
Well, looks like Skittles giving a free sample bug.
All you need to do is add 20 friends for them to spam 🙂
Get Microsoft Sql table list form PHP
One of the things I lost time today was how to get the list of table from Ms SQL server from PHP on Unix (Ubuntu).
I will write another post how to connect to it later, but currently what I have found is that MsSQL does not have “SHOW TABLES” command like MySQL do.
In order to get the list of table we need to send:
select name from sysobjects where xtype = ‘U’
This way we would get all of the user tables in our database.
Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111
For the past couple of days, for some reason I was unable to connect to the MySQL database on the system I worked, it was not a problem till now, since all I needed was a data grid, but now I had to use workbench.
The error I was getting was: Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111
Well, it took me a couple of hours to gast that but I have finally found the reasone.
Early this week we have changed the bind address of the MySQL server in the my.inf file to be the external address of the system.
What i had to do was to match the address of the bind from localhost to the external one, so the correct command was:
ssh -v -f -N -L 3307:192.168.0.1:3306 user@host.server.com
Apple tree water color paint
another thing I am going to post is our Art creations.
Here is the first one: Apple tree watercolor pencel painting.
Original art, water colors by Svetlana Margulis, from Israel.
THIS IS AN ORIGINAL PAINTING NOT A PRINT
Medium: Artists quality watercolor
This item can be purshased at out etsy shop: Svetlana’s Art Gallery
First Post
Well, after reading many posts, I have desided to start my own blog to.
I have many reason for that, but the most importent for me currently is that I am tiered of searching for the same information again and again.
In this blog I would group all of the information I have found that I belive is needed for me to continue development of application.