pimteam

pimteam

Joined
Feb 07, 2012
Location
Svoge, Bulgaria
About me
Прасето с Роршаховата риза

Activity Stream

pimteam created a Page  -  May 14, 2014
199 

Sometimes you need to do preg_replace on user input. Don't forget to escape all special characters or you'll get funny results. Here is how:

 Respond   PHP  
pimteam commented on a Comment, ySpeed.js  -  Mar 13, 2013
pimteam liked Hawkee's Thread  -  Mar 13, 2013
pimteam created a Page  -  Mar 13, 2013
1 235 

A class to convert km/h to mph and knots and vice-versa. It can also parse speeds in a text and return the text with corrected and converted speeds. See the live demo at http://ultralight-airplanes.info/yspeed.html for better idea what can it do.

pimteam liked a Page, Highlight Keywords on Page with jQuery  -  Mar 06, 2013
pimteam liked Hawkee's Thread  -  Jan 03, 2013
pimteam liked Hawkee's Thread  -  Dec 26, 2012
pimteam liked Hawkee's Thread  -  Dec 08, 2012
pimteam liked a Page, Scroll Append - Inifinite/Endless Scroll  -  Dec 01, 2012
pimteam is now following Conscious  -  Nov 28, 2012
pimteam liked a Comment, RoCanvas  -  Nov 28, 2012
pimteam liked a Comment, RoCanvas  -  Nov 28, 2012
pimteam commented on a Page, RoCanvas  -  Nov 28, 2012

Thanks for the feedback guys. Yeah, I know what you mean now, Proicons. At this moment I have no solution to any of these. This is raster drawing, so you can't move objects as vectors. Maybe in some future version, if ever.

 Respond  
pimteam commented on a Page, RoCanvas  -  Nov 27, 2012

Proicons, I can't reproduce the erase problem. Are you sure you have not clicked on "Clear canvas" button? Traces are known issue, can't solve it at the moment.

Hawkee, thanks. Sure, here's the demo URL: http://re.trotoys.com/rocanvas/rocanvas.html

There are two boards on that page with the JS code shown.

 Respond  
pimteam created a Page  -  Nov 27, 2012
4 144 

This is a javascript class that converts the HTML 5 Canvas element into interactive drawing board with tools etc. The code below contains the full class, but I recommend downloading the zip from http://re.trotoys.com/article/rocanvas/ because it contains CSS, images and samples. The code is Apache licensed so you can use it on your sites without any issues.

pimteam is now following BlueThen  -  Oct 30, 2012
pimteam commented on pimteam2's Thread  -  Oct 29, 2012
pimteam liked a Comment, pimteam2  -  Oct 29, 2012
pimteam commented on pimteam2's Thread  -  Oct 29, 2012
pimteam is now following pimteam2  -  Oct 29, 2012
pimteam liked Hawkee's Thread  -  Oct 18, 2012
pimteam liked Hawkee's Thread  -  Oct 17, 2012
pimteam liked Hawkee's Thread  -  Oct 09, 2012
pimteam commented on a Page, Convert Height and Weight  -  Oct 08, 2012

Thanks mate :) I don't remember how I found this site but I like it. Good work!

 Respond  
pimteam commented on a Page, Convert Height and Weight  -  Oct 08, 2012

You mean the front page of calendarscripts? yeah, most wrote myself.

 Respond  
pimteam commented on a Page, Convert Height and Weight  -  Oct 08, 2012

Thanks. Yeah, all code is mine there as well.
Sunslayer, thanks for the suggestion, 5/11 is indeed much better.

 Respond  
pimteam liked a Comment, Convert Height and Weight  -  Oct 08, 2012
pimteam liked Hawkee's Thread  -  Oct 08, 2012
pimteam created a Page  -  Oct 08, 2012

This is rather simple stuff yet I see it so rarely used. In any dating sites, health calculators, DIY stuff calculators etc they ask you to enter weight and height of something (or your own weight and height) only in their preferred measurement system (metric or Imperial). Boring! This simple javascript will convert the units and instantly fill the appropriate fields in the form.

pimteam commented on Hawkee's Thread  -  Sep 28, 2012
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.