Skip to content

Instantly share code, notes, and snippets.

View aurora's full-sized avatar
🤔
...

Harald Lapp aurora

🤔
...
View GitHub Profile
@xmeng1
xmeng1 / wsl2-network.ps1
Created July 14, 2019 06:50
WSL2 Port forwarding port to linux
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
}
@0xced
0xced / netcore single exe.md
Last active November 16, 2022 15:14
Building a .NET Core single exe for Linux on macOS or Windows

Building a .NET Core single exe for Linux on macOS or Windows

Run the .NET Core SDK docker image and share your working directory containing your .csproj file at /home in the container.

On Linux/macOS:

docker run --interactive --tty --rm --volume "$(pwd):/home" mcr.microsoft.com/dotnet/core/sdk:2.2 /bin/bash

On Windows:

@stevemoser
stevemoser / IncompatibleAppsList.plist
Created June 20, 2019 19:38
List of 235 apps incompatible with macOS Catalina 10.15
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IncompatiblePaths</key>
<array>
<dict>
<key>Application Name</key>
<string>Sxs Memory Card Driver</string>
<key>Blurb</key>
@tenox7
tenox7 / wrp.go
Last active May 5, 2024 07:05
WRP Go Prototype
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"strconv"
"strings"
@munkiepus
munkiepus / install_mailcatcher.sh
Last active February 25, 2022 16:40
install mailcatcher with systemd init script on ubuntu 18.04 and catch all sendmail
#!/bin/bash
echo "-- installing mailcatcher -- "
apt-get install ruby ruby-dev ruby-all-dev sqlite3 libsqlite3-dev -y
gem install mailcatcher
echo '[Unit]
Description = MailCatcher
@yui0
yui0 / ui.go
Created May 28, 2018 12:48
golang gui using libui
// go get github.com/andlabs/ui
// go run main.go
// go build -ldflags "-H=windowsgui" main.go
package main
import (
"github.com/andlabs/ui"
)
var window *ui.Window
ftp://ftp.intron.ac/
ftp://ftp.ox.ac/
ftp://ftp.robelle3000.ai/
ftp://ftp.linux.org.ar/
ftp://ftp.secyt.gov.ar/
ftp://eclipt.uni-klu.ac.at/
ftp://ftp.ad.or.at/
ftp://ftp.adis.at/
ftp://ftp.ai.univie.ac.at/
ftp://ftp.cg.tuwien.ac.at/
@gistlyn
gistlyn / index.md
Last active November 10, 2022 16:56
OrmLite SELECT Examples

SELECT Examples

OrmLite has extensive support for Querying exposing an intuitive 1:1 Typed API that maps cleanly and has a high affinity with SQL that's not only natural to write but also easy to predict what SQL it generates.

For simple queries you can use terse lambda Expressions to specify the filter conditions you want:

For more advanced queries you can leverage the SqlExpression builder which provides a Typed API that closely follows

@cdemers
cdemers / Installing a Go development environment on Mac OS for beginners.md
Last active June 21, 2020 20:08
How to install a functional Go development environment on MacOS with Atom and all the bells and whistles.

Warning! This doc is pretty outdated, I'm rewriting it right now and I'll update this as soon as it's done.


Installing a Go development environment on Mac OS for Beginners

Installing Go

First, install the Go compiler from Google's Go Website: https://golang.org/dl/