Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
Byobu Commands | |
============== | |
byobu Screen manager | |
Level 0 Commands (Quick Start) | |
------------------------------ | |
<F2> Create a new window |
/* | |
******************************************************************************** | |
Golang - Asterisk and Ampersand Cheatsheet | |
******************************************************************************** | |
Also available at: https://play.golang.org/p/lNpnS9j1ma | |
Allowed: | |
-------- | |
p := Person{"Steve", 28} stores the value |
Byobu is a suite of enhancements to tmux, as a command line | |
tool providing live system status, dynamic window management, | |
and some convenient keybindings: | |
F1 * Used by X11 * | |
Shift-F1 Display this help | |
F2 Create a new window | |
Shift-F2 Create a horizontal split | |
Ctrl-F2 Create a vertical split | |
Ctrl-Shift-F2 Create a new session |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
// ==UserScript== | |
// @name GitHub Fork Details | |
// @namespace https://gist.github.com/NeoHBz/5028c5493fb68cb167235d2c074a138c | |
// @version 1.0 | |
// @description Displays if GitHub forks are behind/ahead from the parent fork | |
// @author NeoHBz | |
// @include https://github.com/*/*/network/members | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @grant none | |
// ==/UserScript== |
function fnThatReturnsPromiseOrValue() { | |
const random = Math.random(); | |
if (random > 0.5) { | |
return Promise.resolve(random); | |
} else { | |
return random; | |
} | |
} | |
async function naive() { |
import { AnyZodObject, ZodTypeAny } from 'zod' | |
import { | |
NextFunction, | |
Request, | |
RequestHandler, | |
Response | |
} from 'express' | |
import { HttpError } from '@/lib/errors.lib' | |
type RequestPayloadIn = 'body' | 'query' | 'params' |
import fs from 'fs' | |
import { FileMagic, MagicFlags } from '@npcz/magic' | |
import { extension } from 'mime-types' | |
import path from 'path' | |
import os from 'os' | |
FileMagic.magicFile = require.resolve( | |
'@npcz/magic/dist/magic.mgc' | |
) |