Skip to content

Instantly share code, notes, and snippets.

View wachin's full-sized avatar

Washington Indacochea Delgado wachin

View GitHub Profile
@wachin
wachin / Enable Printers in PlayOnLinux Apps.md
Last active March 26, 2020 12:32 — forked from raelgc/Install MSOffice on Ubuntu.md
Enable Printers in PlayOnLinux Apps

RESUME: I install in PlayOnLinux 'Microsoft Word Viewer 2003' but the Printer not working. Here are the solution, for this and for more apps that need use the Printer under Wine PlayOnLinux

  • Printers

If you have a printer properly configured under Ubuntu, probably it'll be automatically available under wine.

If not, we can make it available. Basically, your printer must be installed using cups. No problem if the printer is installed using other softwares/drivers, but to get it available for wine, it must be installed under cups too.

If cups package is not installed, install it:

@wachin
wachin / git-create.sh
Created June 22, 2020 21:00 — forked from rorlab/git-create.sh
Shell script for making github repository and pushing source codes
#!/bin/sh
repo_name=$1
test -z $repo_name && echo "Repo name required." 1>&2 && exit 1
curl -u '[username]:[password]' https://api.github.com/user/repos -d "{\"name\":\"$repo_name\"}"
git init
git add .
git commit -m "initial commit"
git remote add origin "https://github.com/[username]/$repo_name.git"
git push -u origin master
@wachin
wachin / merge-mp4.sh
Created June 28, 2022 19:20 — forked from palaniraja/merge-mp4.sh
Bash script to merge all mp4 videos in current directory (recursively 2 levels). It also updates the chapter marks to retain the folder/filename of source dir
#!/bin/bash
## Script to merge all mp4 videos in current directory (recursively 2 levels)
## And update chapter marks to retain the folder/filename
## Script for merging videos
filename=`basename pwd`
current=`pwd`
@wachin
wachin / breeze_dark.reg
Created July 22, 2021 22:34 — forked from mihawk90/breeze_dark.reg
Breeze Dark theme for Wine
[Control Panel\\Colors] 1491939580
#time=1d2b2fb5c69191c
"ActiveBorder"="49 54 58"
"ActiveTitle"="49 54 58"
"AppWorkSpace"="60 64 72"
"Background"="49 54 58"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="49 54 58"
"ButtonHilight"="119 126 140"
@wachin
wachin / Script 75Hz 1366x768 Monitor emachines E202HL.sh
Last active March 5, 2024 13:18
75 Hz Refresh Rate script 1366x768 Monitor emachines E202HL
#! /bin/bash
# Cómo crear Script para añadir 75Hz en Monitor Externo en Linux
# Debemos saber cuales son las resoluciones que soporta el monitor, y esto solo se puede saber por el fabricante del mismo
# Para el monitor emachines E202HL
@wachin
wachin / FFmulticonverter WhatsApp Compression
Last active May 10, 2024 19:50
Cómo compartir videos largos en whatsapp comprimiendolos desde Linux con FFmulticonverter a menos de 16 MB
Menos de 16 MB acepta WhatsApp en un video, y para poderlos compartir a ese tamaño he hecho los siguientes
calculos para comprimir videos
Cualquiera de las líneas ejemplo:
-vf "scale=512:288" -b:v 220k -r 15 -ac 1 -b:a 30k -ar 44100
hay que colocarla en FFmulticonverter en:
Comando:
@wachin
wachin / gist:2392ace89a59c5ddec9384f5e05ea4e2
Last active September 5, 2025 16:12
script 75Hz Laptop Lenovo IdeaPad 320-15ABR.sh
#! /bin/bash
# ESTE ES UN SCRIPT PARA PONER 75 Hz AL MONITOR DE UNA LAPTOP Lenovo IdeaPad 320-15ABR EN LINUX
# en Linux con Kernel 5.10 (puede que funcione en Kernel 6) en x11 (no funciona en Wayland)
# Probado en Debian 12 de 64 y 32 bit
# Probado en MX Linux 23 y 21 de 64 y 32 bit
# Nota: Este script usted lo puede usar como base para poder ponerle 75 Hz en algún monitor
@wachin
wachin / gist:2ee082a8e9f9e8ff7c0a55e34a0acdb6
Last active September 5, 2025 16:12
script 75Hz Televisor LG LCD 2012.sh
#! /bin/bash
# ESTE ES UN SCRIPT PARA PONER 75 Hz AL MONITOR TELEVISOR EXTERNO LG LCD 37" (del 2012) EN LINUX
# en Linux con Kernel 5.10 (puede que funcione en Kernel 6) en x11 (no funciona en Wayland)
# Probado en Debian 12 de 64 y 32 bit
# Probado en MX Linux 23 y 21 de 64 y 32 bit
# Nota: Este script usted lo puede usar como base para poder ponerle 75 Hz en algún monitor
@wachin
wachin / Script 75Hz 1366x768 Monitor Externo emachines E202HL.sh
Created September 5, 2025 16:13
Script 75Hz 1366x768 Monitor Externo emachines E202HL.sh
#! /bin/bash
# ESTE ES UN SCRIPT PARA PONER 75 Hz AL MONITOR EXTERNO emachines E202HL EN LINUX
# en Linux con Kernel 5.10 (puede que funcione en Kernel 6) en x11 (no funciona en Wayland)
# Probado en Debian 12 de 64 y 32 bit
# Probado en MX Linux 23 y 21 de 64 y 32 bit
# Probado en antiX 23 y 21 de 32 bit
# Nota: Este script usted lo puede usar como base para poder ponerle 75 Hz en algún monitor
@wachin
wachin / script 75Hz Laptop Lenovo IdeaPad 320-15ABR.sh
Created September 5, 2025 17:18
script 75Hz Laptop Lenovo IdeaPad 320-15ABR.sh
#! /bin/bash
# ESTE ES UN SCRIPT PARA PONER 75 Hz AL MONITOR DE UNA LAPTOP Lenovo IdeaPad 320-15ABR EN LINUX
# en Linux con Kernel 5.10 (puede que funcione en Kernel 6) en x11 (no funciona en Wayland)
# Probado en Debian 12 de 64 y 32 bit
# Probado en MX Linux 23 y 21 de 64 y 32 bit
# Nota: Este script usted lo puede usar como base para poder ponerle 75 Hz en algún monitor