Skip to content

Instantly share code, notes, and snippets.

View domix's full-sized avatar
🇲🇽

Domingo Suarez Torres domix

🇲🇽
View GitHub Profile
#!/bin/bash
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x ./kubectl && sudo mv ./kubectl /usr/local/bin/kubectl
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.30.0/minikube-linux-amd64 && chmod +x minikube && sudo cp minikube /usr/local/bin/ && rm minikube
echo "Ahora ya puedes ejecutar:"
echo "minikube start --vm-driver none"

Keybase proof

I hereby claim:

  • I am domix on github.
  • I am domix (https://keybase.io/domix) on keybase.
  • I have a public key ASAwfx_i4X1QV_pM7SMhVSpL1kTWdZzW_OeYsM_g5gHUjAo

To claim this, I am signing this object:

-> # uprecords -m 70
# Uptime | System Boot up
----------------------------+---------------------------------------------------
1 281 days, 23:42:20 | Linux 4.15.13-x86_64-lin Wed May 23 12:05:31 2018
2 148 days, 08:00:51 | Linux 4.9.15-x86_64-lino Mon May 8 13:01:42 2017
3 130 days, 16:01:33 | Linux 4.0.4-x86_64-linod Fri Jun 12 08:07:45 2015
4 112 days, 14:34:59 | Linux 3.9.3-x86_64-linod Mon Aug 26 21:10:47 2013
5 111 days, 04:15:00 | Linux 4.5.0-x86_64-linod Fri Apr 1 16:45:23 2016
6 110 days, 09:30:53 | Linux 4.14.12-x86_64-lin Wed Jan 17 01:14:29 2018
7 107 days, 21:50:52 | Linux 4.8.3-x86_64-linod Sat Nov 5 12:19:15 2016
@domix
domix / mac-setup.md
Created July 12, 2020 02:13 — forked from todc/mac-setup.md
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date.

Software Update

2. Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
@domix
domix / StaticsInLocalClassesExample.java
Created September 27, 2021 15:48 — forked from thomasdarimont/StaticsInLocalClassesExample.java
Example for using static in a local class for memoization
package wb.java17;
import java.math.BigInteger;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class StaticsInLocalClassesExample {
public static void main(String[] args) {
System.out.println(factorial(120));
@domix
domix / microgpt.py
Created February 20, 2026 01:10 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp