wsl --install wsl --set-default-version 2 wsl --help wsl -l -o wsl -l -all
This file contains 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 | |
####################################################################################### | |
# | |
# MIT License | |
# | |
# Copyright (c) 2014-2024 HomeInside Inc. and other contributors, | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal |
This file contains 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
[playlist] | |
NumberOfEntries=10 | |
Title1=Radio Tiempo Cali | |
File1=https://24493.live.streamtheworld.com/RT_CALIAAC.aac | |
Title2=Radio Tiempo Clasicos | |
File2=http://i90.letio.com:80/9188.aac | |
Title3=Naxi Radio (Dance) | |
File3=http://naxidigital-dance128.streaming.rs:8110/ | |
Title4=Naxi Radio (Rock) | |
File4=http://naxidigital-rock128.streaming.rs:8180/ |
This file contains 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
void MainWindow::readfile(){ | |
QString filename="test.txt"; | |
QFile file(filename); | |
if(!file.exists()){ | |
qDebug() << "NO existe el archivo "<<filename; | |
}else{ | |
qDebug() << filename<<" encontrado..."; | |
} | |
QString line; | |
ui->textEdit->clear(); |
This file contains 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
# KDE Neon 15.18.0 post install | |
# first step, upgrade | |
sudo pkcon refresh | |
sudo pkcon update | |
# opera web browser | |
wget -qO- https://deb.opera.com/archive.key | sudo apt-key add - | |
sudo add-apt-repository 'deb https://deb.opera.com/opera-stable/ stable non-free' | |
sudo apt-get update |
This file contains 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
# elementary OS Hera post install | |
# first step, upgrade | |
sudo apt update && sudo apt upgrade | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install software-properties-common --no-install-recommends | |
sudo apt install libavcodec-extra ffmpeg | |
sudo apt install firefox vlc | |
sudo apt install screenfetch flameshot |
gen-req reads a 'pyproject.toml' (Poetry) file and exports the list of dependencies to a 'requirements.txt' file, in a more easily understood, simple and traditional way.
Copyright (c) 2021 Jorge Brunal Perez diniremix@gmail.com
gen-req is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either
This file contains 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/sh | |
PASSWD= | |
XAMPP_PATH=/opt/lampp/lampp | |
run_as_root (){ | |
PASSWD=`zenity --password --title "Xampp requires access"` | |
} | |
run_xampp_service (){ |
This file contains 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 | |
app=setupgit.sh; | |
uname="Peter Anderson" | |
email="diniremix@gmail.com" | |
clear; | |
echo "Fijando nombre de usuario y email..." | |
echo | |
git config --global user.name "$uname" | |
git config --global user.email $email | |
echo "Creando algunos alias..." |
This file contains 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
void MainWindow::createfile(){ | |
QString filename="test.txt"; | |
QFile file(filename); | |
if(!file.exists()){ | |
qDebug() << "NO existe el archivo "<<filename; | |
}else{ | |
qDebug() << filename<<" encontrado..."; | |
} | |
QString mesg="una segunda linea"; | |
if (file.open(QIODevice::WriteOnly | QIODevice::Text)){ |
NewerOlder