Skip to content

Instantly share code, notes, and snippets.

View trytuna's full-sized avatar

Timo Schrappe trytuna

  • TU Dortmund
  • Germany
View GitHub Profile
@trytuna
trytuna / reproduce.sh
Last active July 5, 2022 09:47
GitLab on Strato VServer: Resource temporarily unavailable
$ apt-get update && apt-get upgrade -y
$ uname -a
Linux 4.9.0 #1 SMP Mon Mar 16 15:39:59 MSK 2020 x86_64 GNU/Linux
# Install docker based on these instruction https://docs.docker.com/engine/install/debian/
$ apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
@trytuna
trytuna / hosts.yml
Last active June 26, 2018 15:19 — forked from phips/hosts.yml
Ansible setting of hostname from inventory, but ignoring IP addresses
- name: Ensure hostname set
hostname: name={{ inventory_hostname }}
when: inventory_hostname is not match('(\d{1,3}\.){3}\d{1,3}')
- name: Ensure hostname is in /etc/hosts
lineinfile:
dest=/etc/hosts
regexp="^{{ ansible_default_ipv4.address }}.+$"
line="{{ ansible_default_ipv4.address }} {{ ansible_fqdn }} {{ ansible_hostname }}"
@trytuna
trytuna / .block
Created June 22, 2018 14:06
Film Flowers, Single Update Complete
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 14:06
Film Flowers, Single Update Complete
license: gpl-3.0
@trytuna
trytuna / .block
Created June 22, 2018 14:01
Film Flowers, Single Update Complete
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 13:21
Film Flowers, Single Update Starter
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 12:19
Film Flowers, Single Scaled Starter
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 13:58
Film Flowers, Single Starter
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 08:12
Film Flowers Petal Starter Code
license: gpl-3.0
@trytuna
trytuna / keepmealive.plist
Last active March 28, 2017 12:45
Prevent external USB HDD from spinning down
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.example.keepmealive</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/touch</string>
<string>/Volumes/MiniServer/keepmealive</string>