Skip to content

Instantly share code, notes, and snippets.

@teocci
teocci / how-to-ssh-into-windows.md
Created October 13, 2022 08:07
How to SSH into Windows 10 or 11?

How to SSH into Windows 10 or 11?

The latest builds of Windows 10 and Windows 11 include a build-in SSH server and client that are based on OpenSSH. This means now you can remotely connect to Windows 10/11 or Windows Server 2019 using any SSH client, like Linux distros. Let's see how to configure OpenSSH on Windows 10 and Windows 11, and connect to it using Putty or any other SSH client.

OpenSSH is an open-source, cross-platform version of Secure Shell (SSH) that is used by Linux users for a long time. This project is currently ported to Windows and can be used as an SSH server on almost any version of Windows. In the latest versions of Windows Server 2022/2019 and Windows 11, OpenSSH is built-in to the operating system image.

@lizkenyon
lizkenyon / metaobjectReferencesProduct.liquid
Last active January 10, 2025 01:05
How to access product information that is referenced by a metaobject in liquid
{%
################################
# How to access product information that is referenced by a metaobject
#
#
# metaobject_references_a_product -> The type of of the metaobject definition. Settings > Custom Data > Your metafield definition > Type
# metaobject-references-a-product-ng8tvn4m -> The handle of the specific metaobject you want to access. Content > Metaobjects > Handle
# product -> The name of the product reference field, defined in your metafield definition. Settings > Custom Data > Your metafield definition
#
# Gotcha: Make sure the product that you are referencing has been published to the online store!
@thiagoandrecardoso
thiagoandrecardoso / Docker para iniciantes.md
Created January 9, 2025 07:38
Meus estudos semanais sobre Docker.

Cronograma de Estudos para Docker

Semana 1: Introdução ao Docker

  • FEITO
  • Teoria (1h):
    • O que é Docker e sua importância em projetos modernos.
    • Conceitos básicos: imagens, containers, volumes, e redes.
    • Instalação do Docker e Docker Compose.
  • Prática (1h):
  • Instalar Docker no seu ambiente de desenvolvimento.
@jlyonsmith
jlyonsmith / Mac Keyboard Symbols.md
Last active January 10, 2025 01:02 — forked from Zenexer/Mac Keyboard Symbols.md
List of Mac/Apple keyboard symbols

Common symbols

Modifiers

When a key combination is displayed, the modifiers are written in the order presented here. For example, Control + Option + Shift + Command + Q would be written as ⌃⌥⇧⌘Q.

Sym Key Alt
Control
Option
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 10, 2025 01:01
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@KojoBailey
KojoBailey / epub3_calibre.md
Last active January 10, 2025 00:58
My process for creating EPUB 3 digital manga

Quick copy-paste access (if you know, you know):

<spine page-progression-direction="rtl">
.calibre1 {
  display: flex;
  justify-content: center;
  align-items: center;
 height: 100vh;
@voidexp
voidexp / go-env-with-msys2.md
Last active January 10, 2025 00:57
Go development environment on Windows with MSYS2

Go development environment on Windows with MSYS2

Normally, it is sufficient to grab the Go MSI installer from the website in order to set up the toolchain. However, some packages that provide Go wrappers for C libraries rely on cgo tool, which in turn, needs the GCC toolchain in order to build the glue code. Also, 3rd-party dependencies are usually hosted on services like GitHub, thus Git is also needed. This mini-guide illustrates how to setup a convenient development environment on Windows using MSYS2.

@glycerine
glycerine / go-env-with-msys2.md
Created April 26, 2020 01:07 — forked from voidexp/go-env-with-msys2.md
Go development environment on Windows with MSYS2

Go development environment on Windows with MSYS2

Normally, it is sufficient to grab the Go MSI installer from the website in order to set up the toolchain. However, some packages that provide Go wrappers for C libraries rely on cgo tool, which in turn, needs the GCC toolchain in order to build the glue code. Also, 3rd-party dependencies are usually hosted on services like GitHub, thus Git is also needed. This mini-guide illustrates how to setup a convenient development environment on Windows using MSYS2.

@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active January 10, 2025 00:56
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.