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="[email protected]" | |
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
#!/bin/bash | |
java $JVM_ARGS -jar /usr/local/bin/yuicompressor-2.4.7.jar "$@" |
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
@echo off | |
echo pega la direccion del enlace aqui... | |
set /p link= | |
wget -c %link% | |
@echo on |
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
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)){ |
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
function shit() { | |
if [ -n "$2" ]; then | |
curl -i http://git.io -F url=https://github.com/"$1" -F code="$2"; | |
else | |
curl -i http://git.io -F url=https://github.com/"$1"; | |
fi | |
} |
NewerOlder