See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| /******************************************************************************* | |
| * Copyright 2022 Paulo Torrens * | |
| * * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy * | |
| * of this software and associated documentation files (the "Software"), to * | |
| * deal in the Software without restriction, including without limitation the * | |
| * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * | |
| * sell copies of the Software, and to permit persons to whom the Software is * | |
| * furnished to do so, subject to the following conditions: * | |
| * * |
| #include <cstddef> // size_t | |
| #if defined (__linux__) | |
| # include <sys/sysinfo.h> | |
| #elif defined (__APPLE__) | |
| # include <mach/mach.h> | |
| # include <mach/mach_host.h> | |
| #elif defined (_WIN32) | |
| # include <windows.h> | |
| #endif |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
| {- | |
| Haskell implementation of grep tool. | |
| http://linux.die.net/man/1/grep | |
| -- from stdin: | |
| $ ls | ./grep ep.hs | |
| -- with file names | |
| $ ./grep List grep.hs | |
| grep.hs:import Data.List(isInfixOf) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.