Skip to content

Instantly share code, notes, and snippets.

@manueldev
manueldev / DSL-2401HN-T1C-movistar-adsl.txt
Last active August 20, 2024 20:38
contraseñas de routers por proveedores chilenos vtr movistar mundo entel claro wom
http://192.168.1.1:8000/cgi-bin/login_advance.cgi
DSL-2401HN-T1C
Movistar Chile ADSL
Support
!!T2l2f4n3c1!!
@manueldev
manueldev / disable_audio_plug_detection.reg
Last active June 11, 2024 22:10
disable jack detection windows
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}\0000\GlobalSettings]
"EnableDynamicDevices"=hex:00,00,00,00
@manueldev
manueldev / telegraf
Last active August 7, 2023 09:42
Monitoreo UPS Inverter VP-5000 (WatchPower). Usando mpp-solar python librería https://github.com/jblance/mpp-solar, telegraf inputs.exec, influxdb y grafana
#/etc/sudoers.d/telegraf
Defaults:telegraf !requiretty, !syslog
telegraf ALL = NOPASSWD: /usr/local/bin/mpp-solar

Ad-free Twitter

Inject this css snippet to remove all ads from your Twitter timeline.

div[data-testid="placementTracking"]:has(path[d="M19.498 3h-15c-1.381 0-2.5 1.12-2.5 2.5v13c0 1.38 1.119 2.5 2.5 2.5h15c1.381 0 2.5-1.12 2.5-2.5v-13c0-1.38-1.119-2.5-2.5-2.5zm-3.502 12h-2v-3.59l-5.293 5.3-1.414-1.42L12.581 10H8.996V8h7v7z"]) {
  display: none;
}
@manueldev
manueldev / gist:2c31f4d92f152799dda2571b9351cd1b
Created July 27, 2022 00:56
How to fix: The symbolic link cannot be followed because its type is disabled
fsutil behavior query SymlinkEvaluation
fsutil behavior set SymlinkEvaluation R2R:1
fsutil behavior set SymlinkEvaluation R2L:1
@manueldev
manueldev / liquidaciones.sh
Last active February 2, 2024 03:47
comandos interesantes en bash
Renombra los archivos agregando "LIQ.2" al comienzo
for f in *;do mv -v "$f" "LIQ.2 ${f%.*}.${f##*.}";done
Borra todas las carpetas con x nombre:
find . -type d -name "LIQUIDACIONES 2024" -exec rm -r {} \;
Crea una carpeta "LIQUIDACIONES 2024" en cada empleado menos en finiquitados:
find * -maxdepth 0 -type d ! -name "FINIQUITADOS" -exec mkdir -p {}/LIQUIDACIONES\ 2024 \;
Este comando considera la estructura que proporcionaste, toma el tercer elemento como el segundo nombre y el cuarto elemento como el apellido, y genera el nuevo nombre utilizando el primer apellido y el primer nombre. Ejecútalo desde el directorio correcto y realiza pruebas en un conjunto de archivos antes de aplicarlo a tus archivos principales.
https://www.mls-software.com/opensshd.html
openssh windows installer
@manueldev
manueldev / icecast.xml
Created November 26, 2021 17:16
icecast kh windows SSL HTTPS
Download https://certifytheweb.com/
Certificate: add your domain
Authorization: http-01, C:\program files\icecast kh
Deployment: No Deployment
Tasks: add Deploy to generic server (mult purpose).
Task Parameters:
C:\Program Files\Icecast KH\cert.pem
C:\Program Files\Icecast KH\privkey.pem
C:\Program Files\Icecast KH\fullchain.pem
C:\Program Files\Icecast KH\chain.pem
netsh interface portproxy add v4tov4 listenport=8001 connectport=80 connectaddress=127.0.0.1
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80
netsh advfirewall firewall add rule name="Open Port 443" dir=in action=allow protocol=TCP localport=443
netsh interface portproxy add v4tov4 listenport=9001 connectport=443 connectaddress=192.168.168.1
netsh advfirewall firewall add rule name="Open Port 9001" dir=in action=allow protocol=TCP localport=9001
netsh advfirewall firewall add rule name="Open Port 8888" dir=in action=allow protocol=TCP localport=8888
netsh advfirewall firewall add rule name="Open Port 15179" dir=in action=allow protocol=TCP localport=15179
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=9002 connectport=22 connectaddress=192.168.168.1
netsh advfirewall firewall add rule name="Open Port 9002" dir=in ac
<!-- item will be appened to this layout -->
<div id="log" class="sl__chat__layout">
</div>
<!-- chat item -->
<script type="text/template" id="chatlist_item">
<div data-from="{from}" data-id="{messageId}">
<span class="meta" style="color: {color}">
<span class="badges">
</span>