Skip to content

Instantly share code, notes, and snippets.

View Farid-NL's full-sized avatar
Procrastinating

Farid NL Farid-NL

Procrastinating
  • 08:50 (UTC -06:00)
View GitHub Profile
@Farid-NL
Farid-NL / .zshrc
Created March 22, 2024 19:59
Lazy loading for (mini)conda in zsh
export CONDA_DIR="$HOME/.miniconda"
source ~/your/path/conda-lazy.zsh
@Farid-NL
Farid-NL / .zshrc
Created March 22, 2024 19:54
Lazy loading for sdkman in zsh
export SDKMAN_DIR="$HOME/.sdkman"
source ~/your/path/sdkman-lazy.zsh
@Farid-NL
Farid-NL / staging.yml
Created June 6, 2022 20:58
Deploy Laravel App to Shared Hosting through FTP
on:
push:
branches:
- dev
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
@Farid-NL
Farid-NL / sustituir.asm
Created January 15, 2021 15:02
Uso de MOVS para sustituir/mover cadenas
.286
TITLE 'Sustituir cadenas'
;─────── Macros ──────┐
printS MACRO str
MOV AH, 09h
LEA DX, str
INT 21h
ENDM
;─────────────────────┘
@Farid-NL
Farid-NL / Menu-suma-resta-salir.asm
Created December 18, 2020 18:08
Programa que despliega un menú basado en texto con 3 opciones: 1) Sumar, 2) Restar y 3) Salir.
.286
TITLE 'Menu de suma y resta'
.MODEL SMALL
.STACK
.DATA
num1 DB ?
input DB ?
@Farid-NL
Farid-NL / dot-files.sh
Last active August 6, 2022 22:22
Script for restoring and backing up dot files
#!/usr/bin/env bash
## ______ _ _
## | ____| (_) | |
## | |__ __ _ _ __ _ __| |
## | __|/ _` || '__|| | / _` |
## | | | (_| || | | || (_| |
## |_| \__,_||_| |_| \__,_|
## @author Carlos Farid Nogales López
@Farid-NL
Farid-NL / .gitconfig
Last active August 6, 2022 18:04
Configuración básica para Git con VSCode
# Default editor
# (If you do not have program in the PATH environment variable use the absolute path of the program)
[core]
editor = vim
#editor = code --wait
#editor = "C:/Users/Farid/AppData/Local/Programs/Microsoft\\ VS\\ Code/Code.exe" --wait
# Name & Email
[user]
email = [email protected]