Posts

How to Create Javascript Countdown App

Image
Countdown Timer If you need to create a countdown app in Javascript, this is the solution I am going to reveal. It's very easy to do anything in Javascript, especially because of the abundance of libraries out there. You don’t have to experience the pain process developing stuff from scratch. It’s generally not easy to make a countdown app because the nature of our calendar system which is very mess up and not well structured, so sometimes 1 year is 12 months, or  365 days sometimes less, sometimes more, and then a month can have between 28-31 days, a day is 24 hour, 1 hour is not 1/10 minutes but  it’s 1/60 and so on. Real mess, so very difficult to crush those numbers because it’s nothing like base 10 which is the number we are familiar with. Luckily in Javascript there’s tons of libraries to deal with Calendar or Date stuff, there’s one that stands out is MomentJS. So here’s a Javascript code on how you create a countdown app using javascript, in this example we are gonna do a c

How To Disable And Re Enable Hyper V On Windows

Image
VMWare Logo If you use an older version of virtualization machine like VM ware or virtual box you might at some point face this problem “VMware Workstation and Device/Credential Guard are not compatible”, this is a message telling you that there’s a conflict from your newest installed program with VMWare. For example i tried to install Docker (a containerization program), afterward my VMWare stopped working. There’s conflict between VMWare and Docker, Docker can only be run when Hyper-V is activated but VMWare doesn’t work if Hyper-V is activated.  The solution for this type of conflict is actually very simple, disable Hyper-V when you want to run VMWare and then enable Hyper-V when you want to run Docker that needs Hyper-V activated. How to disable Hyper-V 1. Open control panel 2. Programs 3. Turns windows feature on/off 4. Uncheck all feature under Hyper-V 5. OK Disable Device/Credential Guard It probably is not enough to make your VMWare work by disabling Hyper-V. You need one extra

How to Protect Your Windows PC with Cloud Backup Service?

Image
Nowadays, more and more computer users are aware of the importance of computer backup. Because once the data is lost, it may cause serious consequences to users, especially for enterprises and special institutions. However, data on your computer is always facing the risk of losing due to system crash, hardware failure, human errors and so on. Is it necessary to cloud backup Windows PC? Since backing up your data on the computer is necessary, what is the best backup solution for computer data? In the past, users thought external storage devices like external hard drives, flash hard drives, USB drives, etc. are safer than local hard drives and preferred backing computer data to these external storage devices.  But recently, people have realized that the external hard drives are not safe either because they also may be damaged or lost. Therefore, users want a safer backup solution to protect their computer data. According to the 3-2-1 backup strategy, to prevent your data from losing in m

How To Build a Simple OS Using Windows WSL-Debian

Image
How to build simple os from Windows This is just a repost from Osdev wiki here https://wiki.osdev.org/Bare_Bones . It’s very thorough and easy to follow step by step guide developing a simple OS. I don’t have the skill of explaining that well, so if you want to know in-depth, read the original post. I will only provide a method that is working for me, a summary and the code that is working on my Windows 10. Actually it’s not Windows, it’s Linux inside Windows, it’s 100% Linux, not cygwin or mingw. It tastes like 100% Linux. Now, here's a step by step to develop an OS on Windows. 1. Have a Linux on your Windows First thing to do, you are gonna need Windows subsystem for linux (WSL), because the main Windows OS usually doesn’t have very many tools for this kernel development purpose, it’s easier to do in Linux. In case you don’t know what WSL is, you can read my previous article ( Windows terminal WSL ). I use Debian (but Ubuntu or any Linux that has an apt package manager will be

This Is A MySQL Tutorial For Real Beginners

Image
MySql for Beginners MySQL is one of the most popular and widely used in the world, so if you are planning to be a programmer, especially web-based programming, skill in MySQL is one of the required skills you must acquire.  If you just started learning programming, here’s some really step by step to work with MySQL. 1. Start by installing MySQL I am a big windows fan, so installing mysql on windows is just like you are installing any other software, download the installer and start configuring your MySQL root password. Just set your mysql password 1234, it’s easier to remember because you are gonna use this password a lot, don’t worry it’s okay for our local computer. To install MySQL, you can download the installer here https://www.mysql.com/downloads/ , follow the installation step. 2. Make MySQL available on terminal You must be able to use MySQL on the terminal, on windows, open environment variable and add mysql.exe to your system path, mysql binary by default is at C:\Program Fil

