Skip to content

Instantly share code, notes, and snippets.

View tecncr's full-sized avatar
📎
Looking for a custom firmware for my toaster

Nícolas Castillo tecncr

📎
Looking for a custom firmware for my toaster
View GitHub Profile
@tecncr
tecncr / PHP-8.4-sqlsrv.Containerfile
Last active January 20, 2026 13:03
A podman-ready, containerized PHP 8.4 Laravel dev environment with Microsoft SQL Server support
# --------------------------
# Base stage - Microsoft repo setup
# --------------------------
ARG PHP_VERSION=8.4-fpm-bookworm
FROM docker.io/php:${PHP_VERSION} AS base
ENV DEBIAN_FRONTEND=noninteractive \
ACCEPT_EULA=Y
@tecncr
tecncr / pocketbase.Containerfile
Last active December 6, 2025 15:06
A simple Containerfile for PocketBase
############################
# Stage 1: downloader image
############################
ARG ALPINE_VERSION=3.23
FROM docker.io/alpine:${ALPINE_VERSION} AS downloader
ARG PB_VERSION=0.34.2
ARG PB_SHA256_CHECKSUM=a469d8ad8e6bd571b50841d63cd8b5c2e79d66552f9749221fd20ce497ade027
@tecncr
tecncr / Arduino-TM-917-simulator-2digit.ino
Created November 26, 2024 07:20
Arduino TM-917 simulator (2-digit precision)
#include <LiquidCrystal.h>
int count = 0;
int contrastPin = 10;
const int rs = 8, en = 9, d4 = 4, d5 = 5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
@tecncr
tecncr / Arduino-TM-917-simulator-1digit.ino
Last active November 26, 2024 07:21
Arduino TM-917 simulator (1-digit precision)
#include <LiquidCrystal.h>
int count = 0;
int contrastPin = 10;
const int rs = 8, en = 9, d4 = 4, d5 = 5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
@tecncr
tecncr / ArellanOS.asm
Last active July 13, 2022 06:23
A simple string echo boot sector program for x86 in real mode
; ArellanOS
; A simple string echo boot sector program for x86 in real mode
; Released for the public domain by Nícolas Castillo
; Feel free to modify and redistribute with or without this message ;)
; Big thanks to https://github.com/nico-qwer
[org 0x7c00]
[bits 16]