Last updated: 09-11-2025 11:34 AM EDT
Total public gists: 10
| Title | Files | File Names | Lang | Public | Created | Updated | Link | Comments | Forks | Stars |
|---|
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Simple security scanner for vulnerable npm packages | |
| # Checks all repos in an organization for specific package versions | |
| # | |
| # REQUIREMENTS FOR MACOS: | |
| # ----------------------- | |
| # 1. Install GitHub CLI: | |
| # brew install gh |
| """ A clean implementation of DDPG algorithm | |
| Continuous control with deep reinforcement learning (Lillicrap et al., 2015) | |
| """ | |
| import os | |
| os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' | |
| import gym | |
| import numpy as np | |
| import tensorflow as tf |
| /* | |
| Credit: https://gist.github.com/abhinav/00c2053b750b72e2d43bcf1652b5fb66 | |
| This is a userChrome.css for Firefox | |
| that hides the vertical tab sidebar (used by Sidebery), | |
| but only if Sidebery is enabled and the window title contains the "sidebery" preface. | |
| Instructions: | |
| 1. Enable userChrome.css support and vertical tabs in Firefox: | |
| 1.1 Go to about:config | |
| 1.2 Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` |
| window.k = (() => { | |
| const p = [ | |
| ['٩', '۶'], | |
| ['o', 'o'], | |
| ['☆*:.。.o', 'o.。.:*☆'], | |
| ['。゚', '゚。'], | |
| ['⸜', '⸝'], | |
| ['', 'ノ~ ♡'], | |
| ['╰', '╯♡'], | |
| ['┌∩┐', '┌∩┐'], |
| ---------------------------------------------------------------------------------------------------- | |
| 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 |
Quick references to common and useful python3 best-practices programming snippets and boilerplate.