Skip to content

Instantly share code, notes, and snippets.

@thomaspoignant
thomaspoignant / Makefile
Last active February 6, 2026 15:00
My ultimate Makefile for Golang Projects
GOCMD=go
GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet
BINARY_NAME=example
VERSION?=0.0.0
SERVICE_PORT?=3000
DOCKER_REGISTRY?= #if set it should finished by /
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true
GREEN := $(shell tput -Txterm setaf 2)
@davwheat
davwheat / review.md
Last active April 24, 2025 08:45
REVIEW: Mechrevo Code 01/Schenker VIA 15 Pro/PCSpecialist Fusion IV 15

TongFang 15" AMD Ryzen laptop (PF5NU1G)

Today marks the day that my first ever brand new laptop arrived!

I ordered the Fusion IV 15 from PCSpecialist. This is also known as the MECHREVO CODE 01, Schenker VIA 15 PRO, TongFang PF5NU1G (OEM model name), as well as several other names from other "manufacturers" (rebranders) such as Eluktronics.

Contents

@mohanpedala
mohanpedala / bash_strict_mode.md
Last active March 16, 2026 01:07
set -e, -u, -o, -x pipefail explanation
@0xjac
0xjac / private_fork.md
Last active March 16, 2026 01:53
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@chadrien
chadrien / README.md
Last active August 24, 2025 21:28
Debug PHP in Docker with PHPStorm and Xdebug

Debug your PHP in Docker with Intellij/PHPStorm and Xdebug

  1. For your local dev, create a Dockerfile that is based on your production image and simply install xdebug into it. Exemple:
FROM php:5

RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \