Skip to main content

Search

Items tagged with: tricks


My little printer-friendly CSS
Here is my little "Printer friendly CSS" that I add to each and every page using Simple Custom CSS and JS

/* override styles when printing */
@media print {
@page {
margin: 2cm;
@top-center {
font-family: sans-serif;
font-weight: bold;
font-size: 2em;
content: counter(page);
}
}
/* target the first page only */
@page :first { margin-top: 6
https://monodes.com/predaelli/2023/08/30/my-little-printer-friendly-css/
#Tricks #Wordpress


dutree – Analyze File System Disk Usage in Linux
I used to run du -hsc / |sort -hr | less but it seems that people needs this

dutree is a free, open-source command-line tool for analyzing disk usage, written in Rust programming language that reports disk usage in a tree-like format.

Source: dutree - Analyze File System Disk Usage in Linux
https://monodes.com/predaelli/2023/08/13/dutree-analyze-file-system-disk-usage-in-linux/
#SoftwareLibero #Tricks


Converting a multi page pdf to multiple pages using a single command
imagemagick - Converting a multi page pdf to multiple pages using a single command - Stack Overflow

It's as simple as

convert x.pdf x-%04d.jpg

Where 4 means 4 digits will be show on the page count. You can change jpg to webp or whatever and ImageMagick understand it.

The codes used are the
https://monodes.com/predaelli/2023/07/22/converting-a-multi-page-pdf-to-multiple-pages-using-a-single-command/
#Tricks


Public Send instances
For those who like FIrefox Send, the free-as-in-freedom, privacy conscious alternative to WeTransfer a public list of send servers may be useful: this page (on github) holds a list of public Send instances.
https://monodes.com/predaelli/2023/06/26/public-send-instances/
#Documentations #Tricks


Top 7 Must-Read Books for Developers
Top 7 Must-Read Books for Developers — Stay Ahead of the Game

Briefly:

Clean Code: A Handbook of Agile Software Craftsmanship

Design Patterns: Elements of Reusable Object-Oriented Software

The Pragmatic Programmer: From Journeyman to Master

Cracking the Coding Interview: 150 Programming Questions and Solutions

The Phoenix Project: A Novel About
https://monodes.com/predaelli/2023/02/27/top-7-must-read-books-for-developers/
#Tricks


Pv – Show Progress for [Copy/Backup/Compress] Data in Linux
Pv - Show Progress for [Copy/Backup/Compress] Data in Linux

Pv is a terminal-based tool that allows you to monitor the progress of data such as coping/moving/backing up files that are being sent through a pipe.

Learn everyday something new... never stop learning.

(Source tecmint.com)
https://monodes.com/predaelli/2022/12/21/pv-show-progress-for-copy-backup-compress-data-in-linux/
#Documentations #Tricks


How to become a command-line wizard
Dudes, I already use the tricks described in «How to become a command-line wizard». Do you think I'm a CLI wizard?
https://monodes.com/predaelli/2022/12/14/how-to-become-a-command-line-wizard/
#Fun #Tricks


How to configure wireless wake-on-lan for Linux WiFi card
How to configure wireless wake-on-lan for Linux WiFi card - nixCraft

I have Network Attached Storage (NAS) server that backups all my devices. However, I am having a hard time with my Linux-powered laptop. I cannot back up my laptop/computer when it is in suspended or sleep mode.
https://monodes.com/predaelli/2022/12/14/how-to-configure-wireless-wake-on-lan-for-linux-wifi-card/
#Documentations #Tricks #WakeOnLan #WiFi


ASCII, oh ASCII! Wherefore art thou, ASCII?
ASCII, oh ASCII! Wherefore art thou, ASCII?The original line copied by an infamous English poet

Puns aside, in the XXI century there are still need to stick to plain, old 7 bit ASCII character table. Many industrial applications stick to it for its simplicity. Unicode is often an overkill in that situations.

So how to find if a stream of text is
https://monodes.com/predaelli/2022/11/09/ascii-oh-ascii-wherefore-art-thou-ascii/
#Tricks


10 Powerful Python One-Liners.
I shall Eiffellize those, one day or another: 10 Powerful Python One-Liners. Python one-liners can be just as… | by Ishaan Gupta | Sep, 2022 | Python in Plain English

10 Powerful Python One-Liners

Python one-liners can be just as powerful as a long and tedious program written in another language designed to do the same thing.

Photo by A
https://monodes.com/predaelli/2022/09/28/10-powerful-python-one-liners/
#Agenda #LibertyEiffel #Python #Tricks

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.