Skip to content

Instantly share code, notes, and snippets.

View Lednerb's full-sized avatar

Sascha Brendel Lednerb

View GitHub Profile
@Lednerb
Lednerb / go_port_forwarding.go
Created April 21, 2020 10:42 — forked from qhwa/go_port_forwarding.go
network port forwarding in go lang
package main
import (
"fmt"
"io"
"net"
)
func main() {
ln, err := net.Listen("tcp", ":8080")
@Lednerb
Lednerb / macro.md
Created March 29, 2019 15:24 — forked from brunogaspar/macro.md
Recursive Laravel Collection Macros

What?

If a nested array is passed into a Laravel Collection, by default these will be threaded as normal arrays.

However, that's not always the ideal case and it would be nice if we could have nested collections in a cleaner way.

This is where this macro comes in handy.

Setup

Keybase proof

I hereby claim:

  • I am Lednerb on github.
  • I am lednerb (https://keybase.io/lednerb) on keybase.
  • I have a public key whose fingerprint is 7394 B529 648C E335 B30E B604 928D 5F26 9DEA 177E

To claim this, I am signing this object:

@Lednerb
Lednerb / Nexus5x.md
Created January 31, 2017 21:43
Nexus 5X Flash Anleitung

Anleitung CyanogenMod auf Android

Backup anlegen

  1. Einstellungen von Apps / Kontakte / etc. sichern
  2. Handy ausschalten
  3. Lautstärke nach oben + Einschalt-Taste gedrückt lassen
  4. Recovery starten
  5. Full Backup anlegen
  6. Backup auf Computer übertragen
@Lednerb
Lednerb / Lesezeichen.md
Last active January 23, 2017 13:47
Lesezeichen