<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - yisreldov</title>
<link>http://snipplr.com/users/yisreldov</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 22:51:05 GMT</pubDate>
<item>
<title>(Bash) Sending html from Mutt</title>
<link>http://snipplr.com/view/37938/sending-html-from-mutt/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 27 Jul 2010 17:43:19 GMT</pubDate>
<guid>http://snipplr.com/view/37938/sending-html-from-mutt/</guid>
</item>
<item>
<title>(PHP) using html canvas terminal in gnuplot</title>
<link>http://snipplr.com/view/37905/using-html-canvas-terminal-in-gnuplot/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 26 Jul 2010 18:49:01 GMT</pubDate>
<guid>http://snipplr.com/view/37905/using-html-canvas-terminal-in-gnuplot/</guid>
</item>
<item>
<title>(Bash) Svn diff no white space</title>
<link>http://snipplr.com/view/37114/svn-diff-no-white-space/</link>
<description><![CDATA[ <p>shows diff while ignoring white spaces</p> ]]></description>
<pubDate>Sun, 11 Jul 2010 20:17:42 GMT</pubDate>
<guid>http://snipplr.com/view/37114/svn-diff-no-white-space/</guid>
</item>
<item>
<title>(PHP) Get UTF-8 hebrew date from date stamp ( mysql )</title>
<link>http://snipplr.com/view/35343/get-utf8-hebrew-date-from-date-stamp--mysql-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 31 May 2010 04:08:30 GMT</pubDate>
<guid>http://snipplr.com/view/35343/get-utf8-hebrew-date-from-date-stamp--mysql-/</guid>
</item>
<item>
<title>(PHP) Set old tasks to due today ...</title>
<link>http://snipplr.com/view/33808/set-old-tasks-to-due-today-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 04 May 2010 04:14:22 GMT</pubDate>
<guid>http://snipplr.com/view/33808/set-old-tasks-to-due-today-/</guid>
</item>
<item>
<title>(JavaScript) Convert MySql Dates to localized dates</title>
<link>http://snipplr.com/view/33735/convert-mysql-dates-to-localized-dates/</link>
<description><![CDATA[ <p>Will convert all of the mysql dates on the page to be localized.</p> ]]></description>
<pubDate>Mon, 03 May 2010 06:01:42 GMT</pubDate>
<guid>http://snipplr.com/view/33735/convert-mysql-dates-to-localized-dates/</guid>
</item>
<item>
<title>(MySQL) push flyspray tasks 30 days in the future</title>
<link>http://snipplr.com/view/29815/push-flyspray-tasks-30-days-in-the-future/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 16 Mar 2010 04:45:24 GMT</pubDate>
<guid>http://snipplr.com/view/29815/push-flyspray-tasks-30-days-in-the-future/</guid>
</item>
<item>
<title>(JavaScript) Fix macabi site to work on mac</title>
<link>http://snipplr.com/view/27555/fix-macabi-site-to-work-on-mac/</link>
<description><![CDATA[ <p>I was just able to login to the maccabi site using safari !!!

There is a bug on the login form and once I fixed the bug using the dev tools I was able to log in and make an appointment just fine !!!

You can use this bookmarklet to fix your maccabi login form, drag it to your bookmarks bar and click it before you click on the submit button.

[fix-maccabi-login][1]

if the link doesn't work here is code that you can pasete into your address bar 

`javascript:document.forms[0].elements[%27IDCode%27].id=%27IDCode%27;document.forms[0].elements[%27username%27].id=%27username%27;alert(%27try%20to%20login%20now,%20by%20clicking%20the%20button.%27)`

here is the JS :

    document.forms[0].elements['IDCode'].id='IDCode';
    document.forms[0].elements['username'].id='username';
    alert('try to login now, by clicking the button.')


this will probably also work on firefox, but I haven't tested it !!

As I expected, they are using invalid JS code that happens to actually work on IE, but shouldn't work on any normal browser.

Any [donations][2] for this fix would be appreciated. ( cash is also nice )

[1]: javascript:document.forms[0].elements[%27IDCode%27].id=%27IDCode%27;document.forms[0].elements[%27username%27].id=%27username%27;alert(%27try%20to%20login%20now,%20by%20clicking%20the%20button.%27)
[2]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=FWTPFWQ9SX4RG</p> ]]></description>
<pubDate>Tue, 02 Feb 2010 07:14:54 GMT</pubDate>
<guid>http://snipplr.com/view/27555/fix-macabi-site-to-work-on-mac/</guid>
</item>
<item>
<title>(Other) save query params to cookies in JS using prototype</title>
<link>http://snipplr.com/view/27154/save-query-params-to-cookies-in-js-using-prototype/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Jan 2010 05:19:33 GMT</pubDate>
<guid>http://snipplr.com/view/27154/save-query-params-to-cookies-in-js-using-prototype/</guid>
</item>
<item>
<title>(Other) add 3 fields to clickforex table</title>
<link>http://snipplr.com/view/25959/add-3-fields-to-clickforex-table/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 05 Jan 2010 06:00:32 GMT</pubDate>
<guid>http://snipplr.com/view/25959/add-3-fields-to-clickforex-table/</guid>
</item>
<item>
<title>(HTML) Change style of image on load</title>
<link>http://snipplr.com/view/23339/change-style-of-image-on-load/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 18 Nov 2009 07:24:42 GMT</pubDate>
<guid>http://snipplr.com/view/23339/change-style-of-image-on-load/</guid>
</item>
<item>
<title>(Bash) Set calendar type only for ical</title>
<link>http://snipplr.com/view/23328/set-calendar-type-only-for-ical/</link>
<description><![CDATA[ <p>OSX 10.6 adds exchange support , but breaks if you use jewish calendar , this will fix it.</p> ]]></description>
<pubDate>Wed, 18 Nov 2009 06:03:27 GMT</pubDate>
<guid>http://snipplr.com/view/23328/set-calendar-type-only-for-ical/</guid>
</item>
<item>
<title>(PHP) fill a div with a bg</title>
<link>http://snipplr.com/view/22384/fill-a-div-with-a-bg/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Nov 2009 07:56:08 GMT</pubDate>
<guid>http://snipplr.com/view/22384/fill-a-div-with-a-bg/</guid>
</item>
<item>
<title>(JavaScript) iPhoto dateInterval to localized date</title>
<link>http://snipplr.com/view/22372/iphoto-dateinterval-to-localized-date/</link>
<description><![CDATA[ <p>This will convert a *TimmerInterval* to a locaized date ...</p> ]]></description>
<pubDate>Tue, 03 Nov 2009 06:17:58 GMT</pubDate>
<guid>http://snipplr.com/view/22372/iphoto-dateinterval-to-localized-date/</guid>
</item>
</channel>
</rss>