Skip to content

Instantly share code, notes, and snippets.

Alexander Neumann fd0

  • Aachen, Germany
Block or report user

Report or block fd0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Digikey-mk66f-hw.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 10 columns, instead of 9. in line 9.
"Index","Menge","Teilenummer","Hersteller-Teilenummer","Beschreibung","Kundenreferenz","Verfügbar","Lieferrückstände","Stückpreis","Gesamtpreis EUR"
"1","1","300-1002-ND","CFS-20632768DZFB","CRYSTAL 32.7680KHZ 12.5PF T/H","","1","0","0,21000","0,21"
"2","11","478-10047-1-ND","06031C104KAT2A","CAP CER .1UF 100V X7R 0603","","11","0","0,12400","1,36"
"3","1","507-1813-1-ND","0ZCK0050FF2E","PTC RESET FUSE 6V 500MA 0805","","1","0","0,19000","0,19"
"4","2","WM10134CT-ND","1051330011","CONN RCPT USB2.0 MICRO B SMD","","2","0","0,99000","1,98"
"5","1","450-1642-ND","2-1825910-7","SWITCH TACTILE SPST-NO 0.05A 24V","","1","0","0,10000","0,10"
"6","1","MCP1825S-3302E/DB-ND","MCP1825S-3302E/DB","IC REG LIN 3.3V 500MA SOT223-3","","1","0","0,47000","0,47"
"7","4","754-1439-1-ND","APT3216QBC/D","LED BLUE CLEAR CHIP SMD","","4","0","0,46000","1,84"
"8","2","609-3407-ND","68016-404HLF","CONN HEADER R/A 4POS 2.54MM","","2","0","0,16000","0,32"
"9","4","P33.00BYCT-ND","ERJ-PA3F33R0V","RES SMD 33 OHM 1% 1/4W 0603","","4","0",
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>');
You can’t perform that action at this time.