Skip to content

Instantly share code, notes, and snippets.

@LordOkami
LordOkami / autopia-propuesta.html
Last active June 22, 2026 15:00
Autopía — Propuesta de plataforma (deck)
<title>Autopía — Propuesta de plataforma</title>
<style>
:root{
--ground:#0F1F17; /* deep forest green — El Bosque */
--ground-deep:#0A150F;
--panel:#15281D;
--hairline:#26392C;
--text:#F1ECDE; /* warm ivory */
--muted:#9DAB99;
--brass:#C9A24B; /* burnished brass — concours plaque */
@LordOkami
LordOkami / swap_app.ahk
Created December 20, 2022 13:40
Change same app window in windows
!º::
WinGetClass, OldClass, A
WinGet, ActiveProcessName, ProcessName, A
WinGet, WinClassCount, Count, ahk_exe %ActiveProcessName%
IF WinClassCount = 1
Return
loop, 2 {
WinSet, Bottom,, A
WinActivate, ahk_exe %ActiveProcessName%
WinGetClass, NewClass, A
@LordOkami
LordOkami / instructions.md
Created March 18, 2021 16:17 — forked from marteinn/instructions.md
This is a Phoenix + React-Create-App integration with very small footprint
  1. Begin with scaffolding a create-react-app, then update your package.json build script (replace DIR_TO_PHX_APP with the path to your phoenix app)
"build": "react-scripts build && rm -rf DIR_TO_PHX_APP/priv/static/build && mv build DIR_TO_PHX_APP/priv/static/build",

This will move your prod build files to DIR_TO_PHX_APP/priv/static/build on build

  1. Run npm run build
@LordOkami
LordOkami / install-elixir.sh
Last active June 24, 2020 09:07
Install Elixir
#!/bin/bash
sudo apt install build-essential automake autoconf git squashfs-tools ssh-askpass pkg-config curl
sudo apt-get install libssl-dev libncurses5-dev
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.1
# The following steps are for bash. If you’re using something else, do the
# equivalent for your shell.
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc
@LordOkami
LordOkami / LevelComponent.cs
Created March 9, 2020 18:28
Unity ECS - CodeMonkey 01
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Entities;
public struct LevelComponent : IComponentData
{
public float level;
}
@LordOkami
LordOkami / .env
Last active February 26, 2020 21:25
Deezer Music downloader
COMPOSE_CONVERT_WINDOWS_PATHS=1
@LordOkami
LordOkami / export_google_starred_locations.py
Created February 4, 2020 20:20 — forked from endolith/export_google_starred_locations.py
Export Google Maps starred locations
# -*- coding: utf-8 -*-
"""
Go to Google Bookmarks: https://www.google.com/bookmarks/
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en
After downloading the html file, run this script on it to generate a KML.
"""
curl -s https://[USER_TOKEN_ID]:@api.github.com/orgs/[ORGANIZATION]/repos\?per_page\=200 | jq ".[].ssh_url" | xargs -n 1 git clone --recursive
@LordOkami
LordOkami / cloudSettings
Last active November 30, 2020 11:19
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-11-30T11:19:15.931Z","extensionVersion":"v3.4.3"}