Skip to content

Instantly share code, notes, and snippets.

Melhores Práticas de Versionamento Semântico

Abordagem Recomendada: Pre-releases antes da Produção

Concordo totalmente! 👍 Essa é uma excelente prática e você está seguindo o padrão correto de versionamento semântico.

Por que usar pre-releases (alfa/beta) está correto:

1. Uso adequado de pre-releases (alfa/beta)

  • -alfa indica que é uma versão em desenvolvimento/teste
@renanrcrr
renanrcrr / README.md
Created June 20, 2025 22:50
Shopify Liquid snippet to display a dynamic “Featured Products” section based on product tags. Includes responsive layout, CSS styling, and clear instructions for theme integration. Easily customizable and ideal for boosting product visibility on the storefront.

Featured Products Section for Shopify

Displays up to 4 products tagged with "featured" in a styled grid.

Setup

  1. In Shopify Admin, go to Online Store → Themes → Edit code.
  2. Under Sections, create featured-products.liquid and paste the Liquid code.
  3. Add the CSS to your theme:
    • Option A: Paste into assets/featured-products.css and include it in theme.liquid.
@FLOATING-POINT
FLOATING-POINT / cursor.js
Created June 20, 2025 22:38
Animated morphing cursor follower
;(function () {
let isResting = false
let isOverRestrictedEls = false
let lastMoveTime = performance.now()
const restDelayDefault = 5000 // ms before fading out
const restDelayPointerOver = 50 // ms before fading out
let restDelay = restDelayDefault // ms before fading out
let mouseX = 0
@mattbell87
mattbell87 / remote-wsl.md
Last active June 20, 2025 22:43
VSCode Remote: Connect to WSL2 from another machine

VSCode Remote: Connect to WSL2 from another machine

Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.

Proxy jump method

  1. On the host set up OpenSSH for Windows
  2. Run wsl --update to make sure you are running the latest WSL
  3. Open WSL and install another SSH server inside WSL with sudo apt-get install openssh-server
  4. Now run sudo systemctl enable --now ssh to automatically start ssh when WSL starts.
@padgriffin
padgriffin / StartIsBack Cleanup.xml
Created July 18, 2024 01:21
Task Scheduler Task that removes the key for StartIsBack Trial upon logon
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2024-07-18T02:11:06.5028053</Date>
<Author>KINGCLAWTHORNE\Pad</Author>
<URI>\StartIsBack Cleanup</URI>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
@CharlieEtienne
CharlieEtienne / CheckFilamentCompat.php
Last active June 20, 2025 22:37
Check if your Filament Plugins are ready for v4
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Http;
class CheckFilamentCompat extends Command
{
/**
@selfawaresoup
selfawaresoup / uconsole.md
Last active June 20, 2025 22:29
Notes for Clockwork uConsole setup

uConsole Notes

Batteries

I use two XTAR 16850-3500 cells and I get about 8h of active usage out of them.

Get GNOME Shell and GDM3

sudo apt install gnome-shell gdm3
--[[
PublicDumper.lua
Loadstring:
```lua
loadstring(game:HttpGet("https://gist.githubusercontent.com/pubmain/9465065102087f9df570f8f904398a2f/raw"))()
```
Mode: "Normal" | "Incremental"
Kick: boolean
@felipeochoa
felipeochoa / DOCX spec.md
Created March 8, 2017 19:37
Quick overview of how the DOCX format works

How the DOCX spec works

The standard can be downloaded from the ISO website at [this direct link][iso direct link]

DOCX documents are a zipped folder containing several interacting components in a word doc. The main ones are:

  • word/document.xml: The main document content
  • word/styles.xml: Name style information (e.g. "Header 1"), similar to CSS