To learn or to suffer - Programmer’s rambles

Image
Chart up green arrow, sales growth I am trying to write anything from vim starting from now, this is actually the first article that i wrote for this blog without using any advanced word processor. I just open terminal, type in vim command and start to create a new file and write this article content. This may not be very interesting for anyone, but for me it's quite compelling. I really like pushing myself to almost the limit of my capability. VIm is not something extraordinary, probably the majority of programmers even already have  experiences with vim for years. So nothing special. So little bit about myself, I have been working as a programmer for quite a few years, not that long but i feel like i have been doing programming intensely so it feels like very long for me. I feel that I have enough experience to write any code without any help from IDE, or even from the internet.  Of course i am not gonna be that extreme, there's a principle  in software engineering that any s

How To Install Vim Plugin On Vim For Windows

Image
Vim nerdtree on Windows 10 As a beginner vim user, even just installing a plugin is already something that confusing, i don’t know why the first time i try to install vim plugin just doesn’t work, even though i believe i have followed the instruction correctly.  So if you are someone like me, struggling to install vim plugin, you can follow this step by step guide. Actually it’s very simple, but because vim users mostly are linux users, it kind of difficult to find a reference of Vim for Windows. Now to install a plugin, let’s start by opening our windows command prompt or there is a new cool windows terminal (if you don’t know about windows terminal, this is a really cool terminal, you can read in my previous article here ). Move to HOME /vimfiles/pack/vendor/start directory using cd command. If the path doesn’t exist, you can manually create it. Note that the HOME is your home directory, on windows, Home directory usually something like C:/Users/your_username . Now clone the source

The Ultimate Terminal For Windows, Couples Things To Begin With

Image
Watching star wars from windows terminal Today i just discovered a very cool terminal for Windows OS, it was developed by Microsoft itself, so it’s not gonna be disappointing, and probably a long term project. This very cool and modern terminal, the best terminal console I've ever seen. If you don’t know about this project, Windows terminal is Microsoft project, a better version of terminal that runs on Windows. Here’s the Official website of the terminal ( https://aka.ms/terminal ) from Microsoft. You can look for much detailed information, and how to install it. What to do the with the terminal The first thing i would do is to make the Windows terminal launch in fullscreen mode (maximize mode), which you probably already know, even this simple thing is not possible to do in classic cmd or even powershell. To make windows terminal launch maximize,just put "launchMode": "maximized" , into your settings.json . If you don't know where settings.json is, open W

Should I need To Learn How To Write Code On VIM Or IDE

Image
Vim text editor logo This document is written in Vim, a terminal based text editing program, there's not a lot of fancy things to do with Vim. It can not be used for doing any complex editing, but it's still working so it's actually not that bad for writing, because it’s very fast, and i love working on a terminal a lot. When I am writing code on Vim, you need to memorize your codes because there’s no code autocompletion like if you are using an IDE. But that’s actually a good practise on writing codes, because you can write code much faster if you remember all of the language's syntaxes. I still kind of switch between IDE and VIM, because sometimes the clients or project managers at the company that I work for need a quick fix, so I only use vim for doing personal projects in my spare time. If you are a beginner, an IDE can really help you write better codes quickly, and also it will guide you with lots of code recommendations. But for me I have been using IDE for quit

Not That Very Important Tips About Blogging For Beginner

Image
Graphic Designer - Photo by XPS on Unsplash The Internet is very huge, and has been growing so fast from just private military projects to something that not only we can just enjoy using it, but the internet also provides some people a way to make revenue. From small scale to big tech companies like in FAANG (Facebook, Amazon, Apple, Netflix and Google). 1. Don't expect too much at first To some individual lone wolfer like us trying to make a dime from the internet, it’s sometimes not only so hard, but almost seems impossible. But today we have video streaming like Youtube, you literally only need to upload videos to youtube, probably a little bit skill in video editing, maintain the video quality and chances are you are gonna make some online income if you are very persistent. Blogging on the other hand seems so simple but as nowadays the internet is already full with millions of websites, the chances of getting success on blogging are probably a bit smaller. But here’s just very

Popular posts from this blog

Is Nox Player a Malware? Nox Android Emulator

ASUS Battery Health Charging Software To Make Your Battery Life Longer

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

How To Uninstall Angular CLI, The Angular Framework

Flutter AppBar, With Icon, Title and Actions Link