Notizen zu Tobias' Vortrag auf dem DataCycle Meetup am 15.01.2019.
Die Notizen sind nicht selbsterklärend. Aber wer da war, findet hier alle Links die ich gezeigt habe.
Notizen zu Tobias' Vortrag auf dem DataCycle Meetup am 15.01.2019.
Die Notizen sind nicht selbsterklärend. Aber wer da war, findet hier alle Links die ich gezeigt habe.
#!/bin/bash | |
# Accor group hotels offer "free wifi" (ESSID: "m3connect") service | |
# with internet access (with paid options for higher transfer rates). | |
# | |
# This takes care of the m3connect captive portal. | |
# | |
# Please drop me a note if it stops working, is insecure etc. | |
# |
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
@echo off | |
:: Path to Sublime Text installation dir. | |
SET stPath=%~dp0sublime_text.exe | |
SET stPathOnly=%~dp0 | |
:: Key name for the registry entries. | |
SET UserEntry=Sublime Text | |
SET AdminEntry=Sublime Text As Admin | |
:: Context menu texts. | |
SET "UserMenuText=Open with Sublime(&-)" | |
SET "AdminMenuText=Open with Sublime As Admin(&+)" |
MIT License
Copyright (c) [year] [fullname]
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 furnished to do so, subject to the following conditions:
import time | |
class Stopwatch(object): | |
"""A stopwatch utility for timing execution that can be used as a regular | |
object or as a context manager. | |
NOTE: This should not be used an accurate benchmark of Python code, but a | |
way to check how much time has elapsed between actions. And this does not | |
account for changes or blips in the system clock. |