Skip to content

Instantly share code, notes, and snippets.

@geoder101
geoder101 / semversort.sh
Created June 21, 2018 17:04 — forked from andkirby/semversort.sh
Semantic versions sorting in bash.
#!/usr/bin/env bash
# Download this gist
# curl -Ls https://gist.github.com/andkirby/54204328823febad9d34422427b1937b/raw/semversort.sh | bash
# And run:
# $ semversort 1.0 1.0-rc 1.0-patch 1.0-alpha
# or in GIT
# $ semversort $(git tag)
# Using pipeline:
# $ echo 1.0 1.0-rc 1.0-patch 1.0-alpha | semversort
#
@geoder101
geoder101 / λόγια.txt
Created April 24, 2018 19:42
ΑΣ ΠΕΡΙΜΕΝΟΥΝ ΟΙ ΓΥΝΑΙΚΕΣ - Διότι οι άνθρωποι δεν συγχωρούν αυτούς που από έρωτα εκπέσανε
https://www.youtube.com/watch?v=IzfT5m0nKUI
---
*Μιχάλης*
Πάνο, Πάνο.
*Πάνος*
Παρουσιάζεται απάνω έτσι; Και μου λέει πάμε.
Εμένα η ζωή μου αρχίζει απ' την αρχή.
@geoder101
geoder101 / BootstrapUI.fs
Created September 14, 2017 14:19 — forked from Kimserey/BootstrapUI.fs
SPA UI.Next Bootstrap
[<JavaScript>]
module BootstrapUI =
open WebSharper.UI.Next
open WebSharper.UI.Next.Html
open WebSharper.UI.Next.Client
module Button =
type private ButtonColor =
| Default
| Primary
@geoder101
geoder101 / bibtex.png
Created August 22, 2017 21:40 — forked from max-mapper/bibtex.png
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@geoder101
geoder101 / create-docker-tls.sh
Last active August 21, 2017 15:48 — forked from Stono/create-docker-tls.sh
Creating and setting up Docker for TLS
#!/bin/bash
# This script will help you setup Docker for TLS authentication.
# Run it passing in the arguement for the FQDN of your docker server
#
# For example:
# ./create-docker-tls.sh myhost.docker.com
#
# The script will also create a profile.d (if it exists) entry
# which configures your docker client to use TLS
#
@geoder101
geoder101 / stress-test.sh
Created June 14, 2017 17:13 — forked from cirocosta/stress-test.sh
naive http server stress tester using cURL
#!/bin/bash
#### Default Configuration
CONCURRENCY=4
REQUESTS=100
ADDRESS="http://localhost:8080/"
show_help() {
cat << EOF
@geoder101
geoder101 / lyrics.txt
Last active June 21, 2022 18:29
Sony Anderson | Μην το σκεφτεις (Official Video Clip) | lyrics
https://www.youtube.com/watch?v=LelpAUwVxMk
Α, Α, OK, λού
εκεί που είναι η ζωή μη το σκεφτείς οι αγγαλίοι
πίνουμε αργιλέ εδώ στο σπίτι και τρώμε καλαμπόκι σαν το σκουρίκι
τα πεταλούδα είναι ωραία και μη το σκεφτείς ία παρέα
87 εκεί που είναι για τρελά ε είναι το όλοι μαζί εδώ παιδεία
εδώ είναι ο Σον αφήστε τα όπλα γιατί εγκώ θα πι-άσω την παντόφλα
εκεί που μάθαμε στα σχολεία θέλω να κάνω απεργία
και βγαίνω με παπούτσα ντόλτσε καμπάνα
@geoder101
geoder101 / .bashrc
Last active December 13, 2016 09:37
bashrc :: docker-machine start, env & eval
DOCKER_MACHINE_ID=default
if [ ! -f /tmp/docker.env ]; then
docker-machine start $DOCKER_MACHINE_ID &> /dev/null
docker-machine env $DOCKER_MACHINE_ID 1> /tmp/docker.env
fi
if [ -f /tmp/docker.env ]; then
source /tmp/docker.env
fi
@geoder101
geoder101 / usbdevinfo.sh
Created July 17, 2016 13:58
MacOSX USB Dev Info
#!/usr/bin/env bash
system_profiler SPUSBDataType
@geoder101
geoder101 / UnixSignalFSharp.fs
Created March 20, 2016 09:13
UnixSignalFSharp
(*
The MIT License (MIT)
Copyright (c) 2016 George Dernikos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is