Monday, February 26, 2024

SASS

 SASS Exists in two forms: SASS File and SASS 


Need a preprocessor

, LibSass is unusable on its own and must be wrapped by another library to provide an interface for compiling Sass stylesheets to CSS. The most popular wrapper for LibSass has to be node-sass6, a Node.js library that compiles Sass to CSS through LibSass


 npm install node-sass -g


node-sass --watch input.scss output.css

Monday, February 19, 2024

CURL

 curl -G -f www.google.com > output.html

curl -X POST https://example.com/api/endpoint -d @"input.txt"


Use netstat -aon to list all active connections with detailed information, including the local and remote ports. Note down the process ID (PID) corresponding to the desired connection. Run tasklist /FI "pid eq 1234" (replace 1234 with the noted PID) to find the program name and other details associated with that PID.

Wednesday, February 14, 2024

Technical Words

"The fix here is to tailor the interface based on what each client needs"


 It is used to surface any backend server timing 


In the context of surfacing backend server timing, the word "surface" means to make the information visible and accessible. It implies that the timing data isn't readily available or easily understood as-is, and this tool or process brings it to the forefront, making it clear and usable.

Programming Tips

 

Hmm, having a method on a class that when called won’t do what its name implies is just bad… really, really bad. anytime you see code that takes in some sort of baseclass or interface and then performs a check such as “if (someObject is SomeType)”, there’s a very good chance that that’s an LSP violation. I’ve done that, and I know so have you, let’s be honest. 

         Sometimes, solid principles go hand in hand. 

           https://softwareengineering.stackexchange.com/a/431254/293140

- Calaudio Lassala