Day 1 – LangChain Basics
Start with a simple LLMChain to connect prompts + LLMs.
Easy, reusable & the base for more advanced chains.
#LangChain #Python #LLM #AItools #OpenAI #CheatSheet
Day 1 – LangChain Basics
Start with a simple LLMChain to connect prompts + LLMs.
Easy, reusable & the base for more advanced chains.
#LangChain #Python #LLM #AItools #OpenAI #CheatSheet
The Ultimate Python Cheat Sheet
--
https://www.cheat-sheets.org/saved-copy/Finxter_WorldsMostDensePythonCheatSheet.20210604.pdf <-- downloadable (free) PDF technical sheet
--
[this should NOT be considered an endorsement of this specific vendor, rather awareness of a useful open source coding resource]
#coding #resource #python #cheatsheet #tutorial #elearning #learning #opensource #student #application #downloadable
#Finxter
Python Tools and Scripts w/ UV CheatSheet: https://0xdf.gitlab.io/cheatsheets/uv
How would you solve the following use case when #bash #scripting ?
Given a text file and need to insert a line somewhere specific.
Extra challenging: Assume some lines are identical.
This might be worth sharing with @b0rk 's audience.
I'll share a solution I just used at work in the first comment; worth adding to ones #cheatsheet!
TIL that `wget` supports timestamp check.
Des infos sur les règles à prendre en considération si vous voulez exposer différentes images en fonction de la taille du navigateur de vos visiteurs.
ChatGPT Prompting CheatSheet: Get Better Results with Smarter Prompts
Want to make ChatGPT work for you — faster and more accurately? Mastering the art of prompting is key.
Basic Prompt Structures:
• Instructional: “Explain X to a beginner”
• Conversational: “Act as a cybersecurity mentor and guide me through Y”
• List-based: “Give me 10 tools used in Z with pros/cons”
• Comparison: “Compare OSINT tools Spiderfoot vs Maltego”
• Step-by-step: “Break down how to do X in 5 steps”
• Role-based: “You are a penetration tester. How would you approach Y?”
Prompting Tips:
• Be specific — avoid vague terms
• Add context: role, audience, tone
• Use constraints: “In less than 100 words” or “With examples only”
• Stack prompts: Give follow-up instructions to refine the result
• Iterate: Don't expect perfection on the first try — tweak and retry!
Bonus Use Cases in Cybersecurity:
• Generate reports from scan data
• Summarize threat intelligence
• Create cheat sheets or lab exercises
• Draft educational posts and disclaimers
Disclaimer: This guide is for educational purposes. Always validate AI-generated content before applying it in real-world scenarios.
Cheatsheet: Check Network Latency in Linux #Networking #Linux #Linuxcommands #Cheatsheet
Crib - Create and view custom hotkey cheatsheets in the terminal
#terminal #tui #rust #cheatsheet
https://github.com/noelzubin/crib
Linux Hardening Cheat Sheet
This cheat sheet covers essential baseline hardening steps with actionable commands, it is basic so there are many things can be added for different purposes, Contributions welcome on GitHub! Enjoy! - Yetkin
https://github.com/yetkind/LinuxHardeningCheatSheet/tree/main
#cheatsheet #linux
The #Fediverse seems like a good place to ask for a #recommendation of any good cheat sheets for #Git and #GitHub commands? Or just some tips that have vastly improved ease of use for you.
This week I attended a workshop as part of #DSDays2025 @unioslo on version control, hence I am keen to work more using Git instead of just resaving my code with a new name!
Since the #100daysofYARA challenge started, I decided to release my YARA cheat sheet version 2, extracted from my book Visual Threat Intelligence!
I hope you will find it useful! Have fun
And if you like this one you might like the full book: https://store.securitybreak.io/threatintel
A relire : http://devhints.io, une collection de cheatsheets
https://blog.shevarezo.fr/post/2018/08/02/devhints-io-collection-cheatsheets-langages
#documentation #cheatsheet #cheatsheets #webdev #devweb @devhints
I'm not embarrassed to say that I still sometimes confuse `crate::` vs `super::` in #rust. Even though `super` is kinda obviously `..` and crate is kinda obviously `~`.
But anyway, here's an example I'll put into my #howto #cheatsheet cabinet:
```
// use crate::conf::point_config::PointConfig;
use super::point_config::PointConfig;
```