Steve Senkus

Software Developer living in 🌞sunny, 🌞sunny San Diego

Using Ngrok and Node.js to share our localhost publicly

Running apps locally on our own computers is great for development, but there are many cases where software developers such as us would want to show off our work with people outside our network! Maybe we are working on a prototype or a feature request, maybe we do not have a server to deploy to, or maybe we are behind a restrictive corporate firewall or network. Whatever the reason, there is a way to still expose our app to the work with a public URL: ngrok! Read more →

jQuery – Find event handlers for a DOM element

As a JavaScript developer, you will eventually find yourself debugging code someone else wrote. Unit tests only cover so much and most tests are written in an isolated environment. The truth in JS is when an application is running. When using third-party libraries and code you haven’t written (legacy code), it is useful to be able to figure out what’s going on before implementing a new feature or fixing buggy code. Read more →

jQuery Dropdown Login Menu with One-Shot Collapse

One-shot event handlers are a very useful tool to have in your Javascript/jQuery toolbelt. In this post, we will see how to effectively add a bit of UI interactivity into our pages and applications using one-Shot event handlers to create a jQuery dropdown login menu. Program Flow: Anonymously invoke a Menu constructor function Attach event handlers for #trigger button & the hidden , setting an initial state for the drop-down form Read more →