Skip to content

Instantly share code, notes, and snippets.

Alexander Neumann fd0

  • Aachen, Germany
View GitHub Profile
View alacritty.yml
# Configuration for Alacritty, the GPU enhanced terminal emulator
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty it self.
env:
# TERM env customization.
#
# If this property is not set, alacritty will set it to xterm-256color.
View setup-modernie-vagrant-boxes.md

Setup modern.ie vagrant boxes

Since modern.ie released vagrant boxes, it' no longer necessary to manually import the ova file to virtualbox, as mentioned here.

However, the guys at modern.ie didn't configured the box to work with WinRM. This how-to addresses that, presenting steps to proper repackage these boxes, adding WinRM support. Additionally configures chocolatey package manager and puppet provisioner.

Pre-requisites

View go-workshop.md

Inhalt:

  • Editor/IDE, gofmt, golint
  • main.go, hello world
  • GOPATH
  • main/library
  • Sprachkonstrukte, if/switch/var/const/go struct/type, slices/arrays, maps/channel
  • chat server?
  • go test, coverage
  • profiling
  • serialisierung (xml, json)
View xtime
#!/bin/sh
/usr/bin/time -f '%Uu %Ss %er %MkB %C' "$@"
View runssh-working.go
package main
import (
"fmt"
"os"
"os/exec"
"os/signal"
"syscall"
"time"
"unsafe"
View runssh-setsid.go
package main
import (
"fmt"
"os"
"os/exec"
"os/signal"
"syscall"
)
View runssh.go
package main
import (
"fmt"
"os"
"os/exec"
"os/signal"
"syscall"
)
View tools.md
View .surfingkeys.conf
// an example to create a new mapping `ctrl-y`
//mapkey('<Ctrl-y>', 'Show me the money', function() {
// Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
//});
// an example to replace `u` with `?`, click `Default mappings` to see how `u` works.
//map('?', 'u');
// an example to remove mapkey `Ctrl-i`
//unmap('<Ctrl-i>');
View PKGBUILD
# Maintainer: Egor Kovetskiy <e.kovetskiy@office.ngs.ru>
pkgname=gtm
pkgver=20171203.337_6ee3a02
pkgrel=1
pkgdesc="git time metrics"
arch=('i686' 'x86_64')
license=('GPL')
depends=(
)
makedepends=(
You can’t perform that action at this time.