Discover gists
Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.
The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060
, which represents November 28th, 2018
at 09:01:00
hours for my local time zone (GMT+0100 Central European Standard Time).
Style | Input | Output (12-hour clock) | Output (24-hour clock) |
---|---|---|---|
Default | <t:1543392060> |
November 28, 2018 9:01 AM | 28 November 2018 09:01 |
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
/* | |
* P I N G . C | |
* | |
* Using the InterNet Control Message Protocol (ICMP) "ECHO" facility, | |
* measure round-trip-delays and packet loss across network paths. | |
* | |
* Author - | |
* Mike Muuss | |
* U. S. Army Ballistic Research Laboratory | |
* December, 1983 |
/* | |
* Copyright 2020 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Translated by ChatGPT https://zenn.dev/mizchi/articles/practical-moonbit (lang:ja)
The previous introductory article was a bit provocative, so this time I'll discuss what it's like to actually research and write about these topics.
https://zenn.dev/mizchi/articles/introduce-moonbit (Japanese)
The development body is IDEA, a research organization in Shenzhen.
/* eslint-disable eslint-comments/disable-enable-pair */ | |
/* eslint-disable no-console */ | |
import { | |
createWalletClient, | |
http, | |
toHex, | |
encodeAbiParameters, | |
type EncodeAbiParametersReturnType, | |
type Hex, | |
type WalletClient, |
{ | |
pkgs ? import <nixpkgs> {}, | |
internalDomain ? "cluster.local", | |
externalDomain ? "<domain_name>", | |
serviceClusterIp ? "10.0.0.1" | |
}: | |
let | |
runWithCFSSL = name: cmd: | |
builtins.fromJSON (builtins.readFile ( | |
pkgs.runCommand "${name}-cfss.json" { |