Image for post
Image for post

Code Wars is best platform for learning algorithm from programming language, here I want to write the solution for ‘Word Mesh’ challenge using JavaScript. When it was written, the challenge is still in kyu 6.

Question


Image for post
Image for post

Using more than one computer is really booming nowadays. For many developer it can help a lot, so he can use one computer focused on coding and another focused on the output.

After several research, I got some answer that we can use cable to project our work into another monitor, but I don’t have any monitor. I have two devices that has windows 10 Operating Systems. So, by taking more deep search, I found that we can using windows 10 features to display our work in another desktop. …


Image for post
Image for post

Finding the smallest number or the highest one is common question that every coder will face. It was easy question. When using JavaScript, there are several method that can help.

For an example, we have an array like this

As we know the smallest value is -345 and the highest one is 100. To get that value, easily we just need to sort them, so it become like this.

After that, we can get the smallest and the highest value by accessing the first index or last index. Or if you want to get shortest path, using the Math method .min() and .max() it will save your time a lot.

Here is my code:

Thanks!!!


Image for post
Image for post

Code Wars is best platform for learning algorithm from programming language, here I want to write the solution for ‘Life Path Number’ challenge using JavaScript. When it was written, the challenge is still in kyu 7.

Question


Image for post
Image for post

Color generators are popular among Web Designer. There is many sites that provide free color generators such as:

Have you ever thought about building a generator by yourself?

In this article, I want to share about how to make your own random color generator using Vanilla JavaScript. The main is finding how to make string that contain hex color number.

After some research, I found some interesting article, we can build the hex color by using combination of Math.random() and Math.floor() feature from JavaScript. There is six digits inside hex color number, every digit has 16 number, between 0 until F. …


Image for post
Image for post

Do you still remember, a few years ago, verification method in some site using captcha. Captcha is a type of challenge-response test to check the user is human or robot. In this article, i want to build simple captcha verification method using JavaScript.

As we know, captcha is work in website, so a bit understanding of DOM will really helpful for reading this article. Let’s do it.

Boilerplate

Here we need to initialize the program that consist index.html, style.css, and app.js. Yes, you can rename it as you want.

index.html

Code above, is the main program of the index.html, …


Image for post
Image for post
Photo by christanw on unsplash

“Disclaimer: This is not Hacking Tutorial, this just for fun and educational only. Any violence because of this, is beyond my responsibility”

Let me tell you again, this perhaps not the brute force hacking tutorial you want to search. This tutorial is just for fun and educational purpose only. Instagram is a great platform, why you still trying to find a password by using brute force. Instead of using it, why not try social engineering attack that more realistic.

This article is just for fun, I don’t want to exploit Instagram, I just want to help you amuse your friend…


Image for post
Image for post

Initializing an array is simple concept, but make it into alphabet is different thing. Perhaps for many people this article is useless. But, i’m not seeing anybody write this article yet. So i write this one. The first concept is we need to initialize an array that fulfilled with the number of integer. It can be done using some method just like below.

ES6

Spread Operator

map function


Image for post
Image for post

Bahasa Python adalah bahasa universal, bahasa ini bisa berjalan baik digunakan untuk menyelesaikan beragam operasi mulai dari perhitungan, web development, data science, hingga artificial intelligence.

Pada artikel kali ini saya hendak membahas salah satu kegunaan bahasa python yaitu dalam pembuatan suatu grafik atau lebih umumnya dikenal istilah chart. Tentu diperlukan suatu library untuk dapat membuatnya, library tersebut bernama Matplotlib . Library ini dapat diinstal dengan perintah

Maupun cara lainnya, silakan download source code dari github saya pada bagian bawah artikel ini. Lalu pada direktori yang berisikan file source code ketikkan perintah berikut

Matplotlib…


Image for post
Image for post

Recently i use linux operating system, but i just can’t move on from windows 10. The feature of windows is so great, although it becomes the most vulnerable operating system. 😴

But, when i use windows, i always think about how easily live if terminal in linux can be implemented in windows. Yeah, we can use WSL and others, but i prefer not to install it. For me, terminal of linux is great. But WSL is totally different. Also, i am not really use all terminal command right?.

One most useful command that i think it’s worth if command line…

Handhika Yanuar Pratama

A Stoic Web Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store