This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Ejecutar en PowerShell (como administrador) | |
| ``` | |
| dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
| dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
| dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V /all /norestart | |
| wsl --install | |
| wsl --set-default-version 2 | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for f in *.flac; do ffmpeg -i "$f" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.flac}.mp3"; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [:b1dcc9dd-5262-4d8d-a863-c897e6d979b9] | |
| background-color='rgb(0,43,54)' | |
| background-transparency-percent=7 | |
| default-size-columns=150 | |
| default-size-rows=30 | |
| font='Monospace 10' | |
| foreground-color='rgb(131,148,150)' | |
| use-system-font=false | |
| use-theme-colors=false | |
| use-theme-transparency=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| fnmode="/sys/module/hid_apple/parameters/fnmode" | |
| value=$(cat "$fnmode") | |
| switch=1 | |
| if test "$value" -eq 0 ; then | |
| switch=1 | |
| else | |
| switch=0 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for i in *; do convert $i -resize 1024x ./1024/$i.jpg; done; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # I used this sh script to auto update the delay days variable for http://github.com/subiabre/forestswar | |
| DELAY_DAYS=$(grep DELAY_DAYS .env | xargs) | |
| days=${DELAY_DAYS#*=} | |
| while [ $days -ge 8 ] | |
| do | |
| echo "$days" |