Skip to content

Instantly share code, notes, and snippets.

View florianschmidt1994's full-sized avatar
👾
java.lang.Thread.State: RUNNABLE

Florian Schmidt florianschmidt1994

👾
java.lang.Thread.State: RUNNABLE
  • Netlight
  • Munich, Germany
View GitHub Profile
@florianschmidt1994
florianschmidt1994 / all_liked_songs.csv
Last active September 14, 2019 08:56
All songs that I've liked on Spotify as of 14. September 2019
Artist Title SpotifyID ISRC
Pharrell Williams, Camila Cabello Sangria Wine 6XlSyYFTU1nodeWwwzVgTV USSM11804437
Shawn Mendes, Camila Cabello Señorita 6v3KW9xbzN5yKLt9YKDYA2 USUM71911283
Simi Joromi 5AUl8hyukPfxgVxniZFXAV UK43Q1705099
Blumio Religion 46WQKhNhldU9iuBQvalCYS TCACE1521287
Beginner, Gzuz, Gentleman Ahnma 1sr9lbDDGIxmFK7wUdA1Z8 DEUM71601522
Hardwell, Mike Williams I'm Not Sorry 4uLQJx83wAjEme7NUKW8wZ NLQ8D1900028
W&W, Groove Coverage God Is a Girl 2odVsSU8BWAGpH25p2LVvF NLF711802819
Dave Hangman 7r7NTwtWAhPRtzylDu3hnE GBLFP1820309
Kasket Club Soul Surfing 5ZoeicXGjCKCzxhSiIs10s FR9W11511753
@florianschmidt1994
florianschmidt1994 / cluster.yaml
Created May 14, 2019 08:49
Setup Flink with Prometheus
---
apiVersion: v1
kind: Service
metadata:
name: flink-jobmanager
spec:
ports:
- name: rpc
port: 6123
- name: blob
@florianschmidt1994
florianschmidt1994 / custom_history.md
Last active July 23, 2019 17:24
Using custom fzf history with ctrl-r in zsh
function fh() {
   command=$(fc -ln 0|               # show history without line numbers
     tail -r         |               # reverse the order
     awk '!x[$0]++'  |               # drop duplicates (https://unix.stackexchange.com/a/193331)
     fzf -e +s \
         --color=light \
         --height=20 \
         --inline-info \
         --border \

Keybase proof

I hereby claim:

  • I am florianschmidt1994 on github.
  • I am florianschmidt (https://keybase.io/florianschmidt) on keybase.
  • I have a public key whose fingerprint is 87B6 997D 2FE4 0CBC 546C CBAE 5BB8 370D C32D 8507

To claim this, I am signing this object:

@florianschmidt1994
florianschmidt1994 / gist:7c0bd172ae765c1c0426cf8e59902c06
Last active August 15, 2016 18:52
REGEX: .then(...).catch(...) to try {yield ...} catch (err) { ... }
// Find (Regex):(api\..*)\n(.*\.then.*)\n((.*\n)*?)(.*\}\)\n.*\.catch.*\n)((.*\n)*?)(.*\}\);\n)
// Replace with:try { \n yield $1; \n $3 } catch (err) { \n $6 \n }\n
// Before:
api.rejectSponsoring(teamId, eventId, sponsoringId)
.then(() => {
window.location.reload();
})
.catch((err) => {
console.log(err);
'use strict';
process.env.NODE_ENV = 'test';
var expect = require('chai').expect;
var app = require('../app');
var Promise = require('bluebird');
var comocha = require('co-mocha');
var _ = require('lodash');
{
"node": true,
"esnext": true,
"globals": {
"Promise": true,
"describe": true,
"it": true
}
}