Come vorrei non sentire il bisogno di scrivere questa guida. Purtroppo le normative italiane edite dall’UNI spesso hanno valenza di legge quindi devono essere applicate. E sono “rinchiuse” dietro manette digitali, il famigerato DRM. Che dovrebbe stare per “Digital rights management” mentre nei fatti sono piuttosto delle “Digital Restrictions Management” (letteralmente “gestione delle restrizioni digitali”).…
Category: Documentations
Documentations, Tricks
ImageMagick – Remove black borders
It is as simple as: magick mogrify -fuzz 4% -define trim:percent-background=0% -trim +repage -format jpg img.jpg Source: Stack Overflow
Link
Useful CSS pseudo-classes that are often overlooked.
Source: CSS Pseudo-Selectors You Might Have Missed – Bits and Pieces
Documentations
Cura dimagrante
Per far dimagrire un video da 402Mb a 9,9Mb. Ok, ok, chi si loda s’imbroda, tanto più che fa tutto ffmpeg, mica io! Ma vediamo il perché dopo aver visto il percome: il video in origine era codificato in H264 con risoluzione 1920×1080, a 30 fotogrammi al secondo, con un bitrate video di quasi 18MBit,…
Documentations
QR-Code con LibreOffice
I codici QR, ossia i codici “a barre” bidimensionali oggi sono onnipresenti. Potrebbe capitarvi di dover realizzare documenti che li contengano. Bene, LibreOffice (dalla versione 6.4) ha una comoda funzione per generarli Semplice, utile, veloce. A dirla proprio tutta questi codicilli sono un po’ tristi! E com’è che la rete è piena di QR con…
Documentations
Copie intelligenti
Mi è sempre piaciuta l’idea di avere copie “intelligenti”, ossia una copia al giorno per una settimana una copia alla settimana per un mese una copia al mese per un anno una copia all’anno per la parte vecchia. E mi son sempre arrovellato su come implementarlo nel mio umile scriptino bash con cui facevo alcune…
Link
GitHub Repos That Should Be Starred by Every Web Developer
A list of GitHub repositories that will help you immensely with your knowledge and work-life as a programmer
- A List of Useful Resources for Front-End Developers
- https://github.com/denysdovhan/wtfjs
- https://github.com/sindresorhus/awesome
- List of (Advanced) JavaScript Questions
- JavaScript Algorithms and Data Structures
Clean Code JavaScript- Free-for.dev
- List of Free Learning Resources
- Awesome First PR Opportunities
- Daily-Interview-Question
Documentations
How to Increase the size of a Linux LVM by expanding the virtual machine disk
How to Increase the size of a Linux LVM by expanding the virtual machine disk
Link
NAS Performance: NFS vs. SMB vs. SSHFS | Jake’s Blog
In trusted home networks NFS without encryption is the best choice on Linux for maximum performance. If you want encryption i would recommend SSHFS, it is a much simpler setup (compared to Kerberos), more cpu efficient and often only slightly slower than plaintext NFS. Samba/SMB is also not too far behind, but only really makes sense in a mixed (Windows/Linux) environment.
Documentations
Little notes
Just a little note to myself, to start salome on a severly hacked and messed up workstation like mine: I can’t recall where I found the solution, bit it is as simple as: alias salome='LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28 /home/paolo/salome_meca/appli_V2019.0.3_universal/salome' I found it on https://code-aster.org/forum2/viewtopic.php?id=23552