Posts in snippets
🔢 Are Two N-Dimensional Real Subspaces Equal If They Have The Same Dimensions?
- 25 May 2024
The topic of vector spaces and subspaces came up during a conversation with a dear friend and I could not resist reminiscing the past. They were studying for an upcoming test and I wanted to try and reinforce their intuition in some areas through a couple of examples and counter-examples.
📝 Emulating Semgrep SAST Pro Taint Mode with Join Mode
- 17 May 2024
Semgrep’s Join Mode[1] is a seldom discussed yet interesting experimental feature of the Semgrep OSS SAST engine which can be used to achieve rudimentary taint interprocedural and interfile analyses. In this snippet I document how to combine one search mode and two join mode rules in order to identify intrafile, intraprocedural, interfile and interprocedural tainted sinks.
🥋 Codewars: Opposites Attract
- 05 May 2024
Some members from http://guayahack.co came up with the idea for us to practise and discuss some code katas together and I couldn’t resist.
🧪 Snippet: General Publishing Test
- 04 May 2024
In the best spirit of over-engineering for fun, this minimalistic post documents the way my snippets land over at jdsalaro/jdsalaro.com.
Kill (9-TERM) Processes with Expression(s) in Name or Call
- 12 July 2023
I often find myself needing to terminate processes containing certain string literals or whose call matches a given regular expression. For that reason I probably re-write and tweak this one-liner several times a month; which is why I’m putting it out there.