Skip to content

Instantly share code, notes, and snippets.

View fbehrens's full-sized avatar
🎯
Focusing

Frank Behrens fbehrens

🎯
Focusing
  • https://github.com/Bayer-Group
  • Cologne - Germany
  • X @bluse1995
View GitHub Profile
@fbehrens
fbehrens / barcodeLeb.fsx
Last active December 16, 2020 20:12
use Barcode lib
// Microsoft (R) F# Interactive version 11.0.0.0 for F# 5.0
// #r "C:/Users/fb/OneDrive/code/schnelltest/etc/barcodelib/BarcodeStandard/bin/Debug/netstandard2.0/BarcodeStandard.dll"
// #r "System.Drawing.Common"
// or
#r "nuget: BarcodeLib"
open BarcodeLib
open System.Drawing
let b = new Barcode()
ipmo Microsoft.PowerShell.ConsoleGuiTools
$global:sysCode="C:\Users\fb\code"
if( $null -ne (get-psreadlineOption).PredictionSource ) {
Set-PSReadLineOption -PredictionSource History }
if( $null -ne (get-psreadlineOption).PredictionViewStyle ) {
Set-PSReadLineOption -PredictionViewStyle ListView }
function glg{
@fbehrens
fbehrens / trigger.sql
Last active August 23, 2021 13:38
tsql autid trigger.sql
/*
DROP TABLE GUESTS
go
CREATE TABLE GUESTS (
ID int IDENTITY(1,1) PRIMARY KEY,
NAME VARCHAR(50),
SURNAME VARCHAR(50),
)
DROP TABLE Audit
@fbehrens
fbehrens / readme.md
Last active October 24, 2021 15:20
UISP Mobile

Product: LiteBeam 5AC Gen2

Webinterface setup.ubnt.com Captive Portal: insecure certificate (not thrusted) Serial: b3d5a4dc Thumbprint (sha1): 50933389 A677D7C3 0C125876 7AE9F0B5 8E299FBE -> Difficult to use because certificate is not trusted

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet-fsharp
{
"name": "F# (.NET)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/dotnet:0-6.0-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/node:1": {