Skip to content

Instantly share code, notes, and snippets.

View HaradaKumiko's full-sized avatar
🎯
Focusing

Farhan Rivaldy HaradaKumiko

🎯
Focusing
View GitHub Profile
@Zxce3
Zxce3 / index.php
Last active April 3, 2024 08:06
server dashboard in one file [WIP]
<?php
/**
* This file contains functions to retrieve system information and display it in a single file server dashboard.
* The functions include generating a safe ID, parsing lines, getting CPU info, load average, basic server info,
* CPU usage, memory usage, disk usage, and disk space.
*
* @author Zxce3
* @version 1.1
*/
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 27, 2024 15:33
Conventional Commits Cheatsheet

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@timvisee
timvisee / falsehoods-programming-time-list.md
Last active June 27, 2024 17:47
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).