Skip to content

Instantly share code, notes, and snippets.

@tavinus
tavinus / rem_proxmox_popup.sh
Last active February 27, 2024 22:47
Remove PROXMOX 5.x / 6.x / 7.3-4 subscription message popup
View rem_proxmox_popup.sh
#!/bin/sh
#######################################################
#
# Edits the proxmox Subscription file to make it
# think that it has a Subscription.
#
# Will disable the annoying login message about
# missing subscription.
#
@scyto
scyto / docker-swarm-architecture.md
Last active February 27, 2024 22:43
My Docker Swarm Architecture
View docker-swarm-architecture.md
@romulogomes
romulogomes / rails_helper.rb
Last active February 27, 2024 22:35
Factories lowest
View rails_helper.rb
def red(text)
"\033[31m#{text}\033[0m"
end
number_of_factories_to_analyze = 10
load_begin = Time.now
stats = {}
ActiveSupport::Notifications.subscribe("factory_bot.run_factory") do |_name, start, finish, _id, payload|
execution_time_in_seconds = finish - start
stats[payload[:name]] = stats[payload[:name]].to_f + execution_time_in_seconds
@jhoncar7
jhoncar7 / nodejs.md
Last active February 27, 2024 22:31
Entorno de desarrollo - Nodej.s
View nodejs.md
@Yahirs19
Yahirs19 / 8BitComputer-File6.md
Last active February 27, 2024 22:42
1.2 ASM de Procesador vs ASM de microcontrolador
View 8BitComputer-File6.md

1.2 ASM de Procesador vs ASM de microcontrolador

Responsables

$${\color{yellow}Soto \space Sanchez \space Yahir \space Jasiel \space 21212055}$$

$${\color{yellow}Reynoso \space Rosales \space Eduardo \space Guadalupe \space 21212036}$$

Fila 6

  1. ¿Qué es el Step Counter en el contexto del emulador de 8 bits y cuál es su propósito principal?
@rain-1
rain-1 / LLM.md
Last active February 27, 2024 22:07
LLM Introduction: Learn Language Models
View LLM.md

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@callumlocke
callumlocke / .zshrc
Last active February 27, 2024 21:46
ZSH function to auto-switch to correct Node version
View .zshrc
####
# ZSH function to auto-switch to correct Node version
# https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5
#
# - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does.
#
# - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING.
#
# - Works correctly if your .nvmrc file contains something relaxed/generic,
# like "4" or "v12.0" or "stable".
@nilesh-tawari
nilesh-tawari / LUA.lua
Created January 25, 2018 04:11
LUA cheatSheet
View LUA.lua
-- [[ Cheatsheet for LUA from http://www.newthinktank.com/2015/06/learn-lua-one-video/]]
-- Prints to the screen (Can end with semicolon)
print("Hello World")
--[[
Multiline comment
]]
-- Variable names can't start with a number, but can contain letters, numbers