Advanced Search
Search Results
229 total results found
Programming Languages
C Notes
Python
Bash Shell
Ruby
Linux Module/Kernel Programming
NodeJs/JavaScript
OMSCS Classes
AWS Solution Architect Notes
Rust
Linux General Knowledge
Spring and Spring Boot
Java
Docker
Git
Splunk
Apache Kafka
SQL
Go / Golang
General Programming Principal
SSL and Certificates
Cheat Sheet
JavaScript Roadmap Journey
Intro to Operating System
Zero to Hero Beginner Udemy Course
Rust Programming Language
AWS Overview Course
https://explore.skillbuilder.aws/learn/course/9496/play/32556/welcome-to-solutions-architect-associate-exam-prep
Ultimate AWS Certified Solutions Architect Associate Course
Maven
Go with Examples
Professional Lessons
Object reference vs pointer
Pointer variable Let's start from the beginning, computer memory location are layered out in addresses, each particular location have an address and holds some kind of content. The address is a numerical number usually in hex for easier expression. To help p...
What is *? In Regular Expression?
https://stackoverflow.com/questions/3075130/what-is-the-difference-between-and-regular-expressions
Difference between single (' ') quote vs double (" ") quote
Single Quote Using single quote in bash script will preserve the literal value of each characters in the single quotes. It will not do any variable interpolation but instead treat it as it is. Basically what you entered is what you will see. None of that esca...
Regex Escape Characters
Backslash in /regex/ Expression When you are trying to create a literal backslash match in Ruby, if you use the /regex/ expression, the backslash parsing are only done once. Meaning that \\ will become \ string literal. For example: /\\h/ will be matching th...
find glob expansion
When using regular expression in find, you have to quote the name parameter to prevent glob expansion (the name expansion done by the shell) find . -name *.java vs find . name "*.java" The first method will expand to the files you have at the current d...
Bash Cheatsheet
Multi-line Command To execute multi-line command in bash script simple put a \ after breaking up your commands. There should be no white spaces after the backslash, else it will fail! Every single line should be followed by a \ until you finished typing the ...
Backslash Escapes
See link for valid information. This page is outdated. When you are working with special character arguments for say Python or Bash scripts, remember that if you only put one backslash it will escape the character that comes after it. In the case that the cha...
Echo Clear Previous Line
The escape string \033[0K will clear the entire line, this string are cross-platform so it will work on zsh, bash, ...etc. For zsh you can use the string \e[0K instead of 033
Disk Usage utility
df - File System Disk Usage The command df reports the total disk usage on the mounted file system. For example, how much space is still available in the root partition, how much space is still left on the /dev/sda1 partition that you have created and where i...
Diff Command Line Tool
https://www.computerhope.com/unix/udiff.htm#How%20diff%20Works
grep, awk, sed family tool
Grep Global Regular Expression Pattern With grep you can do simple text-based or regular expression search on the file you passed or can be also piped. You can only provide in one pattern, you can provide in multiple pattern to search for by using the pipe ...
Virtual File System
Superblock Superblock is metadata about the filesystem. It define the name of the file system (ext4, ext2/3, FAT32). It defines their size, the status, and the structures of some other metadata. Superblock is vital to file system since they tell the OS how t...
How To Install NodeJs + NPM (Linux)
1. Head to the official repository for Node.js distributio The link is right here: https://github.com/nodesource/distributions. Head there and scroll down to find the correct command to copy and paste to install the version of Node you would like 2. Start N...
Introduction
What is JavaScript It is a scripting language that is the core of websites, along with HTML and CSS, by learning scripting language you give interactivity to your web pages! Sliders, alerts, click interactions, popups, etc... Are all made possible with JavaS...
Code structure and data types
Script tag You can insert JavaScript program into HTML document using the <script> tags. You can write inline scripts directly between the tags or you can include external scripts. In order to include external script you would specify the src attribute for t...
Variables
Variables A named storage for storing data. There are couple way of creating a variable var keyword This is the relic of the past, back when JavaScript first came out it was the only way of declaring variables with the var keyword. Variable declared with ...
Type Conversion
String Conversion You can call the String() function to explicit convert a value to a string String(false) -> "false" String(null) -> "null" Numeric Conversion Occurs when you use math functions and expressions console.log("6" / "2"); // Print out 3! Or...
Basic Operators and Comparsion
Math Operators +, addition -, subtraction *, multiplication /, division %, remainder **, exponentiation String Operators The plus symbol if used with Strings will be for concatenation, you join two String together. If any of the operand is a String, th...
Conditional and Logical Operator
Ternary Operator let accessAllowed; if (age > 18) { accessedAllowed = true; } else { accessedAllowed = false; } // Can be simplified into just accessedAllowed = age > 18 ? true : false; || (OR) Returns true if one of the boolean value is tru...
Loops and switch statement
While and for loop They are the same as in Python, C, and Java while (condition) { // Repeat certain code } for (begin; condition; step) { // Repeat certain code } break and continue both works the same way as in any other language. Switch state...