The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘JavaScript/ECMAScript’ Category

Episode 215: Gang of Four – 20 Years Later : Software Engineering Radio

Posted by jpluimers on 2014/12/23

If you are into serious software development, then this is a 75 minute PodCast you must listen to: Episode 215: Gang of Four – 20 Years Later : Software Engineering Radio.

Abstract

Johannes Thönes talks with Erich Gamma, Ralph Johnson and Richard Helm from the Gang of Four about the 20th anniversary of their book Design Patterns. They discuss the following topics: the definition of a design pattern and each guest’s favorite design pattern; the origins of the book in architecture workshops; the writing of the book together with the community; the rock-star feeling at the release of the book at OOPSLA conference; the influence of the book on the industry; the evolution of the Observer pattern; and new patterns since the book was released. The interview closes with each guest talking about their current projects.

What I liked

Of course I enjoyed the history of the Gang of Four (and am still sad that John Vlissides passed away).

Read the rest of this entry »

Posted in .NET, C#, Delphi, Development, Java, Java Platform, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

A few must watch videos on test driven development and unit testing

Posted by jpluimers on 2014/09/25

If you are going to do test driven development and unit testing, you should watch these videos and slide decks, most of them by Miško Hevery:

  1. Not a video, but a good starter: Guide: Writing Testable Code (or read the PDF version).
  2. 0:32:07 ▶ “The Clean Code Talks — Unit Testing” – YouTube.
  3. 0:37:56 ▶ The Clean Code Talks – Don’t Look For Things! – YouTube. Read the rest of this entry »

Posted in .NET, Agile, C#, Delphi, Development, Java, Java Platform, JavaScript/ECMAScript, Pascal, Scripting, Software Development, Unit Testing, VB.NET | 2 Comments »

Free JavaScript and Python Books (via: revolunet)

Posted by jpluimers on 2014/09/17

Great to see the French company revolunet list a lot of non-French books on JavaScript and Python:

So where their government tries to make radio stations, written press, etc to favour French over other languages, French companies look beyond their borders.

Great!

–jeroen

via: revolunet: Rich Web Applications, HTML5, Sencha Touch, ExtJS, Phonegap.

Posted in Development, JavaScript/ECMAScript, Python, Scripting, Software Development | Leave a Comment »

A few HTML to Markdown converters written in javascript, Python, Ruby, PHP and C#

Posted by jpluimers on 2014/07/24

It’s not perfect, but makes the conversion a heck of a lot easier:

to-markdown – an HTML to Markdown converter written in javascript (of which sources are on github).

[Edit 20150919: added more converters: now at least there is competition (:]

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, MarkDown, Power User, Scripting, Software Development, Web Development | Leave a Comment »

ongoing by Tim Bray · Fat JSON

Posted by jpluimers on 2014/05/06

Plan C: JWalk. No, not jaywalk.

Trimming JSON results from Java: ongoing by Tim Bray · Fat JSON.

–jeroen

Posted in Development, Java, Java Platform, JavaScript/ECMAScript, JSON, Scripting, Software Development, Web Development | Leave a Comment »

ADAP Open Source REST API Layer For LDAP | Dr Dobb’s

Posted by jpluimers on 2014/05/06

Interesting, as this opens LDAP server to a lot more tools and development environments: ADAP Open Source REST API Layer For LDAP | Dr Dobb’s.

–jeroen

Posted in Communications Development, Development, HTTP, Internet protocol suite, JavaScript/ECMAScript, JSON, LDAP, Power User, REST, Scripting, Security, Software Development, TCP, Web Development | Leave a Comment »

Fiddler2 to the max: inserting proxy authentication to use DropBox (or other app) behind a corporate firewall

Posted by jpluimers on 2014/04/16


A while ago, I was working with a not so cooperative corporate firewall. All web browsers would work fine, but most other applications would not go through the proxy in a nice way.

For instance, DropBox would show the dreadfull “Connection Error” dialog shown on the right.

That dialog basically means “Dropbox has no clue what happens, try fiddling with your proxy or account settings, then press Reconnect Now” to retry.

Many other applications had issues (for instance Visual Studio connecting to Team Foundation System was very unreliable and the workarounds clumsy).

CNTLM: not the solution

I got inspired by the [WayBack] I code and code: Tutorial: How to use Dropbox behind a corporate proxy server using CNTLM, even though I was pretty sure the corporate firewall was not NTLM based.

And indeed, CNTLM -v -M http://google.com -c CNTLM.INI would give errors like this:

cntlm: Proxy returning invalid challenge!
headers_send: fd 4 warning -999 (connection closed)
Connection closed

HTTP Fiddler: looks promising

So I fired up my old buddy [WayBack] Fiddler 2 HTTP debugging proxy.

Further on, you will learn that Fiddler2 is much more, but right now it is enough to know that it basically sits as a local proxy between your applications and the outside world. Read the rest of this entry »

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, base64, Cntlm, Development, DropBox, Encoding, Fiddler, JavaScript/ECMAScript, NTLM, Power User, Scripting, SocialMedia, Software Development, Web Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP, Windows-Http-Proxy | Leave a Comment »

Decrypt base 62 encoded JavaScript code (eval(function(p,a,c,k,…: Javascript Decryptor V2 | CrazyDavinci’s Blog

Posted by jpluimers on 2014/04/15

Every once in a while you will encounter a site that does some obfuscation.

I bumped into yet another base 62 encoded JavaScript, and this is what I used to unpack it:

This tool will help you decrypting the javascript encrypted with base 62 packer like the sample one on the box (eval(function(p,a,c,k,e,r){blah blah blah})

Just put the encrypted codes on the box then push the decrypt button…

–jeroen

via: Javascript Decryptor V2 | CrazyDavinci’s Blog | Social Networking, Programming, Security, Web Development.

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

Wireshark · WPA PSK Generator (has SHA1 JavaScript source)

Posted by jpluimers on 2014/04/14

Might come in useful one day: Wireshark · WPA PSK Generator.

–jeroen

Posted in Development, Internet, JavaScript/ECMAScript, Power User, Scripting, Software Development, WiFi | Leave a Comment »

Sample: Cast Media Player for Streaming with DRM (via: Shawn Shen – Google+)

Posted by jpluimers on 2014/04/01

Sample: Cast Media Player for Streaming with DRM

https://github.com/googlecast/CastMediaPlayerStreamingDRM

Flow Diagrams for Senders and Receivers

To help you decide which Google Cast options are right for your app, we have updated the Google Cast SDK documentation with two flow diagrams:

 

via Leon Nicholls – Google+ – Flow Diagrams for Senders and Receivers To help you decide….

via Shawn Shen – Google+ – * Sample: Cast Media Player for Streaming with DRM* ….

Posted in Chromecast, Development, Google, HTML, HTML5, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Development | Leave a Comment »