Posts

Showing posts from February, 2019

How To Start Git Web Interface

Image
Git has been a very helpful software development tool, it is so amazing when we are developer given such a free tools that have so much power. But we are not gonna be discussing about git at this moment, this tutorial is a simple and easy steps on how to create a web interface for your git server. We already have a post about how you set up a git server, follow this link for detail How to setup git server . Now login to your server, then init a new git server. git init --bare my-project.git Install ruby on your machine, well if you are using Ubuntu, it is so easy, you can just run this following command and ruby will be installed instantly. sudo apt install ruby Then we just this following command to make our web interface running. sudo git instaweb --httpd=webrick Now you already have a web interface for your git server, it's nothing like Github, but it's still has so many feauture to make our development experiences a bit easier. If you somehow want to stop...

How To Zip And Unzip On Ubuntu Terminal

Image
Well if you are using Desktop, it is easier to do zipping and unzipping an archived files, but if you are doing on server that running Ubuntu, or any other Linux distribution, here's a simple and quick way for you to do basic simple file management on your server. 1. Firstly, you must have an installed zip program ready for your terminal, just type zip to check if it's exists, or you can just run this command, it will check if a zip already on your machine or not, if it is not then it will installing it for you. sudo apt install zip unzip 2. Zip files and folder  on Ubuntu, you can run this commands sudo zip -r your_zip_name.zip directory_of_your_files 3. To unzip a zip file, you can using this commands sudo unzip -d your_zip_name.zip directory_destination That's so easy right, you can do that over and over to make you familiar with those commands, if you somehow forget, you can just bookmark this blog page and comeback whenever you forget.

Can I Delete Package-lock or Yarn-lock File?

Image
The short answer is No, you must not delete the package-lock or yarn-lock file, it is crucial for your project to work and compiled successfully without trouble. Here's the quick explanation, why you should not delete it. Basically when you and some library with node package manager (npm) or yarn, you save it to your "package.json" and when you install your project, the package manager will try to grab some required other library by the library that you use and save it in a lock file when the building process is finished. If you delete the lock file, the package manager you use will try to search it again, searching a newest dependencies that exist, because they can find the lock file. The lock file is basically just a massive dependencies list with the version that was work on last successful compiled. It's still noticeable when your project is not that big, but when you have some bigger project that required a lot of dependencies, it can be really massive m...

How To Start React Using Typescript

Image
This is how you can start React programming, it is cool framework for build front end web application, and not just for the web, React also can be use as Mobile User interface programming, but we will not cover that in this short tutorial. We are gonna start React programming for web using typescript. Why typescript? it's because typescript supports static type programming, it is recommended to use typed language because your code will be more concise, structured and maintainable, and if you used advanced IDE, you will be given an error event before run time. This is how you can start using React with typescript. 1. Make sure you have Yarn, if you don't, you can download it on this official website:  https://yarnpkg.com/en/docs/install 2. If you are using Windows, you don't need any setup after yarn installation, yarn will do it for your. But, if you using Linux or Mac Os, you should add Yarn global package to your path using this command  export PATH="$PATH:`ya...

Popular posts from this blog

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

How To Create Spring Boot Project Using Netbeans

Spring Kafka - How to use ReplyingKafkaTemplate send and reply synchronously