Skip to content

Instantly share code, notes, and snippets.

View aashishrbhandari's full-sized avatar
🎯
Focusing

Ashish R Bhandari aashishrbhandari

🎯
Focusing
View GitHub Profile
## Linux Essentials
## list files with Proper File Size listed by Creation data ( first is the oldest & last is the recent)
COMMAND
----------
ls -lrth
Explanation
-------------
Important Link (Data Extracted from this Links)
------------------------------------------------
https://stackoverflow.com/questions/34820558/difference-between-cgroups-and-namespaces
Content ( cgroups & namespaces )
---------------------------------
The proper links for those two notions have been fixed in PR 14307:
Under the hood, Docker is built on the following components:
The cgroups and namespaces capabilities of the Linux kernel
DOM ( Document Object Modal )
-------------------------------
The DOM represents a document with a logical tree.
The HTML DOM is an object-based representation of the source HTML document.
CSS & JS Query
Let's see this
---------------
Simple Encryption/Decryption Lib for Python
--------------------------------------------
https://github.com/andrewcooke/simple-crypt
https://github.com/Ayrx/python-aead
Simple Python Mailer
---------------------
https://github.com/gerold-penz/python-simplemail
Python InBuilt Functions:
--------------------------
InBuilt Func:
--------------
print()
input()
len()
IMP Package Related Tech Terms
-------------------------------
dpkg
apt
apt-get
aptitude
Good Articles & Discussions:
-----------------------------
https://www.reddit.com/r/debian/comments/9whj01/whats_the_difference_between_apt_aptitude_aptget/
A Good site to learn the Shell Command String
----------------------------------------------
https://explainshell.com
IMP Shell Realted Tech Terms
-----------------------------
file descriptors (fd)
Articles & Docs:
----------------------
1 DNS Packet Structure
All DNS packets have a structure that is
+---------------------+
| Header |
+---------------------+
| Question | Question for the name server
+---------------------+
| Answer | Answers to the question
+---------------------+
| Authority | Not used in this project
Project:
Title: Remove Element Containing Specific Sub-String in class or id using Vanilla JS
Link: https://jsfiddle.net/Asharry97/a8s4w9zu/
Quick hack
------------
Getting All Keys & Values of a JSON
oneRow = { "name": "ashish", "age": 10, "description": "Description Details", "specs": "specs details" }
var valueList = []
SOLID
S -> Single responsibility
O -> Open–closed
L -> Liskov substitution
I -> Interface segregation
D -> Dependency inversion
In-Depth
---------