Skip to content

Instantly share code, notes, and snippets.

@mpujari
mpujari / WIP Links to listen too
Last active November 23, 2022 06:07
WIP Links to listen too
@mpujari
mpujari / increase-swap-size
Last active April 12, 2023 03:20
Increase Swap size
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=64
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
@mpujari
mpujari / docker-info
Created June 16, 2022 04:07
Docker info
sudo docker run -p 8080:8080 .....
The left-hand side of the port number mapping is the Docker host port to map to and the right-hand side is the Docker container port number.
@mpujari
mpujari / swap increase ubuntu
Last active May 9, 2022 05:02
swap increase in Ubuntu
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1G count=32
sudo mkswap /swapfile
sudo swapon /swapfile
@mpujari
mpujari / How Computer works
Last active January 23, 2022 07:28
How Computer works
* Exploring How Computers Work
https://www.youtube.com/watch?v=QZwneRb-zqA
* 8-bit computer update - by Ben Eater
https://www.youtube.com/watch?v=HyznrdDSSGM&list=PLowKtXNTBypGqImE405J2565dvjafglHU
Ubuntu 18.04
-------------------------------------------------------
* How to add Eclipse to Favorites?
https://askubuntu.com/questions/1082340/how-to-add-eclipse-to-favorites
TrustfulSSL.scala
https://gist.github.com/iRevive/4a3c7cb96374da5da80d4538f3da17cb
OpenJdk internal working videos, I have not started them yet, will try to cover them all [5-Oct-2019], will be updating when and where I come across good once.
Introduction to HotSpot Internals
https://www.youtube.com/watch?v=XjfhsJarQy0
Developers’ Introduction to HotSpot Internals
https://www.youtube.com/watch?v=MTTszlLGtt4
Learn about JVM internals - what does the JVM do?
https://www.youtube.com/watch?v=UwB0OSmkOtQ
@mpujari
mpujari / interview-links
Created July 22, 2019 03:08
Interview related links
@mpujari
mpujari / OpenJdk Source Flow Info
Last active July 22, 2019 03:09
OpenJdk Source Flow Info
java process entry point can be found at (launcher)
src/java.base/share/native/launcher/main.c here JLI_Launch is called which is defined in src/java.base/share/native/libjli/java.c file
@mpujari
mpujari / Scalac compiler some versbose
Last active May 10, 2019 03:47
Scalac compiler some versbose
scalac -Xprint-pos -Yshow-syms -Yshow-symowners -Yshow-symkinds foryield.scala