Skip to main content

Posts

Showing posts from September, 2021

C-LANGUAGE WITH HARRY

CHAPTER-01 VIDEO PERMA-LINK :-  https://bit.ly/3tv9tCW PDF LINK :-  Chapter-01 Q)0-structure.c #include <stdio.h> int main() {     return 0; } ==================================================================== Q)1-first.c # include<stdio.h> /* This is our first c program which is awesome! */ int main() {     int tom;     int Tom;     /*are two different variables     because case sensitive*/     //Declaring variables to store error codes     int error_code; //meaningful variables     // 'J' is a character     printf("Hello I am learning C with Harry");     return 0; } ==================================================================== Q)2-variables.c #include <stdio.h> /* This is our first c program which is awesome! */ int main() {     int a = 4;     int d = 45;     //int b=8.5;//not recommended because 8.5 isn't an integer ...

LINUX COMMANDS CHEATSHEET (PERSONAL)

  COMMANDS CHEATSHEET 1. sudo apt update && sudo apt full-upgrade -> updates and upgrades the operating system. 2. flatpak update -> updates the flatpak applications. 3. sudo dpkg-reconfigure <package><name> -> reconfigures the package to resolve any dependency problem. 4. sudo dpkg -i <file/packagename.deb> -> install .deb files directly from the Terminal. 5. history -> shows the previously given commands. 6. sudo fc-cache --force -> Found from Archwiki . Force unlocks the font-cache database. 7. sudo fc-cache -fv -> Refreshes the font-cache. Useful after installing some fonts. 8. sudo  add-apt-repository ppa:<ppaname> -> add the ppa into the repository. 9. sudo dpkg --add-architecture i386 -> adds 32-bit libraries to the distribution. 10. sudo apt install <package><name> -> installs the specified package along with the dependencies. 11. git clone <repo url> -> downloads the files from selected...