Skip to content

Instantly share code, notes, and snippets.

@blacknoob20
blacknoob20 / bingwallpaper.md
Last active April 15, 2024 13:03
(Debian) Bing WallPaper XFCE Desktop

Bing WallPaper

Pre-requisitos:
Este script requiere que curl y jq estén instalados en tu sistema. Si no están instalados, puedes instalarlos con

sudo apt install curl jq

Crear script BASH

#!/bin/bash
@blacknoob20
blacknoob20 / docker.md
Last active May 14, 2024 21:03
DOCKER

Docker

Comandos

Construir una imagen

docker build --tag <nombre imagen>:<nombre tag>

Iniciar Sesion

docker login
@blacknoob20
blacknoob20 / SynthWave-84.md
Created May 4, 2023 14:51
Theme for VS Code

SynthWave '84

Activar Glow's en Debian

Antes de ejecutar el comando "Enable Neon Dreams"

Debemos dar permiso de escritura al usuario que ejecuta el VS Code

sudo chown -R $USER /usr/share/code/

Después de ejecutar el commando "Enable Neon Dreams"

Restaurar los permisos al usuario administrador

@blacknoob20
blacknoob20 / javascript.json
Created December 21, 2021 20:41 — forked from Klerith/javascript.json
Snippets de React - Redux
{
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@blacknoob20
blacknoob20 / git-alias.md
Last active April 11, 2024 20:50 — forked from Klerith/git-alias.md
GIT

Comandos GIT

USER

git config --global user.name "<nombre del usuario">

EMAL

git config --global user.mail "<nombre del usuario>"

GIT Log

@blacknoob20
blacknoob20 / .htaccess
Created August 27, 2021 20:59 — forked from ardani/.htaccess
CORS htaccess support lumen and framework
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]