Skip to content

Instantly share code, notes, and snippets.

View dakira's full-sized avatar

Matthias Niess dakira

  • Germany
View GitHub Profile
@dakira
dakira / dm-diapers.js
Last active March 12, 2021 00:51 — forked from marco79cgn/dm-toilet-paper-wheat-flour.js
ios widget to show number of diapers at dm market
// dm Windel Widget
// Basiert auf
// dm Klopapier Widget
// https://gist.github.com/marco79cgn/23ce08fd8711ee893a3be12d4543f2d2
//
// Copyright (C) 2020 by marco79 <marco79cgn@gmail.com>
//
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
@dakira
dakira / upgrade.yml
Created August 18, 2017 20:36 — forked from kiview/upgrade.yml
Ubuntu upgrade with Ansible
---
- hosts:
- all
become: true
tasks:
- name: Update apt cache
apt: update_cache=yes
- name: Upgrade packages
apt: upgrade=dist
#
# MIGRATE MySQL4 DATABASES TO MySQL5 - Steps for dumping and converting
#
# Uses mysqldump and patches output to be compatible with MySQL 5.5+ (? - no sure
# at which specific release of MySQL 5 the old style syntax support ended).
#
# Conversion is most likely incomplete. It does some essential converting where
# I regularly experienced problems during migration.
#
# Use on own risk, always try with test databases first. No warranty at all!