Language: Hebrew (rss)
1 | Next Page

Printing a Dialog content using Canvas and iFrame

Apr 17, 2014 1:42 PM
Rating: (Total Clicks 1)

Hi guys, You know that printing from the browser is a bitch. Even after you've figured out how to put the content you want into the browser, the printing doesn't always work the same on all the browsers (yes! HTML is a standard... my arse). And that's not where all the trouble stop but anyway... The problem I would like to bring up in this post is printing from a dialog box, which is more

All the JS you need

Apr 12, 2014 7:30 AM
Rating: (Total Clicks 2)

Yo guys, You know me, I'm just strolling around the web bumping into nice stuff on the way, and recently I found a great place where you can pretty much get all the knowledge sources you need for JS. To be honest, it's pretty amazing how much one can gather about this Egyptian-pyramids-fucking-papyrus-deserved scripting language, but then again we must, now don't we? :) Enjoy it: superhero.js

Delegating Event handlers to align Event Data model

Apr 7, 2014 5:30 AM
Rating: (Total Clicks 7)

After such a pretentious title we can all stop and take a one week sleep. WTF do I want from you now, you probably ask. yeah, ok. check this out: Think about this next situation - You have a nice component which potentially can host several other components, each can dispatch a different event, an event that needs to be handled of within the "parent" component. We cannot let the "parent"

My Unit Testing Approach to JavaScript

Apr 3, 2014 7:31 PM
Rating: (Total Clicks 7)

Hi guys, I thought it would be nice to share with you my approach to JavaScript unit testing. It's not really bound to any particular technology so you can embrace it if you think it can bring you some peace. Configure a threshold time of each test to be less than 500ms. I hate to wait on code. I need feedback now. I feel really bad when I need to write test for a already written code. It

Mocking a Confirmation Dialog in AngularJS Unit-Testing

Apr 1, 2014 9:30 PM
Rating: (Total Clicks 5)

What is more convenient then talking about the shallow gratification tests give us in the previous post, and now posting about testing examples. What can I say, you got me, I'm a child ;) Anyhow, lets take the following case: User wishes to delete some book from his library, once he presses the delete button a confirmation dialog pops up to ask him if he is stupid or not, and once he approve

Understand why

Mar 26, 2014 9:30 PM
Rating: (Total Clicks 11)

So - You writing code in a TDD manner, which means that basically you're writing the tests first, waiting on them to fail, and then writing the code which makes them pass. Damn, This makes you feel so good, right? It's like a fucking rush of satisfactory that runs through you, making you feel like you're fulfilling your roll in the world, you're executing your work to the max. You tell yourself

Avoiding Angular's Digest Cycles Limit Reached

Nov 24, 2013 8:30 PM
Rating: (Total Clicks 273)

Hi guys, I've recently encountered an issue where in a certain view on an Angular application I've reached the digest cycle limit. If you got here, 80% that you've reached the same issue yourselves. I would like to elaborate here on how I've managed to avoid it, and fix the issue. It might not work for all the variation of this problem, but it is worth trying before you go into more serious

Flashmatticomponents now on GitHub

Sep 29, 2013 9:32 PM
Rating: (Total Clicks 643)

Hi guys, It took 1 email from a developer who contacted me about my old Flex/Air open source project called Flashmatticomponent, which made me finally take the time and migrate this project from Google Code to GitHub. I don't know how many of you are still interested in the murdered-by-Adobe-and-Apple technology called Flex, but if you do, I bet you can make use of it. I, myself, am really proud

Quake III Arena - Statistics including Flags

Sep 4, 2013 1:33 PM
Rating: (Total Clicks 1137)

Hi guys, It is a tradition for us, to drop everything and play Quake III Arena, CTF mode, on every Thursday. Now, we did have some statistics showing each players kills etc. but we never had something to show statistics for Flags. How many did one fetched, how many did he score? did he restored any? you know... what really counts when you're playing CTF. I looked for something on the web but

Metronome Directive using the Audio API

Aug 4, 2013 11:33 AM
Rating: (Total Clicks 864)

Hi, A few months ago a came to notice this article by Chris Wilson. Being into Angular I thought it would be nice to create a Directive for a reusable Metronome. I'm guessing it can be useful if you're building some musical application utilizing the Audio API. So I've publish this GIST where you can find the code for embedding this Directive in you application. You'll have to forgive me for there

1 | Next Page