Skip to content

Instantly share code, notes, and snippets.

@githubfoam
githubfoam / bbb big blue button cheat sheet
Last active April 11, 2022 05:50
bbb big blue button cheat sheet
------------------------------------------------------------------------------------------------------------------
bbb-conf --version
sudo bbb-conf --check | head -n2 # big blue botton version itself
$ cat /etc/bigbluebutton/bigbluebutton-release
BIGBLUEBUTTON_RELEASE=2.2.36
------------------------------------------------------------------------------------------------------------------
#By default, BigBlueButton server automatically remove the raw data for a recording after 14 days of its being published
#BigBlueButton cron job
/etc/cron.daily/bigbluebutton
@githubfoam
githubfoam / kind cheat sheet
Last active October 1, 2024 16:43
kind cheat sheet
------------------------------------------------------------------------------------------------
$ kind create cluster --config baeldungConfig.yaml #create the cluster using the configuration file
kind create cluster --image kindest/node:v1.20.7 #provide a specific version of the Kubernetes image
$ kubectl cluster-info --context kind-baeldung-kind
kubectl cluster-info dump --context kind-baeldung-kind
$ kind get clusters
$ docker ps
$ kubectl get nodes
@githubfoam
githubfoam / java cheat sheet
Last active March 23, 2026 03:33
java cheat sheet
----------------------------------------------------------------------------------------------------
#how to update java windows 10
java control panel-update tab
start menu-Type here to search-Environment Variables-System Variables
C:\Program Files\Java\jdk-17.0.2 #Set the JAVA_HOME System Path
%JAVA_HOME%\bin; #Confirm that the path to JAVA_HOME,Append the path to the JDK (up to the bin folder) as the PATH value
----------------------------------------------------------------------------------------------------
#Installing the JDK from the Command Line
msiexec.exe /i installer.msi #Basic UI mode
@githubfoam
githubfoam / tshark cheat sheet
Last active November 7, 2026 10:25
tshark cheat sheet
============================================================================
#Wireshark installation directory: windows
C:\Program Files (x86)\Wireshark>tshark.exe
============================================================================
tshark -D #list of available interfaces
============================================================================
capture
============================================================================
tshark -i 2 #start capturing traffic on interface n°2
tshark -i 2 -a duration:10 #capture for 10 seconds, then stop
@githubfoam
githubfoam / linux sketches
Last active March 10, 2025 07:35
linux sketches
------------------------------------------------------------------------------------------
sudo apt install cowsay
cowsay <Text>
echo "Hello" | cowsay
cowsay -g <message>
cowsay -e hh <hello>
cowsay -l #List them with option -l
cowsay -f <cowfile name> <message>
@githubfoam
githubfoam / owasp zap proxy cheat sheet
Last active November 10, 2021 07:03
owasp zap proxy cheat sheet
------------------------------------------------------------------------------------------------------------------------------
#Windows
run ZAP via the command line, you will need to locate the ZAP startup script.
C:\Program Files (x86)\OWASP\Zed Attack Proxy\zap.bat
------------------------------------------------------------------------------------------------------------------------------
#MacOS
run ZAP via the command line, you will need to locate the ZAP startup script.
/Applications/OWASP\ ZAP.app/Contents/Java/zap.sh
------------------------------------------------------------------------------------------------------------------------------
@githubfoam
githubfoam / cisco wireless controller cheat sheet
Last active November 3, 2021 08:26
cisco wireless controller cheat sheet
-----------------------------------------------------------------------------------------------------------------------
>show wlan summary
>show wlan apgroups
-----------------------------------------------------------------------------------------------------------------------
>show interface summary
-----------------------------------------------------------------------------------------------------------------------
@githubfoam
githubfoam / tcpdump cheat sheet
Last active November 30, 2025 21:00
tcpdump cheat sheet
----------------------------------------------------------------------------------------------------
tcpdump -s 0 #capture entire etherner header and IP packet
tcpdump -ni tap55ec3c7f-91 ip6 #locate the ICMPv6 packets
tcpdump -s0 -n -i any -w /tmp/$(hostname)-smbtrace.pcap #if the SMB client or SMB server is a Unix host,Troubleshooting Server Message Block (SMB)
tcpdump -D #Print the list of the network interfaces available on the system and on which tcpdump can capture packet
tcpdump -X -vvv -n -i eth0
@githubfoam
githubfoam / sysinternals cheat sheet
Last active October 17, 2026 19:29
sysinternals cheat sheet
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
AccessChk - Lets you see what type of access users and groups have to files, directories, registry keys, etc.
AccessEnum - Full view of your file system and registry security settings.
AdExplorer - Active Directory viewer and editor.
AdInsight - LDAP real-time monitoring tool used to troubleshoot Active Directory applications.
AdRestore - Ability to restore deleted Active Directory objects.
Autologon - Easily configure autologon mechanism.
Autoruns - Displays programs that are configured to run at startup.
BgInfo - Displays relevant information about the computer on the desktop, such as computer name, IP address, etc.
@githubfoam
githubfoam / windows event logs cheat sheet
Last active October 6, 2026 09:01
windows event logs cheat sheet
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# PS : ChatGPT makes mistakes, consider "trust but verify" principle
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#Events to Monitor
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/appendix-l--events-to-monitor
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#run
eventvwr.msc Event viewer
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Event Viewer(Local)-Windows Logs (shutdown / restart )