TSEC NEWS: 06.05.21 Cron-Job Fehlerhaft nach PHP Update + PWA mobile + Desktop / 04.05.21 - Android App von TSECURITY 28.04.21 - NEUER SERVER // 26.04.21 ++ Download the Electron-App für tsecurity.de // Über 550 Feed-Quellen


❈ cal-hl: colorful yearly calendar in console

Linux Tipps reddit.com

For years I used paper calendars with color pencils to mark passed days with red/green or red/green/yellow etc. Finally it got me bored so I've made a bash script to do it without paper. Here is how it looks.

There is a detailed readme in the repo. Below are some usage examples.

Mark 'green' some dates:

cal-hl.sh -s green # Current day cal-hl.sh -s green 12 # Current month, 12 cal-hl.sh -s green 03-09 # Current year, March 9 cal-hl.sh -s green 2020-12-21 # Dec 21 2020 

Multiple dates can be marked with a single command:

cal-hl.sh -s red 12 03-09 2020-12-21 

Unmark the above and the current day:

cal-hl.sh -u 12 03-09 2020-12-21 cal-hl.sh -u 

Accepted date formats are 20YYMMDD, 20YY-MM-DD, MMDD, MM-DD, DD, D.

Print calendar with marks:

cal-hl.sh # Current year, week start based on locale cal-hl.sh -S # Current year, week start on Sunday cal-hl.sh -y 2020 -M # 2020, week start on Monday 

By default marks are loaded from and saved into ~/.config/cal-hl. You can use any file with -f option:

cal-hl.sh -f my1.txt -s red # Mark current day 'red' in my1.txt cal-hl.sh -f my1.txt # Show current year with marks from # my1.txt 

Marks like 'green' and 'red' are fully customizable, both their names and colors they produce. With a custom config in ~/.config/cal-hl-rc you could get A/B/C or virgin/chad whatever. You could also alias marks and another aliases. Aliases are treated the same as marks with -s option.

Default marks are c0 to c7 corresponding to ANSI colors 0 to 7. Those are aliased to black, red, green, yellow, blue, magenta, cyan, white. Actual color depends on the color scheme in your terminal. With -c option you could dump the current config and see the colors your terminal produces for the marks.

submitted by /u/kevors
[link] [comments]...


Kompletten Artikel lesen (externe Quelle: https://www.reddit.com/r/linux/comments/oow7u7/calhl_colorful_yearly_calendar_in_console/)

Zur Startseite

➤ Weitere Beiträge von Team Security | IT Sicherheit (tsecurity.de)

cal-hl: colorful yearly calendar in console

vom 329.49 Punkte
For years I used paper calendars with color pencils to mark passed days with red/green or red/green/yellow etc. Finally it got me bored so I've made a bash script to do it without paper. Here is how it looks. There is a detailed readme in the repo. Be

Introducing the new Google Play Console beta

vom 229.47 Punkte
Posted by Tom Grinsted, Product Manager, Google Play Console Over the years, we’ve seen our community grow to well over a million developers, from one-person shops to companies with hundreds of Google Play Console users. As you’ve grown, Play Con

HPR3289: NextCloud the hard way

vom 211.08 Punkte
NextCloud I want to install NextCloud for my family, but only for my family. This means making things hard for myself by installing it behind my firewall with a private nat ipaddress. That presented problems with getting a valid Let's encrypt cert.

console-io bis 2.2.13 auf Node.js Web Console schwache Authentisierung

vom 188.28 Punkte
In console-io bis 2.2.13 auf Node.js wurde eine Schwachstelle gefunden. Sie wurde als kritisch eingestuft. Betroffen ist eine unbekannte Funktion der Komponente Web Console. Mit der Manipulation mit einer unbekannten Eingabe kann eine schwache Authentisie

How to build a Wall Mounted Family Calendar and Dashboard with a Raspberry Pi and cheap monitor

vom 172.37 Punkte
I love dashboards. I love Raspberry Pis (tiny $35 computers the size of a set of playing cards). And I'm cheap frugal. I found a 24" old LCD at Goodwill (a local thrift shop) and bought it but it's been sitting unused in my garage. Then I stumbled on DakBoa

How to build a Wall Mounted Family Calendar and Dashboard with a Raspberry Pi and cheap monitor

vom 172.37 Punkte
I love dashboards. I love Raspberry Pis (tiny $35 computers the size of a set of playing cards). And I'm cheap frugal. I found a 24" old LCD at Goodwill (a local thrift shop) and bought it but it's been sitting unused in my garage. Then I stumbled on DakBoa

All developers will get the new Google Play Console on November 2, 2020

vom 147.09 Punkte
Posted by Tom Grinsted, Product Manager, Google Play Console We hope you’re enjoying the new Google Play Console. With over 350,000 people now using it as their default experience and thousands more providing feedback, the new Play Console is ready to come out of beta. Thank you to e

Simulating color vision deficiencies in the Blink Renderer

vom 133.69 Punkte
Simulating color vision deficiencies in the Blink Renderer This article describes why and how we implemented color vision deficiency simulation in DevTools and the Blink Renderer. Note: If you prefer watching a presentation over reading articles,

DNCI - Dot Net Code Injector

vom 123.56 Punkte
DNCI allows the injection of .Net code (.exe or .dll) remotely in unmanaged processes in windows.1. Project StructureThe project is structured in:DNCI.Injector.Library - Injection library. Contains all injection components and logic;DNCI.Injector.Run

web.dev LIVE: A digital event over three days and three time zones

vom 112.04 Punkte
Last week, my calendar was constantly alerting me to the fact that many of us would be gathering at Google I/O, and it definitely made me sad that we can’t be together in person right now! We have been so impressed with the role that web developers have played in these trying t

Ink Calendar for Windows 10 now lets you add images to your calendar

vom 112.04 Punkte
Ink Calendar for Windows 10 recently gained the ability to add images to your calendar. What you need to know Ink Calendar for Windows 10 now supports adding images. The update also brings the option to show month view ink at the top of week view. Ink

Introducing Google Pay's new Business Console

vom 105.91 Punkte
Posted by Jose Ugia, Developer Programs Engineer At Google Pay, we’re always looking for ways to make things simple, helpful, and accessible for everyone, whether that’s consumers or developers. Today, we’re introducing a new resource for developers that does just that — the Business Console for Google Pay. The Business Console is a new tool that streamlines t

Team Security Diskussion über cal-hl: colorful yearly calendar in console