Skip to content

Instantly share code, notes, and snippets.

@medeirxs
medeirxs / .zshrc
Last active July 2, 2025 06:48
Terminal Config (ZSH)
autoload -U colors && colors
root_in() {
if [[ $EUID -eq 0 ]]; then
echo "%F{218}$USER%f %F{250}in%f "
else
echo "%F{218}$USER%f %F{250}in%f "
fi
}
{
"billing_address": {
"address1": "100 Ba Đình",
"address2": null,
"city": null,
"company": null,
"country": "Vietnam",
"first_name": "Gia",
"id": 1144737102,
"last_name": "Ho",
@choco-bot
choco-bot / Install.txt
Created July 2, 2025 06:44
pdfshaperfree v12.5 - Passed - Package Tests Results
2025-07-02 06:42:33,570 5620 [DEBUG] - XmlConfiguration is now operational
2025-07-02 06:42:33,818 5620 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,833 5620 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,865 5620 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,895 5620 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,895 5620 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,911 5620 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,930 5620 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-02 06:42:33,930 5620 [DEBUG] - Adding new typ
@kgenots
kgenots / docker-compose.yml
Created July 2, 2025 06:44
Caddy + Cloudflare DNS Docker Compose
# caddy + cloudflare SSL/TLS 인증
# 명령어: docker compose up -d
# {cloudflare_API_KEY} 는 직접 입력
services:
caddy:
image: ghcr.io/caddybuilds/caddy-cloudflare:latest
restart: unless-stopped
cap_add:
- NET_ADMIN
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 2, 2025 06:44
Rimworld output log published using HugsLib
Log uploaded on Wednesday, July 2, 2025, 9:44:22 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Big and Small - Framework(RedMattis.BetterPrerequisites): 0Harmony(2.3.3), BetterPrerequisites(1.0.0), BSXeno(1.0.0), RedHealth(1.0.0)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:25.3.21), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(0.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMa
@Bad3r
Bad3r / python .pre-commit-config.yaml
Created July 2, 2025 06:43
generic python project pre-commit config
default_language_version:
python: python3.13
fail_fast: true
repos:
# Use the Ruff version managed by the project's dev dependencies for consistency
- repo: local
hooks:
- id: ruff
name: "Ruff (Linter)"
stages: [pre-commit]
@Raven6068
Raven6068 / JavaStudy04.java
Last active July 2, 2025 07:29
4. 10000원으로 3500원짜리 물건 샀을때 거스름돈 계산해서 출력
public class OperatorExample {
public static void main(String[] args) {
int money = 10000;
int price = 3500;
int change = money - price ;
System.out.println(" 거스름돈 = " + change);
}
}
@vi66r
vi66r / install_startapp.sh
Last active July 2, 2025 07:25
startapp script
#!/bin/bash
#───────────────────────────────────────────────────────────────────────────────
# install_startapp_go.sh – one‑shot installer for the Go‑based **startapp** CLI
#───────────────────────────────────────────────────────────────────────────────
set -euo pipefail
SRC_URL="https://gist.githubusercontent.com/vi66r/e5bacd3c0936f231170aad94167cec0c/raw/36b72bcbe892e60dc3c5d45443bead34d2a01273/startapp.go"
### 0. macOS guard
[[ "${OSTYPE:-}" == darwin* ]] || { echo "❌ macOS only"; exit 1; }
@milksense
milksense / timeline.svelte
Created July 2, 2025 06:41
Timeline component inspired from ibelick
<script lang="ts">
import { scale } from 'svelte/transition';
let hoveredIndex = $state(null as number | null);
let selected = $state(null as number | null);
// Create an array of years from 1993 to 2024
let YEARS = Array.from({ length: 2024 - 1993 + 1 }, (_, i) => 2024 - i);
let handleMouseEnter = (index: number) => {
@phpclub
phpclub / angie.md
Created July 2, 2025 06:41 — forked from llcawc/angie.md
Настройка сервера Angie для Ubuntu или Debian

Настройка сервера Angie

Angie (Энджи) — эффективный, мощный и масштабируемый веб-сервер, реализованный как форк nginx:

  • Создан бывшими разработчиками исходного проекта, чтобы двигаться в новом направлении, и может служить заменой предшественнику без переработки конфигурации и модулей.
  • Включает все возможности nginx 1.27.4 и добавляет к ним целый ряд новых функций.

Установка Angie на сервер Ubuntu или Debian

На основе официальной документации: https://angie.software/angie/docs/installation/