例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
以下転載:
# Obtained with the code written in next file | |
emoji_grinning_face=😀 | |
emoji_grinning_face_with_big_eyes=😃 | |
emoji_grinning_face_with_smiling_eyes=😄 | |
emoji_beaming_face_with_smiling_eyes=😁 | |
emoji_grinning_squinting_face=😆 | |
emoji_grinning_face_with_sweat=😅 | |
emoji_rolling_on_the_floor_laughing=🤣 | |
emoji_face_with_tears_of_joy=😂 | |
emoji_slightly_smiling_face=🙂 |
Example resource: posts
HTTP Method (Verb) |
Path/Endpoint/URI | CRUD Operation | Typical Controller Action |
Has Data Payload |
---|---|---|---|---|
GET | /posts | Read all posts | index | No |
GET | /posts/:id | Read a specific post | show | No |
POST | /posts | Create a new post | create | Yes |
PUT | /posts/:id | Update specified post | update | Yes |
If you don't want to deal with styling a mostly text-based HTML document, plop these lines in and it'll look good:
html {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
font-size: 1.3em;
max-width: 40rem;
padding: 2rem;
margin: auto;
line-height: 1.5rem;
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}