Skip to content

Instantly share code, notes, and snippets.

@isaqueprofeta
isaqueprofeta / siem_training.md
Last active January 1, 2025 03:27
SIEM Training
@zehnpaard
zehnpaard / grammar
Last active January 1, 2025 03:26
Python Implementation of Backtracking Recursive Descent Parser based loosely on Language Implementation Patterns
list : '[' elements ']';
elements : element (',' element)*;
element : NAME | assign | list | list_assign;
assign : NAME '=' NAME;
list_assign : list '=' list;
NAME : ('a'..'z' | 'A'..'Z')+;
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active January 1, 2025 03:26
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@nicolasdao
nicolasdao / open_source_licenses.md
Last active January 1, 2025 03:23
What you need to know to choose an open source license.
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide
@babakfp
babakfp / vscode-rtl-support.md
Last active January 1, 2025 03:13
vsCode RTL support

vsCode RTL support

Intro

I'm going to use the English language as an example of an LTR language and the Farsi/Persian/فارسی language as an example of an RTL language. When I say "This is how RTL works", what I actually mean is that this is how the Farsi language works. So, there may be some differences between RTL languages that I'm not familiar with.

I may provide a text demo and a screenshot demo. Be aware that the text demo is going to look different than the screenshot demo because GitHub doesn't properly support RTL:). So the screenshot version is the correct one.

There are over 600 million right-to-left (RTL) language speakers worldwide. I'm just letting everyone know that a lot of people are affected by not providing proper RTL support.

@jj1bdx
jj1bdx / rtl_fm-example.sh
Created January 1, 2019 13:47
rtl_fm example for listening to monaural FM
#!/bin/sh
# deemp: 75usec, treble +6 for compensating over-deemphasis
# sinc filter required to kill the 19kHz output
rtl_fm -f 76.5M -g 8.7 -M fm -s 192k -A fast -F 1 -r 48k -l 0 -E deemp | \
play -t raw -esigned-integer -b16 -r 48000 -c 1 -q - sinc -16k treble +6 spectrogram
@ayebrian
ayebrian / vmware.md
Last active January 1, 2025 03:12
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024