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
spool resultado.txt | |
select 'hola mundo' from dual; | |
spool off |
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 | |
# based on http://forum.bittorrent.com/topic/21590-shell-script-i-wrote-to-update-btsync-on-linuxunix/ | |
# | |
# Location must reside next to the "btsync" binary | |
# | |
# give execution permission | |
# $ chmod u+x btupdater.sh | |
# run like: | |
# ./btupdater.sh http://syncapp.bittorrent.com/1.1.33/btsync_x64-1.1.33.tar.gz | |
killall -2 btsync |
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Simple Sectioned Essay Template | |
% LaTeX Template | |
% | |
% This template has been downloaded from: | |
% http://www.latextemplates.com | |
% | |
% Note: | |
% The \lipsum[#] commands throughout this template generate dummy text | |
% to fill the template out. These commands should all be removed when |
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% University Assignment Title Page | |
% LaTeX Template | |
% | |
% This template has been downloaded from: | |
% http://www.latextemplates.com | |
% | |
% Original author: | |
% WikiBooks (http://en.wikibooks.org/wiki/LaTeX/Title_Creation) | |
% |
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
\documentclass[10pt]{article} | |
\title{Primer ejemplo usando LaTex} | |
\author{David Y. Gonzalez} | |
\begin{document} | |
\maketitle | |
\date | |
\abstract{Esto es un ejemplo de abstract.} | |
\section{Introduction} | |
Aqui un parrafo de introduccion. |
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
http://materias.utags.edu.mx/CCNA/ver3/sem3es/CHAPID=knet-AYhFIomYAAVnSZYg/RLOID=null/RIOID=null/knet/31AYhFIol4BQhZCAUA/chapterframeset.html |
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 $'\nifconfig eth0 LA_IP_MICROCORE netmask LA_MASCARARED up\nroute add default gw LA_IP_GATEWAY eth0' >> /opt/bootloader.sh | |
filetool.sh -b |
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 | |
# idea http://jstr.se/archives/bash-backup-script-using-tar/ | |
# instalacion: | |
# $ mkdir ~/bin ~/backup | |
# $ vim ~/bin/backupP3 | |
# $ chmod u+x ~/bin/backupP3 | |
# uso: | |
# $ backupP3 "dhcp funcionando" | |
cd ~/gns3/Projects # donde se ubican proyectos gns3 | |
filename=P3Redes2_`date +'%d-%m-%Y_%H.%M.%S'`\ $1.tar.gz |
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 | |
filename=champs.txt | |
x=0 | |
while read -r nombre | |
do | |
name_nosuff=/home/david/tmp/campeones/$nombre | |
x=$(($x + 13)) | |
while read ba && read -u 3 ga && read -u 4 gw; do | |
# sed 's/^ )$/ \t(good_against ${ga})\n \t(good_against ${ga})\n \t(good_against ${ga})\n )/' ../src/hechos.clp |
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 | |
filename=champs.txt | |
while read -r nombre | |
do | |
name_nosuff=/home/david/tmp/campeones/$nombre | |
# ${name_nosuff}.html > ${name_nosuff}.1.html | |
# sed -e 's/[ \t]*$//' aatrox.bad_against.txt | sed ':a;N;$!ba;s/\n/" "/g' | sed '1s/^/"/' | sed '$s/$/"/' | |
# sed -e 's/[ \t]*$//' aatrox.good_against.txt | sed ':a;N;$!ba;s/\n/" "/g' | sed '1s/^/"/' | sed '$s/$/"/' | |
# sed -e 's/[ \t]*$//' aatrox.good_with.txt | sed ':a;N;$!ba;s/\n/" "/g' | sed '1s/^/"/' | sed '$s/$/"/' |
OlderNewer