[api]: New apis / changes to apis
[test]: Update test/* files
[dist]: Changes to submodules, version bumps, updates to package.json
[minor]: Small changes
[doc]: Updates to documentation
[ux]: Updates to UX
[fix]: Bug fixes
[bin]: Update binary scripts associated with the project
function slugify(str) { | |
var map = { | |
'-': ' ', | |
'-': '_', | |
'a': 'á|à|ã|â|ä|À|Á|Ã|Â|Ä', | |
'e': 'é|è|ê|ë|É|È|Ê|Ë', | |
'i': 'í|ì|î|ï|Í|Ì|Î|Ï', | |
'o': 'ó|ò|ô|õ|ö|Ó|Ò|Ô|Õ|Ö', | |
'u': 'ú|ù|û|ü|Ú|Ù|Û|Ü', | |
'c': 'ç|Ç', |
Useful for decoding email message attachments
Source: http://superuser.com/questions/120796/os-x-base64-encode-via-command-line
openssl base64 -d -in <infile> -out <outfile>
1 hostname elliot-01 | |
2 echo elliot-01 > /etc/hostname | |
3 bash | |
4 vim /etc/modules-load.d/k8s.conf | |
5 curl -fsSL https://get.docker.com | bash | |
6 docker version | |
7 docker ps | |
8 apt-get update && apt-get install -y apt-transport-https | |
9 curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
10 echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list |
There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore
is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules
directory) as well as files that are generated (and regenerated) as artifacts of a build process.
All other files should be in your own global gitignore file:
- Create a file called
.gitignore
in your home directory and add any filepath patterns you want to ignore. - Tell git where your global gitignore file is.
Note: The specific name and path you choose aren't important as long as you configure git to find it, as shown below. You could substitute
.config/git/ignore
for.gitignore
in your home directory, if you prefer.