Archivo de la categoría: bash

Dell XPS 13 9350 bought on SEPTEMBER 2016. CPU in problems running at 400MHz and explanation of its solution. Review and status of the product after five years (2016-2021).

1) RESUME: BIOS fixed laptop processor speed to 400Mhz (Normally runs at 2600Mhz) because it detects (I guess) battery had already too many charges (wasted, close to die) and needs to be replaced. But the reality was that the female … Seguir leyendo

Publicado en bash, HARDWARE, Operative Systems, Opinión, Otros, sysadmin | Deja un comentario

Multiple PDF files to reduce their size using Ubuntu? Ghostscript!

Open a bash console and in the folder of the PDF files create a file and copy paste this script: for input in *.pdf ; dogs \-o Analisis-${input} \-sDEVICE=pdfwrite \-dCompatibilityLevel=1.4 \-dPDFSETTINGS=/ebook \-dNOPAUSE \-dQUIET \-dBATCH \${input}done Execute the file ‘./nameOfFile’ Done! … Seguir leyendo

Anuncio publicitario

Publicado en bash, Otros, Scripts | 1 Comentario

Do you want to improve, or just refresh your developer skills?   helps people learn to code for free! Enjoy

Publicado en Backend, bash, HTML5, Java, Javascript, linux, Operative Systems, python, Scripts | Deja un comentario

Errors using convert when getting a pdf. Solution is removing and editing policies

user@machine:~/Pictures$ convert segadora* segadora.pdf ERROR LIKE: convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF’ @ error/constitute.c/IsCoderAuthorized/408. OR LIKE: convert-im6.q16: attempt to perform an operation not allowed by the security policy `gs’ @ error/delegate.c/ExternalDelegateCommand/362. SOLUTION: sudo … Seguir leyendo

Publicado en bash, Scripts | Deja un comentario

Converting a Website Theme on HTML to PHP (Unix terminal)

Creating a webpage (No CMS), you have downloaded a Theme with HTML files (index.html, contact.html…) and with its HTML links inside of them (<a href=»index.html)»>home</a><a href=»contact.html)»>Contact</a>). You want to change all to PHP but not by hand one by one. You need this: … Seguir leyendo

Publicado en bash, Scripts, website | Deja un comentario