Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
term | description | value/example | |
---|---|---|---|
organization | The name of the organization | google/facebook etc. | |
service | Name of the service | myApp | |
resource | Name of the resource being monitored by the service. It could also simply be a method name in the application | kafka/method1/database | |
entity | Name of the attribute being operated on. It's context is defined by the resource | message/schema | |
metricType | Type of metric for easy identification | gauge/meter/timer etc. | |
operation | Defines the type of metric to use | create/update/delete/count/read | |
status | Status of the operation | success/failed/delay/abort |
DUMP | |
// pod-name name of the postgres pod | |
// postgres-user database user that is able to access the database | |
// database-name name of the database | |
kubectl exec [pod-name] -- bash -c "pg_dump -U [postgres-user] [database-name]" > database.sql | |
RESTORE | |
// pod-name name of the postgres pod | |
// postgres-user database user that is able to access the database | |
// database-name name of the database |
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"strconv" | |
) |
List() | |
var list = Immutable.List([1,2,3]) | |
// [1, 2, 3] | |
List.isList() | |
Immutable.List.isList(list) | |
// true | |
List.of() | |
var list = Immutable.List.of(1,2,3); |
export class Dispatcher { | |
constructor () { | |
this.events = {}; | |
} | |
addListener (event, callback) { | |
// Check if the callback is not a function | |
if (typeof callback !== 'function') { | |
console.error(`The listener callback must be a function, the given type is ${typeof callback}`); | |
return false; |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |