Server A starts with basic auth:
port = 4222
leaf {
port = 7422
}
call plug#begin() | |
Plug 'drewtempelmeyer/palenight.vim' | |
Plug 'vim-airline/vim-airline' | |
Plug 'wlangstroth/vim-racket' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'rust-lang/rust.vim' | |
Plug 'preservim/tagbar' | |
Plug 'universal-ctags/ctags' | |
Plug 'luochen1990/rainbow' | |
Plug 'vim-syntastic/syntastic' |
With the following, you can create a 3-node NATS Server cluster:
kubectl apply -f https://raw.githubusercontent.com/nats-io/k8s/b55687a97a5fd55485e1af302fbdbe43d2d3b968/nats-server/leafnodes/nats-cluster.yaml
The configuration map from the NATS cluster that was created can be found below.
import subprocess | |
import os | |
from qutebrowser.api import interceptor | |
""" | |
qutebrowser settings for video | |
for more settings check out | |
https://qutebrowser.org/doc/help/settings.html | |
""" |
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, determine version and generate changelogs
One problem I had while practicing git was syncing up a forked repository. This can come in handy for open source projects and collaborating in teams without permissions to directly push onto an original repo. I'm interested in open source, so I figured it would be a good thing to learn, and a good thing to document (because I am sure the details will skip my mind later).
That was my first mistake. I was in the wrong directory so I got this error when I tried to merge.
fatal: refusing to merge unrelated histories
That happened because I was telling git to merge one repo (my dotfiles repo) with the other (my apprenticeship repo). Here's some documentation on that error
$ sudo npm install -g hexo-cli
$ hexo -v
hexo-cli: 0.1.9
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
namespace UDP | |
{ | |
public class UDPSocket | |
{ | |
private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); |
# Get last 100 log entries as a PowerShell object | |
$gitHist = (git log --format="%ai`t%H`t%an`t%ae`t%s" -n 100) | ConvertFrom-Csv -Delimiter "`t" -Header ("Date","CommitId","Author","Email","Subject") | |
# Now you can do iterate over each commit in PowerShell, group sort etc. | |
# Example to get a commit top list | |
$gitHist|Group-Object -Property Author -NoElement|Sort-Object -Property Count -Descending | |
# Example do something for each commit | |
$gitHist|% {if ($_.Author -eq "Mattias Karlsson") {"Me"} else {"Someone else"} } |