Skip to content

Instantly share code, notes, and snippets.

View brainrake's full-sized avatar
λ ék .

Márton Boros brainrake

λ ék .
  • Budapest, Hungary
View GitHub Profile
module Quine exposing (main)
import Html exposing (..)
import Html.Attributes exposing (..)
main =
Html.textarea
[ rows 30
, cols 160
@brainrake
brainrake / flake.nix
Created March 31, 2023 14:31
cross compile rust to nix
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
naersk = {
url = "github:nix-community/naersk";
inputs.nixpkgs.follows = "nixpkgs";
@brainrake
brainrake / shell.nix
Created May 4, 2023 20:18
nodejs-12_x
{ hostPkgs ? import <nixpkgs> { }, ... }:
let
src = hostPkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "1db42b7fe3878f3f5f7a4f2dc210772fd080e205";
sha256 = "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY=";
};
pkgs = import src { };
in
@brainrake
brainrake / sign-files-windows.md
Last active February 10, 2026 08:11
Sign all files in a directory using PKCS#12 on Windows

Sign multiple files using PKCS#12 on Windows

Note: signtool cannot authenticode-sign PDFs in a way Adobe Reader recognizes as a PDF digital signature. It can attach an Authenticode signature to the file, but this is not a standards-compliant PDF signature. This is acceptable only if you explicitly need Authenticode (e.g., integrity checks), not Adobe-style signing.

Install

Download and install latest stable Windows SDK for your windows version (usually Windows 11 x64) and . This includes signtool.exe. https://learn.microsoft.com/en-us/windows/apps/windows-sdk/

@brainrake
brainrake / sign-pdfs-windows.md
Last active February 10, 2026 08:11
Sign multiple PDFs on Windows using PKCS#11
@brainrake
brainrake / resume.json
Last active April 8, 2026 22:18
resume.json
{
"basics": {
"name": "Márton Boros",
"label": "DevOps · Declarative · Functional · NixOS",
"image": "",
"email": "martonboros@gmail.com",
"phone": "+40726178555",
"url": "https://github.com/brainrake",
"summary": "Seasoned DevOps expert with strong programming background. Proven leader building and mentoring engineering teams across remote and on-premise environments.\n\nTop Skills: DevSecOps: NixOS, Terraform, AWS, CI/CD, on-prem · Engineering Lead · Technical Writer\n\nGeneralist with wide ranging engineering and architectural overview in full support of business decisions. Specialized in secure and compliant declarative infrastructure at scale (NixOS, Terraform), reproducible CI/CD pipelines, multi-cloud management (AWS, GCP, on-prem) Strong background in functional programming (Haskell, Rust, Elm) and full-stack development.",
"location": {