Skip to main content

Posts

[FIXED] Nautilus doesn't open anymore

Try:

sudo apt install --fix-broken
sudo apt remove --purge gnome-documents tracker
sudo apt autoremove

Then:

sudo apt install --reinstall nautilus*
sudo apt install gnome-documents tracker

After rebooting, run Nautilus, maybe the first time you need to wait 20 seconds because it seems the system is reindexing all. I got this problem while upgradig from Debian 9.3 to Debian 10 (buster) by accident closed the laptop (!).

PD. Before to run Nautilus:  xhost +local:
Recent posts

instalar VLC en Oracle Linux 7

repositorios de SW:
ls -la /etc/yum.repos.d/

codecs:
sudo yum --disablerepo=\* --enablerepo=nux-dextop install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld libde265 x265

sudo yum --disablerepo=\* --enablerepo=nux-dextop install vlc
--> Resolución de dependencias finalizada
Error: Paquete: 1:vlc-2.2.5.1-2.el7.nux.x86_64 (nux-dextop)
Necesita: libprojectM.so.2()(64bit)
Error: Paquete: 1:vlc-2.2.5.1-2.el7.nux.x86_64 (nux-dextop)
Necesita: libaa.so.1()(64bit)
Error: Paquete: 1:vlc-2.2.5.1-2.el7.nux.x86_64 (nux-dextop)
Necesita: libQtCore.so.4()(64bit)
Error: Paquete: SDL_image-1.2.12-7.el7.nux.x86_64 (nux-dextop)
Necesita: libSDL-1.2.so.0()(64bit)
Error: Paquete: 1:vlc-core-2.2.5.1-2.el7.nux.x86_64 (nux-dextop)
Necesita: libebml.so.4()(64bit)
Error: Paquete: ffmpeg-libs-2.8.15-1.el7.nux.x86_64 (nux-dextop)
Necesita: libschroedinger-1.0.so.0()(64bit)
Error: Paquete: 1:vlc-core-2.2.5.1-2.el7.nux.x86_64 (nux-dextop)
Necesita: libtiger…

DBD::SQLite::db do failed: Safety level may not be changed inside a transaction at (eval 1940) line 37

0.- Instalación de PERL en Debian$ wget -L http://xrl.us/installperlnix | bashDesde la línea de comandos:$ perl --versionThis is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-gnu-thread-multi(with 85 registered patches, see perl -V for more detail)Copyright 1987-2017, Larry WallPerl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.1. Instalación de PadreUpdate /etc/apt/sources.list, e.g. as follows:deb http://mirror.isoc.org.il/pub/debian/ stable maindeb-src http://mirror.isoc.org.il/pub/debian/ stable mainThen update the package list$ sudo apt update$ sudo apt install cpanminus [¿¿quizá convenía instalar cpanplus??]$ sudo apt install…

timeline project minimum viable product

It's done: putting foreach loop in the correct place, and one flag variable to display one event to left and the next to right. And drawing the small blue point for each event using PDO connection to database. 
This is the output:




Sources:


Learn to design a CSS3 timeline Eduonix Learning Solutions
Reviewed: Oct 6th, 2018
La clase PDOStatement The PHP Group Consultado: Dic 28, 2018
create read update delete (CRUD) in php and mysql using Php Data Object (pdo) polodev Published on Nov 13, 2017

tlmgr Couldn't set up the necessary programs

Compilador: TeX Live 
(lo he obtenido haciendo sudo apt install texlive-full en Debian) Mala idea: el desfase entre el paquete y el CTAN puede volver obsoleto lo que tienes instalado. How to install "vanilla" TeXLive on Debian or Ubuntu?
IDE: TeXStudio

(no recuerdo cómo demonios obtuve la versión en castellano ¿problemas con el alemán?)

Algo salió muy mal, pues no hice nada después de la instalación, ni unas líneas de prueba con un archivo.tex, mucho menos alguna configuración.

Ahora ni siquiera puedo cambiar el tamaño de hoja (aunque parece que TeXStudio sí lo tiene a Letter):

$ sudo tlmgr paper letter

(running on Debian, switching to user mode!)
Cannot determine type of tlpdb from /root/texmf!
cannot setup TLPDB in /root/texmf at /usr/bin/tlmgr line 5713.

$ sudo echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

$ whereis texlive
texlive: /usr/share/texlive


$ ls /usr/share/texlive
debian      LICENSE.CTAN  readme-html.dir    release-texlive.txt
doc.html  …

passing variables using a href tag through foreach loop

Discarding security issues, this works for me:

  <table class="table table-bordered">         <tr>           <th>ID</th>           <th>Name</th>           <th>Year</th>           <th>Action</th>         </tr>         <?php foreach($tl as $rowtl): ?>           <tr>             <td><?= $rowtl->idTL; ?></td>             <td><?= $rowtl->nameTL; ?></td>             <td><?= $rowtl->year; ?></td>             <td> <a href="read_event.php?idTL=<?=$rowtl->idTL;?>&nameTL=<?=$rowtl->nameTL;?>" class="btn btn-info">Read</a>               <a onclick="return confirm('Are you sure you want to delete this entry?')" href="delete_event.php?idTL=<?= $rowtl->idTL ?>" class='btn btn-danger'>Delete</a>             </td>           </tr&g…