Skip to content

Instantly share code, notes, and snippets.

@sebolio
sebolio / a.md
Last active April 14, 2024 20:29
⭐️ FRESH PC -- instalador rapido de chocolatey que pide permiso de admin UAC

$\color{green}\textsf{\large 🦞 Configuración fácil de nuevo PC}$

sho600

1. Abrir PowerShell como administrador

  • Tecla , escribir PW y presionar Ctrl+Shift+Enter

2. Instalar WSL2

wsl --install
@sebolio
sebolio / iam.md
Last active April 8, 2024 07:57
Dar permiso a usuario de IAM que vea un Bucket

Aquí el Bucket no tiene ningún permiso y por lo tanto esta policy de IAM será la que los dará.

Con esto le estoy dando sólo permisos de Listar(List), Descargar(Get) y Subir(Put) a un Bucket particular llamado sebpaldos y sus subcarpetas.

{
    "Version": "2012-10-17",
    "Statement": [
        {
 "Effect": "Allow",
@sebolio
sebolio / README.md
Last active April 4, 2024 02:45
⭐️ FRESH MAC - instalador rapido desde 0 usando brew y mas
@sebolio
sebolio / a.bat
Created October 6, 2023 13:55
import/export drivers
:: This script was created by Matthew Wai at TenForums.com/members/matthew-wai.html
:: http://www.tenforums.com/tutorials/68426-backup-restore-device-drivers-windows-10-a.html
:: ************************************************************************************/
@echo off & Title Backup or Restore Device Drivers & mode con cols=93 & color 17
(Net session >nul 2>&1)&&(cd /d "%~dp0")||(PowerShell start """%~0""" -verb RunAs & Exit /B)
:: ************************************************************************************/
echo.
echo Press (1) to back up all 3rd-party device drivers into a folder.
echo Press (2) to restore all 3rd-party device drivers from a folder.
echo Press (3) to restore a device driver backup via Device Manager.
@sebolio
sebolio / DriverBackup.bat
Created September 7, 2023 00:12
script para respaldar y restaurar drivers de windows
:: This script was created by Matthew Wai at TenForums.com/members/matthew-wai.html
:: http://www.tenforums.com/tutorials/68426-backup-restore-device-drivers-windows-10-a.html
:: ************************************************************************************/
@echo off & Title Backup or Restore Device Drivers & mode con cols=93 & color 17
(Net session >nul 2>&1)&&(cd /d "%~dp0")||(PowerShell start """%~0""" -verb RunAs & Exit /B)
:: ************************************************************************************/
echo.
echo Press (1) to back up all 3rd-party device drivers into a folder.
echo Press (2) to restore all 3rd-party device drivers from a folder.
echo Press (3) to restore a device driver backup via Device Manager.
@sebolio
sebolio / 🍞
Last active March 21, 2023 05:29
curl sebolio.com
@sebolio
sebolio / _b.md
Last active August 26, 2022 19:35

BbbBBBBBb

aAgAle 
pUes
ç
read
echo ok
@sebolio
sebolio / bla.applescript
Created November 29, 2021 03:29
abrir menu con cancion actual en macos now playing music
tell application "System Events"
tell process "Centro de control"
tell menu bar item "Ahora suena" of menu bar 1
click
end tell
end tell
end tell
@sebolio
sebolio / menger.html
Last active July 10, 2021 01:44
menger sponge javascript en una linea
Version de 511 bytes
<body bgcolor=0 text=snow onload=N=[K=R.getContext('2d')];for(t=B=127,I=K.getImageData(0,0,q=64,q);t--;$=Math.cos)N[t]=t/43&1;setInterval("t++;for(i=y=-1;y<1;y+=A)for(x=-1;x<1;x+=A=1/32,I.data[i+=4]=h+h)for(m=C=$(a=t/86),S=$(a+8),c=$(b=t/B),s=$(b+8),u=x*C+S,v=y*c-u*s,u=u*c+y*s,w=C-x*S,X=q+9*$(a+b),Y=q+9*$(b-a),Z=t,h=B;--h&&m<q;X+=u,Y+=v,Z+=w)for(m=1;N[X*m&B]+N[Y*m&B]+N[Z*m&B]<2&&m<q;m*=3);K.putImageData(I,0,0)",9)>JSpongy by p01<br><canvas id=R width=64 height=64 style=width:3in;height:3in;background:#fff>
Version de 281 bytes
<canvas id=R><svg onload=setInterval("for(i=q*q,C=M(t+=R.width=q),S=M(t+8);i--;R.getContext`2d`.fillRect(i/q,i%q,1,h/q))for(x=i%q/66-1,y=i/8712-1,m=w=x*C+S,X=Y=h=q,Z=t/q;m<--h;X+=y*C+w*S,Y+=y*S-w*C,Z+=C-x*S)for(m=1;(X*m%96&32)+(Y*m%96&32)+(Z*m%96&32)<64;)m*=3",M=Math.cos,t=q=132)>