-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
196 lines (189 loc) · 6.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<link rel="stylesheet" href="/estaticos/mini.css">
</head>
<body>
<div id="wrapper" class="col-sm-12 col-md-8 col-lg-6 col-md-offset-2 col-lg-offset-3">
<header class="sticky">
<a href="https://celticman.github.io/"><h1 class="title">Celticman - notas personales</h1></a>
</header>
<h1 id="celticman.github.io">celticman.github.io</h1>
<h2 id="informatica-para-niños">Informatica para niños</h2>
<ul>
<li><a href="./ninos_github_pages.html">¿Cómo crear una página web de un
niño?</a>.</li>
</ul>
<h2 id="guías">Guías</h2>
<ul>
<li><p><a href="./notas_luks_particion_cifrada.html">Particionamiento
disco cifrado con LUKS en Linux</a></p></li>
<li><p><a href="./notas_nas.html">NAS simple con BTRFS</a></p></li>
<li><p><a href="./notas_vagrant.html">Uso de vagrant</a></p></li>
<li><p><a href="./notas_golang.html">Go - Golang</a></p></li>
<li><p><a href="./notas_qemu.html">QEMU y Virt Manager-
Golang</a></p></li>
</ul>
<h2 id="utilidades">Utilidades</h2>
<h3 id="utilidades-línea-de-órdenes">Utilidades Línea de órdenes</h3>
<ul>
<li><p><a href="https://github.com/junegunn/fzf">fzf - fuzzy finder -
Busqueda por nombre de fichero o directorio</a></p>
<ul>
<li><p>Instalar en ubuntu: “sudo apt install fzf”.</p></li>
<li><p>Uso:</p>
<ul>
<li>Ctrl + T: Búsqueda de ficheros</li>
<li>Alt + C: Busqueda directorios</li>
</ul></li>
</ul></li>
<li><p><a href="https://github.com/ggreer/the_silver_searcher">ag - The
silver searcher - Busqueda por contedido de ficheros</a></p>
<ul>
<li><p>Instalar en ubuntu: “sudo apt install silversearcher-ag”</p></li>
<li><p>Uso:</p>
<ul>
<li>Teclear: ag TERMINIO-BUSQUEDA.</li>
<li>Para que solo aparezca el listado de ficheros, añadir la opcion
“-l”.</li>
<li>Para que busque la cadena indicada (sin utilizar una expresión
regular), añadir “–literal”.</li>
<li>Para buscar en directorios ocultos, añadir la opción “–hidden”.</li>
</ul></li>
</ul></li>
<li><p><a href="https://httpie.org/">httpie - Línea de ordenes para
interaccionar con API HTTP</a></p>
<ul>
<li><p>Instalar en ubuntu: “sudo apt install httpie”</p></li>
<li><p>Uso:</p>
<pre><code> http https://ifconfig.me/all.json -p HBhb
http https://api.weather.gov/points/40,-116 -p HBhb
http http://worldtimeapi.org/api/ip -p HBhb</code></pre></li>
</ul></li>
<li><p><a href="https://www.visidata.org">visidata - Visor y editor de
hojas de calculo en línea de ordenes</a></p>
<ul>
<li><p>Instalar en Ubuntu:</p>
<pre><code> sudo apt install visidata</code></pre></li>
<li><p>Uso:</p>
<ul>
<li><p>Ver un fichero CSV con separador “;”:</p>
<p>vd input.csv</p></li>
<li><p>Ver un fichero CSV con separador “ð”:</p>
<p>vd input.csv –csv-delimiter ð</p></li>
</ul></li>
</ul></li>
<li><p><a
href="https://ocrmypdf.readthedocs.io/en/latest/index.html">ocrmypdf -
Genera un pdf con reconocimiento de textos y que se puede buscar</a></p>
<ul>
<li><p>Instalar en Ubuntu:</p>
<pre><code> sudo apt install ocrmypdf tesseract-ocr tesseract-ocr-spa jbig2dec</code></pre></li>
<li><p>Uso:</p>
<pre><code> ocrmypdf origen.pdf -l spa destino.pdf </code></pre></li>
</ul></li>
<li><p><a href="https://github.com/espeak-ng/espeak-ng">espeak-ng -
Sintetizador de voz a partir de un texto</a></p>
<ul>
<li><p>Instalar en Ubuntu:</p>
<pre><code> sudo apt install espeak-ng</code></pre></li>
<li><p>Uso para que lea la voz de forma directa en Español:</p>
<pre><code> espeak-ng -f fichero.txt -v es -s 145 -p 50</code></pre></li>
<li><p>Uso para que genere un fichero wav en Español:</p>
<pre><code> espeak-ng -f fichero.txt -v es -s 145 -p 50 -w fichero-salida.wav</code></pre></li>
<li><p>Convertir el fichero anterior a mp3:</p>
<pre><code> ffmpeg -i fichero-salida.wav -acodec mp3 fichero-salida.mp3</code></pre></li>
</ul></li>
<li><p><a href="https://github.com/adrianlopezroche/fdupes">fdupes -
Buscar y borrar ficheros duplicados</a></p>
<ul>
<li><p>Instalar en Ubuntu:</p>
<pre><code> sudo apt install fdupes"</code></pre></li>
<li><p>Buscar ficheros duplicados en el directorio actual:</p>
<pre><code> fdupes -r ./</code></pre></li>
<li><p>Buscar y eliminar los ficheros duplicados en el directorio
actual:</p>
<pre><code> fdupes -r ./ --delete</code></pre></li>
</ul></li>
<li><p><a href="https://www.cups.org/doc/man-lpadmin.html">lpadmin -
Añadir y quitar impresoras desde línea de ordenes (para impresoras que
soporten IPP</a></p>
<ul>
<li><p>Instalar en Ubuntu:</p>
<pre><code> sudo apt install cups</code></pre></li>
<li><p>Añadir impresora:</p>
<pre><code> sudo lpadmin -p NOMBRE_IMPRESORA -E -v ipp://DIRECCION_IP/ipp/print -m everywhere</code></pre></li>
<li><p>Quitar impresora:</p>
<pre><code> sudo lpadmin -x NOMBRE_IMPRESORA</code></pre></li>
<li><p>Listar impresoras disponibles:</p>
<pre><code> sudo lpinfo -lv</code></pre></li>
</ul></li>
<li><p><a href="https://github.com/facebook/zstd">zstd - Compresión de
alta velocidad</a></p>
<ul>
<li><p>DescripcionCompresion mas eficiente en tiempo que Gzip</p>
<table>
<thead>
<tr class="header">
<th>Algoritmo</th>
<th>Tiempo (mm:ss)</th>
<th>Tamaño final</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Gzip</td>
<td>02:56</td>
<td>1.4 GB</td>
</tr>
<tr class="even">
<td>7-zip</td>
<td>02:43</td>
<td>1.1 GB</td>
</tr>
<tr class="odd">
<td>LZ4</td>
<td>00:22</td>
<td>2.2 GB</td>
</tr>
<tr class="even">
<td>ZSTD</td>
<td>00:24</td>
<td>1.4 GB</td>
</tr>
</tbody>
</table></li>
<li><p>Instalar en Ubuntu:</p>
<pre><code> sudo apt install zstd</code></pre></li>
<li><p>Comprimir:</p>
<pre><code> tar --zstd -cf dat.tar.zst ./dat</code></pre></li>
<li><p>Descomprimir:</p>
<pre><code> tar -I zstd -xvf dat.tar.zst</code></pre></li>
<li><p>Descomprimir en un directorio diferente:</p>
<pre><code> tar -I zstd -xvf dat.tar.zst -C ./otro-directorio</code></pre></li>
</ul></li>
</ul>
<h3 id="utilidades-web">Utilidades web</h3>
<ul>
<li><p><a href="https://obs.ninja/">OBS.Ninja -
Videoconferencia</a></p></li>
<li><p><a href="https://talky.io">Talky.io -
Videoconferencia</a></p></li>
<li><p><a href="https://wormhole.app/">Wormhole - Envío de ficheros -
alternativa a firefox Send</a></p></li>
</ul>
<h3 id="utilidades-escritorio">Utilidades escritorio</h3>
<ul>
<li><a href="https://dbeaver.io/">DBeaver - Administración bases de
datos</a></li>
</ul>
<footer>
Estilo: <a href="https://minicss.us">Mini.css</a>
Generador: <a href="https://pandoc.org/">pandoc 2.17.1.1</a>
Fecha: 2023-10-25
Alojamiento: <a href="https://github.com/celticman/celticman.github.io"><img src="/estaticos/gitHubmark32px.png"></a>
</footer>
</div>
</body>
</html>