Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@blackcater
blackcater /diagrams.md
CreatedJuly 6, 2018 16:45
Markdown Diagrams

Markdown Preview Enhanced supports renderingflow charts,sequence diagrams,mermaid,PlantUML,WaveDrom,GraphViz,Vega & Vega-lite,Ditaa diagrams.You can also renderTikZ,Python Matplotlib,Plotly and all sorts of other graphs and diagrams by usingCode Chunk.

Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.

Flow Charts

This feature is powered byflowchart.js.

✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
SUPPORT MY WORK - Everything Helps Thanks
YouTube 🔗https://YouTube.GetMeTheGeek.com
Buy Me a Coffee ☕https://www.buymeacoffee.com/getmethegeek
Hire US 🔗https://getmethegeek.com
Digital Ocean referral 🔗https://tiny.cc/plxdigitalocean
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨

@javydekoning
javydekoning /template.yml
CreatedJuly 7, 2021 09:45
CIS Alarms Cloudformation example
---
AWSTemplateFormatVersion:2010-09-09
Description:CIS AWS Foundations Benchmark Metric Alarms
Parameters:
AlarmNotificationTopicARN:
Description:Replace Default value with the ARN for your SNS alarm
#Assume SNS Topic Already Exists with atleast one subscriber
Default:arn:aws:sns:eu-west-1:<ACCOUNT_ID>:CIS-ALARMS
Type:String
CloudtrailLogGroupName:
@qoomon
qoomon /conventional-commits-cheatsheet.md
Last activeNovember 6, 2025 09:32
Conventional Commits Cheatsheet

See howa minor change to your commit message style can make a difference.

git commit -m"<type>(<optional scope>):<description>" \  -m"<optional body>" \  -m"<optional footer>"
@DusanMadar
DusanMadar /TorPrivoxyPython.md
Last activeNovember 6, 2025 09:29
A step-by-step guide how to use Python with Tor and Privoxy

Latest revision: 2025-07-24.

Tested onUbuntu 24.04 Docker container. The Dockerfile is a single lineFROM ubuntu:24.04. Alternatively, you can simply rundocker run -it ubuntu:24.04 bash.

NOTE: stopping services didn't work for me for some reason. That's why there iskill $(pidof <service name>) after each failedservice <service name> stop to kill it.

References

@Endermanch
Endermanch /swag.py
CreatedAugust 20, 2025 15:28
Swag and unswag your IP address
defswag(ip:str)->int:
parts=ip.strip().split('.')
iflen(parts)!=4:
raiseValueError("Invalid IPv4 address: must have 4 octets")
total=0
fori,pinenumerate(parts):
@mfd
mfd /teams.sh
Last activeNovember 6, 2025 09:24
Download any video from Microsoft Teams, SharePoint and OneDrive
2teams() {
NOW=$(date +"%Y-%m-%d_%H%M")
if [!-z$2 ];then
echo$NOW"_"$2.mp4
ffmpeg -i$1 -codec copy$NOW"_"$2.mp4
else
echo$NOW"_teamsvid".mp4
ffmpeg -i$1 -codec copy$NOW"_teamsvideo".mp4
fi
}
@sundowndev
sundowndev /GoogleDorking.md
Last activeNovember 6, 2025 09:23
Google dork cheatsheet

Search filters

FilterDescriptionExample
allintextSearches for occurrences of all the keywords given.allintext:"keyword"
intextSearches for the occurrences of keywords all at once or one at a time.intext:"keyword"
inurlSearches for a URL matching one of the keywords.inurl:"keyword"
allinurlSearches for a URL matching all the keywords in the query.allinurl:"keyword"
intitleSearches for occurrences of keywords in title all or one.intitle:"keyword"
@petersgiles
petersgiles /docx2md.md
CreatedSeptember 9, 2017 01:00— forked fromaembleton/docx2md.md
Convert a Word Document into MD

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can usehomebrew by running the commandbrew install pandoc.

The Solution

NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp