$ go get -u github.com/davecgh/go-spew/spew
In VS Code, go to Preferences > User Snippets > Go
and add go.json
sd
snippet.
type sd to use the snippet
package main
# AArch64 multi-platform | |
# PKGBUILD Maintainer: Raanu <Gero3977@gmail.com> | |
# Kernel maintainer: Ayufan <ayufan@ayufan.eu> | |
# The below variables get updated from external script when new builds are released | |
_kernver=4.4.167-1200-rockchip-ayufan-gb87a48aaf35f | |
_imagename=linux-image-4.4.167-1200-rockchip-ayufan-gb87a48aaf35f_4.4.167-1200-rockchip-ayufan_arm64.deb | |
_headersname=linux-headers-4.4.167-1200-rockchip-ayufan-gb87a48aaf35f_4.4.167-1200-rockchip-ayufan_arm64.deb | |
_releasetag=4.4.167-1200-rockchip-ayufan | |
_pkgver=4.4.167_1200 |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: caddy-git-config | |
labels: | |
app: caddy-git | |
data: | |
Caddyfile: | | |
:80 |
readinessProbe: | |
exec: | |
command: ["/root/grpc_health_probe", "-addr=:6666"] | |
initialDelaySeconds: 1 | |
livenessProbe: | |
exec: | |
command: ["/root/grpc_health_probe", "-addr=:6666"] | |
initialDelaySeconds: 2 | |
imagePullPolicy: IfNotPresent |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: dashboard-ingress | |
namespace: kube-system | |
spec: | |
rules: | |
- host: dashboard.minikube | |
http: |
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: ${NAME} | |
labels: | |
app: "${NAME}" | |
commit: "${VERSION}" | |
appgroup: "${PROJECT}" | |
deploydate: "${DATE}" | |
spec: |
# | |
# Copyright 2017-2019 The Jaeger Authors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
# in compliance with the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software distributed under the License | |
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
" install vim-plug | |
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
call plug#begin('~/.vim/plugged') | |
Plug 'Shougo/deoplete.nvim' | |
Plug 'roxma/nvim-yarp' | |
Plug 'roxma/vim-hug-neovim-rpc' | |
Plug 'zchee/deoplete-go', { 'do': 'make'} | |
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } |
$ go get -u github.com/davecgh/go-spew/spew
In VS Code, go to Preferences > User Snippets > Go
and add go.json
sd
snippet.
type sd to use the snippet
package main
#!/bin/bash | |
# | |
# Usage | |
# install-arch.sh ./archlinux-2018.11.01-x86_64.iso | |
# first you neeed to patch xhyve with this | |
# index 61aeebb..39a9c4b 100644 | |
# --- a/src/firmware/kexec.c | |
# +++ b/src/firmware/kexec.c | |
# @@ -185,6 +185,7 @@ kexec_load_ramdisk(char *path) { |
// | |
// MJPEGViewController.m | |
// iMocs | |
// | |
// Created by akh on 2018-10-29. | |
// Copyright ? 2018 akh. All rights reserved. | |
// | |
#import "MJPEGViewController.h" |