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,861 other subscribers

Archive for the ‘Web Development’ Category

How to fill proxy information in cntlm config file (via: Stack Overflow)

Posted by jpluimers on 2015/04/10

This is an elaboration of How to fill proxy information in cntlm config file – Stack Overflow.

When digging around how to get authentication stuff going, I want as much information, so this was the command-line I used:

cntlm.exe -v -c cntlm.ini -I -M http://www.bbc.co.uk

The -v is important: it shows you why things fail, and where: It also shows you the NTLM headers sent back/forth over the wire.

These are the switches used:

  • -v verbose
  • -c configuration file
  • -I interactive (prompt for password)
  • -M magically detect the NTLM level used by the proxy

Since it is unsafe to store plain text passwords in configuration files, cntlm allows you to store the hashes.

Storing hashes not passwords locally is safer, but not much safer. See for instance Still Passing the Hash 15 Years Later: Guest Post: Let’s talk about Pass-the-Hash by Scriptjunkie the video How to own a Windows Domain or search for Mark Russinovich video windows hash ntlm hack.

Anyway: you can generate the password hashes using either     Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, Fiddler, git, HTTP, Internet protocol suite, Mercurial/Hg, NTLM, Power User, Software Development, Source Code Management, TCP, Web Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Vista | 1 Comment »

One line browser notepad (via: Jose Jesus Perez Aguinaga)

Posted by jpluimers on 2015/02/19

Smart, it works in any modern html5 capable browser:


data:text/html, <html contenteditable>

Be sure to look at the blog post and comments at Jose Jesus Perez Aguinaga : One line browser notepad as they explain why this works, and how to extend it in a couple of really smart way.

–jeroen

via: Jose Jesus Perez Aguinaga : One line browser notepad.

Posted in Chrome, Development, Firefox, HTML, HTML5, Internet Explorer, Opera, Power User, Safari, Software Development, Web Browsers, Web Development | 1 Comment »

RosettaCode: cool way to improve your coding skills

Posted by jpluimers on 2015/01/22

Wow: I feel like having lived under a stone for 8 years, as RosettaCode has been alive since it was founded in 2007 by Mike Mol.

The idea is that you solve a task and learn from that, or learn by seeing how others have solved tasks or draft tasks.

So in a sense it is similar to the Rosetta stone: it has different languages phrasing the same tasks.

There are already a whole bunch of languages on RosettaCode (of which a few are in the categories below), and you can even suggest or add your own languages.

When you want to solve tasks, be sure to look at the list unimplemented tasks by language that leads to automatic reports by language (for instance two of the languages I use most often: C# and Delphi).

I’m sure there are lots of programming chrestomathy sites, even beyond the ones, and it feels very similar to programming kata sites.

–jeroen

Posted in .NET, APL, Awk, bash, Batch-Files, C, C#, C++, COBOL, CommandLine, Delphi, Development, Fortran, FreePascal, Java, JavaScript/ECMAScript, Lazarus, Object Pascal, Office VBA, Pascal, Perl, PHP, PowerShell, PowerShell, Prism, Scripting, sed script, Sh Shell, Software Development, Turbo Prolog, VB.NET, VBS, VBScript, Visual Studio and tools, Web Development | Leave a Comment »

Cross-site Scripting (XSS) – OWASP

Posted by jpluimers on 2015/01/12

When I look what is possible with Cross-site Scripting (XSS), then I wonder how you can defend your site to any and all of these and future attacks.

Coming from a desktop application and back-end background, the jungle of the web keeps being overwhelming.

–jeroen

via: Cross-site Scripting (XSS) – OWASP

Posted in Development, Software Development, Web Development | Leave a Comment »

Direct link to the “old” WordPress stats page giving more information: My Stats — WordPress.com

Posted by jpluimers on 2014/12/22

For my link archive: the “old” stats page, as it shows more information in a better formatted way (especially on larger monitors) My Stats — WordPress.com.

The “new” stats page used only half the screen width (long live responsive layout): Stats ‹ 7443331 — WordPress.com.

–jeroen

Posted in Development, SocialMedia, Software Development, Web Development, WordPress, WordPress | 2 Comments »

Some links on SSPI/NTLM base64

Posted by jpluimers on 2014/12/03

I bumped into some issues for a client/server project that tried to perform its own SSPI/NTLM base64 authentication on the server side.

Some links that helped me debug that combo:

–jeroen

Posted in Development, SOAP/WebServices, Software Development, Web Development | Leave a Comment »

em, rem, vh, vw, vmin, vmax, ex, ch… Good explainer on various CSS units – via G+

Posted by jpluimers on 2014/11/21

Thanks Ilya Grigorik for sharing this link to 7 CSS Units You Might Not Know About – Tuts+ Web Design Article :

em, rem, vh, vw, vmin, vmax, ex, ch… Good explainer on various CSS units and why and where you’d use them.

Recommended reading.

–jeroen

via: em, rem, vh, vw, vmin, vmax, ex, ch… Good explainer on various CSS units and….

Posted in CSS, Development, Software Development, Web Development | Leave a Comment »

WordPress.com #fail (new editor just as bad as old one): Another example of the editor eating line breaks « WordPress.com Forums

Posted by jpluimers on 2014/10/31

Complaint Friday…

A long time ago, I complained about the (now old!) WordPress.com editor being wrong, wrong, wrong: Another example of the editor eating line breaks « WordPress.com Forums.

The promise then was that the new editor would be better.

The big news: the new editor is just as bad in this respect (and far worse in other respects).

Just watch the text around my signature and PS in the texts below and shiver.

Lets start with the original text of my GoToWebinar blog post today:

Read the rest of this entry »

Posted in Power User, Software Development, Web Development, WordPress, WordPress | 1 Comment »

Some cool visual traceroute sites/mashups

Posted by jpluimers on 2014/10/02

It is always cool to see some mashups: apart from great examples, they also make for some good research material.

–jeroen

Posted in Development, Google, GoogleMaps, Power User, Software Development, Web Development | Leave a Comment »

Optimal posting time? (via: Are there optimal days/hours to post questions in order to get visibility and answers? – Meta Super User)

Posted by jpluimers on 2014/09/22

A while ago, i came across this interesting question: Are there optimal days/hours to post questions in order to get visibility and answers? – Meta Super User.

The recommended time 1400 UTC is related to my blog post scheduling behaviour.

Virtually all my blog posts are either (when both apply at the same time, that is pure coincidence):

I schedule posts on Monday through Friday:

Difference between 0600 UTC and 1400 UTC

So why the time difference of about 8 hours between 0600 UTC and 1400 UTC?

That has to do with the public I generally interact with: software developers speaking English, mainly living in European and USA, with a minority in India, Asia and down-under.

  • At 0600 UTC, most Europeans are about to wake up or just arrived at work, so they get fresh content. Still quite a few people from India and Asia are up (returning from work) can read it the same day it was posted. And virtually everyone in the USA is still sleeping, so they get fresh content too.
  • At 1400 UTC, most Europeans are at work, people at the USA East Coast just started working and the rest of the USA is waking up and (hopefully) going to work. So you get a huge group of on-line people online with a high chance if comment/answer interaction on your question: great for getting answers on the same day.

“Missed Schedule” on WordPress blogs Read the rest of this entry »

Posted in Facebook, G+: GooglePlus, LifeHacker, LinkedIn, Power User, SocialMedia, Twitter, WordPress | Leave a Comment »