Skip to content

Instantly share code, notes, and snippets.

@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 / _b.md
Last active August 26, 2022 19:35

BbbBBBBBb

aAgAle 
pUes
ç
@sebolio
sebolio / 🍞
Last active March 21, 2023 05:29
curl sebolio.com
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)>
@sebolio
sebolio / .eslint.js
Created July 9, 2021 07:42
eslint de vetmaster vue
module.exports = {
root: true,
env: {
node: true,
browser: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
@sebolio
sebolio / a.md
Created November 22, 2020 23:58
Limitar memoria WSL 2

Editar %UserProfile%\.wslconfig y poner:

[wsl2]
memory=8GB  # Any size you feel like
swap=0
localhostForwarding=true
@sebolio
sebolio / gist:b8995492e06d1d0bf62f6e40ce7ef957
Created August 5, 2020 00:05
Corregir fix windows scripts UnauthorizedAccess powershell
Set-ExecutionPolicy RemoteSigned