Skip to content

Instantly share code, notes, and snippets.

View David7ce's full-sized avatar
👋

David7ce David7ce

👋
View GitHub Profile
@David7ce
David7ce / JetBrains trial reset.md
Created July 17, 2025 20:46 — forked from h3ssan/JetBrains trial reset.md
Reset all JetBrains products trial in Linux

In some cases, only these lines will work

for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do
    rm -rf ~/.config/$product*/eval 2> /dev/null
    rm -rf ~/.config/JetBrains/$product*/eval 2> /dev/null
done

But if not, try these

// ==UserScript==
// @name YouTube Reverse Hack (Mejorado)
// @namespace https://chat.openai.com/
// @version 0.3
// @description Simula reproducción reversa más suave en YouTube (solo vídeo)
// @match https://www.youtube.com/watch*
// @grant none
// ==/UserScript==
(function () {
@David7ce
David7ce / multilang-text-samples.md
Last active July 8, 2025 00:51
Text smaples for TTS (multi-languages)

MultiLang Text Samples

🇪🇸 Español

  • "Don Quijote de la Mancha" — Miguel de Cervantes "En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no ha mucho tiempo que vivía un hidalgo de los de lanza en astillero, adarga antigua, rocín flaco y galgo corredor. Una olla de algo más vaca que carnero, salpicón las más noches, duelos y quebrantos los sábados..." Su imaginación se llenó de todo cuanto leía: encantamientos, batallas, desafíos, amores, tormentas, y disparates imposibles. Así perdió el juicio y creyó que debía hacerse caballero andante.

  • "Cien años de soledad" — Gabriel García Márquez "Muchos años después, frente al pelotón de fusilamiento, el coronel Aureliano Buendía había de recordar aquella tarde remota en que su padre lo llevó a conocer el hielo. Macondo era entonces una aldea de veinte casas de barro y cañabrava..."

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@David7ce
David7ce / KVM_QEMU_Virt_Manager_installation_on_Arch_Linux.md
Created November 9, 2023 14:39
KVM_QEMU_Virt_Manager_installation_on_Arch_Linux

Author: Keyitdev
Source: Keyitdev/notes
Last edited on: 9 Sep 2023

KVM, QEMU and Virt Manager installation on Arch Linux

Install packages

sudo pacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode
@David7ce
David7ce / github-dg-actions.yml
Created November 6, 2023 18:52
Deploy Digital Garden to GitHub Pages with this workflow
name: GH Pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
@David7ce
David7ce / ahorcado.cs
Created September 19, 2023 21:27 — forked from MartinAngeloni/ahorcado.cs
Simulando el juego del ahorcado en c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AhorcadoPalabras;
namespace ahorcadoString
{
@David7ce
David7ce / debinst.sh
Created September 12, 2023 16:09 — forked from jarehec/debinst.sh
#!/bin/bash
## UNLICENSE file for license information
# Misc checks
if [ $(id -u) -ne 0 ]
then
echo "This script needs root to work." # It really does. We're installing packages.
exit 1
fi
@David7ce
David7ce / snake-game.html
Created August 29, 2023 02:19
Snake game in JS
<!DOCTYPE html>
<html>
<head>
<style>
#g {
background: black;
margin: auto;
display: block;
}
@David7ce
David7ce / remove blank lines regex.md
Created April 10, 2023 02:30 — forked from fomightez/remove blank lines regex.md
remove all blank lines using regular expressions