Skip to content

Instantly share code, notes, and snippets.

@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active December 22, 2025 01:49
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active December 22, 2025 01:47
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.

@cmj
cmj / nitter_instances.md
Last active December 22, 2025 01:44
Active Nitter instances
@eros18123
eros18123 / Vinculador de Notas no Editor
Last active December 22, 2025 01:42
Vinculador de Notas no Editor
# -*- coding: utf-8 -*-
# File: __init__.py (FINAL VERSION - BUG FIXED)
import json
import os
import re
from typing import Any, Tuple, List, Dict
from aqt import mw
from aqt.editor import Editor
@eros18123
eros18123 / Vinculador de Notas na Revisao
Created September 7, 2025 00:26
Vinculador de Notas na Revisao
# -*- coding: utf-8 -*-
# File: __init__.py (FINAL VERSION - MODIFIED FOR REVIEWER WORKFLOW)
import json
import os
import re
from typing import Any, Tuple, List, Dict
from aqt import mw
from aqt.editor import Editor
@eros18123
eros18123 / rememorize fixed
Created November 5, 2025 19:06
rememorize fixed
# -*- coding: utf-8 -*-
# ReMemorize - Atualizado para Anki 2.1.50+
# Baseado no addon original de Lovac42
import random
import time
from datetime import datetime
from typing import List, Optional
from aqt import mw, gui_hooks
@eros18123
eros18123 / permitir primeiro campo vazio ao adicionar no editor
Created November 13, 2025 20:48
permitir primeiro campo vazio ao adicionar no editor
from aqt import gui_hooks
from aqt.editor import Editor
from anki.notes import Note
def on_add_note_will_be_added(problem: str, note: Note) -> str:
if problem and "first field" in problem.lower():
return ""
return problem
@eros18123
eros18123 / autocompletar palavras (legendas)
Last active December 22, 2025 01:39
autocompletar palavras (legendas)
import json
import re
from collections import Counter
from aqt import mw
from aqt.utils import tooltip
from aqt.gui_hooks import editor_will_load_note
from aqt.qt import *
# --- CONFIGURAÇÕES ---
@nyancodeid
nyancodeid / commit-message-id.md
Last active December 22, 2025 01:30
Commit Message Guidelines

Pedoman Commit Message

Kami memiliki aturan yang sangat tepat tentang bagaimana pesan git commit kami dapat diformat. Ini mengarah ke pesan yang lebih mudah dibaca yang mudah diikuti ketika melihat melalui history proyek. Dan juga, kami menggunakan pesan git commit untuk menghasilkan log perubahan pada Angular.

Format Commit Message

Setiap pesan komit terdiri dari header, konten, dan catatan kaki. Judul memiliki format khusus yang mencakup jenis, cakupan, dan subjek:

<type>(<scope>): <subject>
<BLANK LINE>
@Verssae
Verssae / safetyedu.js
Last active December 22, 2025 01:30
한양대 안전교육 스킵 스크립트
/*
Hanyang Univ. a script for skipping safetyedu courses
http://safetyedu.hanyang.ac.kr/
[교육 영상 스킵]
1. '수강하기' 버튼을 눌러 안전교육 창을 띄운다.
2. 개발자도구(F12 버튼을 눌러) 열어 'console' 탭에 이동해 아래 스크립트를 붙여넣는다.
3. 6과목에 대해 반복한다.