Home
Reset your code
Cancel

Why HTML form with AJAX submit gives 404?

Imagine you have a simple login HTML form on your /Login page. It looks like below: <form id="loginForm" method="POST"> <input id="textinput" type="text" placeholder="login"/> <b...

Should I refactor my code?

Probably everybody knows below meme: But why are we so afraid? New requirement Imagine that your boss just gave you a new requirement. He wants to include twitter alias in login method. You open...

4developers is coming (CFP is open till 22.02.2016)

One of the biggest IT festival in Poland 4developers will be this year 11th April. Last year 4developers was superb. There were a lot of different paths like: .NET, Java, PHP, UX, Front-end, Applic...

How to remove JavaScript console.log - pros&cons

How to remove JavaScript console.log - pros&cons A few days ago I wrote a post: Disable JavaScript console on production. Shortly after that, I had a discussion with a friend about other ways...

New features in jQuery 3.0

We received a big present for the 10th anniversary of jQuery, jQuery 3.0 has reached beta status. Let’s take a look at what’s new in jQuery and how to use it. jQuery.Deferred Updated to be Promise...

ReAttach - how to easily (re)attach the debugger in Visual Studio

In more complicated projects, simple F5 doesn’t compile&debug. In cases where you’re working with IIS (w3wp process), we need to attach the debugger manually. Attaching debugger The simple gif...

New Year's resolution: try new front-end JavaScript frameworks

Quoting Wikipedia: Blue Monday is a name given to a day in January (typically the third Monday of the month) reported to be the most depressing day of the year. The concept was first publicised ...

Private npm registry with fallback to global registry

The requirement From time to time we need to use npm packages on following machines: Continuous Integration build agent with no access to internet (usually CI agent) with slow internet prox...

Disable JavaScript console on production

I love to put a log of debugging information in my code. Especially in JavaScript part. It shows me a lot of stuff during my work and allows to diagnose what had happened. Moreover I can include t...

Contact

If you’re interested in contacting me for any kind of particular reason, feel free to use the information below: Mail: piotr.stapp(at)gmail.com Twitter: https://twitter.com/ptrstpp950 Stack...