Tip
ATX headings need at least one space between the # characters and the heading text.
| # This is a sample .desktop file for Your Application | |
| # Add this to: ~/.local/share/applications/your_application.desktop OR /usr/share/applications/your_application.desktop | |
| [Desktop Entry] | |
| # Version of the Desktop Entry Specification | |
| Version=1.0 | |
| # Type of entry, should be "Application" for application launchers | |
| Type=Application |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| <?php | |
| /** | |
| * This snippet shows a PHP neat trick: build a file into memory without use the filesystem. | |
| */ | |
| $fp = fopen('php://memory', 'rw'); // open an in-memory handler | |
| for ($i = 0; $i < 100; ++$i) { // write some data to handler | |
| fwrite($fp, $i."\n"); |
| // converter rgba(r, g, b, a) color to #HEX string without alpha channel, | |
| // with optional applying afterwards opacity ($opacity) | |
| // by default alpha channel for rgba-color is applying against white background, | |
| // but you can change it by setting third argumnet ($background) | |
| @function rgba-to-rgb($rgba, $opacity: 0, $background: #fff) { | |
| @if $opacity > 0 { | |
| @if $opacity < 1 { | |
| $opacity: $opacity * 100 | |
| } | |
| @return mix(mix(rgb(red($rgba), green($rgba), blue($rgba)), $background, alpha($rgba) * 100%), rgb(255,255,255), $opacity) |
| <?php | |
| return [ | |
| '' => '3d_rotation', | |
| '' => 'access_alarm', | |
| '' => 'access_alarms', | |
| '' => 'access_time', | |
| '' => 'accessibility', | |
| '' => 'account_balance', | |
| '' => 'account_balance_wallet', |
| ISO 3166 Country Code | ISO639-2 Country Code | Country | ISO 3166 Country Code | ISO639-2 Lang | Language | Date Format | |
|---|---|---|---|---|---|---|---|
| ALB | AL | Albania | sqi | sq | Albanian | yyyy-MM-dd | |
| ARE | AE | United Arab Emirates | ara | ar | Arabic | dd/MM/yyyy | |
| ARG | AR | Argentina | spa | es | Spanish | dd/MM/yyyy | |
| AUS | AU | Australia | eng | en | English | d/MM/yyyy | |
| AUT | AT | Austria | deu | de | German | dd.MM.yyyy | |
| BEL | BE | Belgium | fra | fr | French | d/MM/yyyy | |
| BEL | BE | Belgium | nld | nl | Dutch | d/MM/yyyy | |
| BGR | BG | Bulgaria | bul | bg | Bulgarian | yyyy-M-d | |
| BHR | BH | Bahrain | ara | ar | Arabic | dd/MM/yyyy |
There is quite a bit of preparation and configuration required to create a CA. Fortunately, once the configuration is correct, the remainder of the process is relatively simple.
Absent these directories, openssl will emit errors during certain steps throughout the overall process.
$ cd ~
bash variable array function parameter
/etc/pki/ca-trust/source/anchors on your CentOS machineupdate-ca-trust extractwget https://example.comOn Manjaro (arch) the location for the certificates is: /usr/share/ca-certificates/trust-source/anchors (low priority) or /etc/ca-certificates/trust-source/anchors/ (high priority) and the command to update is update-ca-trust extract.