Monthly Archives: May 2014

My coupon website

very good free web hosting that support java ee (jre7) here project i build, coupons site ,anyone can leave commnet for suggestion . the files on my Bitbucket: https://bitbucket.org/a1shay1979/coupons-website

Posted in כללי | Tagged , , , | Leave a comment

How to insure that number type int or double was insert in html5 with regular expression

<!DOCTYPE html> <html> <body> <h1>how to insure that number type int or double was insert in html5</h1> <form > <!–i explain the pattern : \d meaning number + meaning at least one ()? meaning what’s inside is optional \. meaning … Continue reading

Posted in כללי | Tagged , | Leave a comment

Overview slide on html 5 + good explaining on regular expression

html5 slide : http://slides.html5rocks.com/#landing-slide regular expression : http://en.wikipedia.org/wiki/Regular_expression i show exsample from stackoverflow : ^[0-9]+(\.[0-9]{1,2})?$ ^ # Start of string. [0-9]+ # Must have one or more numbers. ( # Begin optional group. \. # The decimal point, . must be … Continue reading

Posted in כללי | Tagged , | Leave a comment

How to refresh page after clicking Back button in the browser

<input type=”hidden” id=”refreshed” value=”no”> <script type=”text/javascript”> onload=function() { var e=document.getElementById(“refreshed”); if(e.value==”no”)e.value=”yes”; else{e.value=”no”;location.reload();} } </script>   just copy and past this script after head tag.

Posted in כללי | Tagged | Leave a comment

How to build site using twitter bootstrap

I fell in love with twitter bootstrap,I can make things very easy and very beautiful. Lots of information how to build a site here : http://creativitytuts.org/ has lots of videos how to build what you want. http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/ also very good … Continue reading

Posted in כללי | Tagged , | Leave a comment

How to read content from file using flex++

i made this short tutorial how to read content from file using flex++.

Posted in כללי | Tagged | Leave a comment

Setting null to pointer after free()

if i have variable that i check in my program couple of times if he null and also free him there is couple of way to do that the correct syntx : struct token *prevToken=NULL; if(prevToken != NULL) { free(prevToken); … Continue reading

Posted in כללי | Tagged | Leave a comment