Skip to main content

Release 0.2 - Lab 4

Issue: https://github.com/RabanserD/rabanserd.github.io/issues/75

This week I managed to find an issue that required a pull request template. The required technology for this issue was github and '.md' for the documentation.

Comments

Popular posts from this blog

Git Commands

There are many commands on git that new developers do not know of. These commands can make working in open source projects, or group projects easier to understand. Of all these commands, I will be going through two that most new developers do not know of. Log While working in large groups, there are many commits that you or others may have done within a repository. Using 'log,' you can view the history of all the changes made. Basic command:    git log  With this basic command, you can view the commit id , author of the commit, date of the revision, and the details the user wrote.     git log --follow filename    This command allows you to follow the commit history of a single file. It is useful for working in big groups as you can follow a file that you contributed to, instead of viewing the whole repository. Simply replace ' filename ' with the directory of the file you want to view.   git log - number    git log...

A CLOSER LOOK INTO RENAMING FILES IN NODE.JS

When programming, using modules and libraries within our code is a must. As the libraries are written by others, beginners will be confused on what each function and the arguments mean. Throughout this post, we will go through renaming files with Node.js. First, we must grasp the concept of opening a file, so the program knows what file to search for. The following is a simple set of code that will open a file. Open() const fs = require ( 'fs' ); fs . open ( '/open/some/file.txt' , 'r' , ( err , fd ) => { if ( err ) { throw err ; } fs . close ( fd , ( err ) => { i f ( err ) { throw err ; } } ); } ); Let's go through what each part of the code represents.  fs is a module that allows access to a physical file system.  The  fs.open  function is called when you want to open a file. The first argument should be the path to the file. The second argument refers t...

Release 0.2 - Lab 5

Issue: https://github.com/novisadjs/novisadjs.github.io/issues/1 This week I managed to find an issue that required an icon that needs to be implemented into the webpage, with a hyperlink. The person that created the issue provided an icon already, so all I had to do is implement it into the .html file. I managed to fix this issue, and got the pull request merged into the code.