Homepage
Open in app
Sign in
Get started
Code Wave
DIY guides for developers
Follow
Simple API Throttling example in Python
There are many kinds of throttling but one of the most intuitive I think of is the relative time window. Each user has their own throttle…
udaiveer singh
Sep 24, 2020
How to install open JDK8, JDK 11, JDK 12, on Mac OS and switch between them
How to install open JDK8, JDK 11, JDK 12, on Mac OS and switch between them
This blog post is for people that have not installed any JDK libraries before and want to know how. As a bonus, I will also go over how to…
udaiveer singh
Jul 22, 2019
Template Method Pattern
The template pattern falls under the behavioral category in the GOF book. The central concept of the template method pattern is to solve…
udaiveer singh
Jun 24, 2019
Prototype Patten
Prototype Patten
The goal of the prototype pattern is to make cloning objects (even complex nested objects) trivial.
udaiveer singh
Jun 23, 2019
Abstract Class Factory Method
Abstract Class Factory Method
In the last post, we talked about Method Factory Pattern, but his one is about its “big brother”, the Abstract Class Factory Method.
udaiveer singh
Jun 22, 2019
Factory Method Pattern
Factory Method Pattern
If you ask a developer if they know what factory pattern is you will usually get a “yea I know that pattern”. I was one of those…
udaiveer singh
Jun 20, 2019
What to expect when trying Docker for Mac UPDATED
What to expect when trying Docker for Mac UPDATED
Ok so its been 1 Year and this problems have been solved.
udaiveer singh
Jan 22, 2017
Error starting userland proxy: Bind for 0.0.0.0:3306 failed: port is already allocated — Docker
Error starting userland proxy: Bind for 0.0.0.0:3306 failed: port is already allocated — Docker
I was trying to run the docker container and kept getting this message. The solution for me was quite simple.
udaiveer singh
Jan 14, 2017
Using SSL with Nginx and Node
Using SSL with Nginx and Node
If you are just about to make a website that takes any sensitive information from the user. You should probably install a SSL Certificate…
udaiveer singh
Jan 25, 2016
Quick way copy paste blocks of text into Javascript.
In Php you have a text block like so
udaiveer singh
Jan 24, 2016
Multiple subdomains on one server with Aws,node,nginx
Multiple subdomains on one server with Aws,node,nginx
I recently went through how to add multiple subdomains to my root domain q-app.io and wanted to share the process with anyone else that…
udaiveer singh
Jan 21, 2016
Useful function to reverse a JavaScript Object
I need to reverse an javascript object where the key was the socket id and the value was the username connected to the socketID. A user can…
udaiveer singh
Jan 6, 2016
How to Connect a Nginx Node app to a Domain on AWS.
How to Connect a Nginx Node app to a Domain on AWS.
As someone without a strong networking/DevOps background It took about a whole day to finally get everything working. Most of it was…
udaiveer singh
Jan 3, 2016
How to make your own JWT
How to make your own JWT
JWTs or Json Web Tokens seem to be all the hype for stateless session management. It can be quite easy to just import a JWT library and use…
udaiveer singh
Dec 22, 2015
Extending a Commands Based parser in JavaCC
Extending a Commands Based parser in JavaCC
This blog is a continuing series of my JavaCC blogs Understand simple CFG and Error Handling. The goal for this blog is to finish off the…
udaiveer singh
Dec 22, 2015
Understand simple CFG and Error Handling
Understand simple CFG and Error Handling
This blog is a continuing series of my JavaCC blogs Installing JavaCC for Mac. The goal for this blog is to implement a very simple but…
udaiveer singh
Dec 4, 2015
Installing JavaCC for Mac
Installing JavaCC for Mac
Every developer knows that one of the biggest problems with using a new technology is the installation. In this post I am going to go over…
udaiveer singh
Dec 1, 2015
Building a Tree with D3
Building a Tree with D3
A while back I got extremely interested in D3.js. The fact that you can take some data or even a cluster of data and in just a few minutes…
udaiveer singh
Nov 14, 2015
About Code Wave
Latest Stories
Archive
About Medium
Terms
Privacy
Teams