Skip to content

Instantly share code, notes, and snippets.

@vimal-verma
vimal-verma / Git-commands.md
Last active March 26, 2025 03:55
A list of Git commands

Git Commands

A list of Git commands

feel free to star this



@VictorTaelin
VictorTaelin / conversation_2024-08-28T19-40-20-814Z.md
Last active March 26, 2025 03:54
conversation_2024-08-28T19-40-20-814Z.txt

Refactoring Kind's switch with ChatSH

(This is a readable version of my ChatSH session. For the full log, click here.)

Taelin: Hello. We're going to refactor an aspect of the implementation of the Kind language. Are you ready? Start by doing 'ls', then 'cat kind-lang.cabal' to get familiar with the repo.

ChatSH: Certainly! I'm ready to help you refactor an aspect of the Kind language implementation. Let's start by examining the repository structure and the contents of the Cabal file.

ls && echo "---" && cat kind-lang.cabal
@ChuckMichael
ChuckMichael / vc_redistr.md
Last active March 26, 2025 03:51
Install all Visual C++ Redistributables using only one command!

Warning

App Installer must be installed on Win10/11.

CMD

Tip

You can save it and run as batch file (.bat).

winget install --id=Microsoft.VCRedist.2005.x86 -e  && winget install --id=Microsoft.VCRedist.2005.x64 -e  && winget install --id=Microsoft.VCRedist.2008.x86 -e  && winget install --id=Microsoft.VCRedist.2008.x64 -e  && winget install --id=Microsoft.VCRedist.2010.x86 -e  && winget install --id=Microsoft.VCRedist.2010.x64 -e  && winget install --id=Microsoft.VCRedist.2012.x86 -e  && winget install --id=Microsoft.VCRedist.2012.x64 -e  && winget install --id=Microsoft.VCRedist.2013.x86 -e  && winget install --id=Microsoft.VCRedist.2013.x64 -e  && winget install --id=Microsoft.VCRedist.2015+.x86 -e  && winget install --id=Microsoft.VCRedist.2015+.x64 -e 
@jlia0
jlia0 / agent loop
Last active March 26, 2025 03:51
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@zaneclaes
zaneclaes / maslow-clamping-skirt.nc
Created August 3, 2020 20:47
gcode for the Maslow Clamping Skirt frame plans
(1001)
(T1 D=0.25 CR=0 - ZMIN=-0.8394 - FLAT END MILL)
G0 G40 G90 G17
G20
(POCKET ROUGH)
T1 M6
M3 S10000
G0 X12.3576 Y18.4
G0 Z0.2
@thanhminhmr
thanhminhmr / README.md
Last active March 26, 2025 03:48
Go doesn't have ternary, so created one...

go-ternary

Yes, I know—yet another attempt at bringing a ternary-like experience to Go. But hey, Go doesn’t have one, and I wasn’t around when the last million were written.

Why?

Because Go doesn't have a ternary operator, and according to the official FAQ, it likely never will. The reasoning? To prevent developers from writing "impenetrably complex expressions." But let's be real—poor coding practices exist in all forms. Instead of outright banning a useful construct, wouldn’t compiler warnings for overly complicated ternary expressions have been a more reasonable approach?

Since that's not happening, here’s go-ternary—because sometimes, a one-liner is just nicer than an if-else.

@davidteren
davidteren / nerd_fonts.md
Last active March 26, 2025 03:45
Install Nerd Fonts via Homebrew [updated & fixed]
@slawekzachcial
slawekzachcial / aws-sigv4-ssm-get-parameter.sh
Last active March 26, 2025 03:45
Using CURL to call AWS ReST API, signing request with v4 signature
#!/bin/bash
# Source: https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html
[[ -n "${AWS_ACCESS_KEY_ID}" ]] || { echo "AWS_ACCESS_KEY_ID required" >&2; exit 1; }
[[ -n "${AWS_SECRET_ACCESS_KEY}" ]] || { echo "AWS_SECRET_ACCESS_KEY required" >&2; exit 1; }
readonly parameterName="SlawekTestParam"
readonly method="POST"
@Tosainu
Tosainu / cute_AA.txt
Last active March 26, 2025 03:43
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字