Skip to content

Instantly share code, notes, and snippets.

View SimonWaldherr's full-sized avatar
🏡
Work from home / Home Office

Simon Waldherr SimonWaldherr

🏡
Work from home / Home Office
View GitHub Profile
SELECT
[Period],
[description],
[Beschreibung],
[from],
[till],
CONVERT(VARCHAR, [from], 104) as [von],
CONVERT(VARCHAR, [till], 104) as [bis],
DATEDIFF(DAY,[from], [till]) as [days]
FROM (
@SimonWaldherr
SimonWaldherr / data.csv
Last active January 26, 2022 19:01
test mit tabellen
name DJI Mavic Pro DJI Mavic 2 Pro
image https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/DJI_MavicPro_4.jpg/768px-DJI_MavicPro_4.jpg https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/DJI_Mavic_2_Pro_mit_Hasselblad_Kamera.jpg/1024px-DJI_Mavic_2_Pro_mit_Hasselblad_Kamera.jpg
rating 4.5 5
description sehr gute Drohne perfekte Drohne
data1 lorem ipsum
data2 dolor sit
data3 amet test
#!/bin/bash
#-----------------------------------------------
# Modify 5/04/2018 by giudinvx
# Email giudinvx[at]gmail[dot]com
#-----------------------------------------------
# Author: Andrea Lazzarotto
# http://andrealazzarotto.com
# andrea.lazzarotto@gmail.com
@SimonWaldherr
SimonWaldherr / csvtimespan.go
Created May 28, 2018 18:05
parse csv files with time-series in golang
package main
import (
"bufio"
"encoding/csv"
"flag"
"fmt"
"github.com/senseyeio/spaniel"
"io"
"log"
@SimonWaldherr
SimonWaldherr / godocBookmarklet.js
Created November 6, 2016 14:40
A Bookmarklet to switch from a Repository (e.g. a github.com Repo) to the corresponding godoc.org-Documentation-Page. Tested with GitHub, BitBucket and GitLab.
javascript:if(window.location.href.substring(8,17)=='godoc.org'){str=window.location.href.split('/');window.location.href='https://'+str[3]+'/'+str[4]+'/'+str[5];}else{window.location.href='https://godoc.org/?q='+encodeURIComponent(window.location)}

Keybase proof

I hereby claim:

  • I am simonwaldherr on github.
  • I am simonwaldherr (https://keybase.io/simonwaldherr) on keybase.
  • I have a public key whose fingerprint is B6AB 5CFD 2B4B 4A40 C102 20EA AB1C BD9B DC47 4C93

To claim this, I am signing this object: