Skip to content

Instantly share code, notes, and snippets.

Avatar

Florian Latzel fl3a

View GitHub Profile
@fl3a
fl3a / keybase.md
Created Jun 30, 2021
Keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am fl3a on github.
  • I am fl3a (https://keybase.io/fl3a) on keybase.
  • I have a public key ASAymQswQE4JOrS7SOC0nKGFyX_JJk1QwRU-MaU8Dcoxzgo

To claim this, I am signing this object:

@fl3a
fl3a / siy_day.sh
Created Jun 10, 2021
Opens the supplied day of the Search Inside Yourself challenge within firefox.
View siy_day.sh
#!/bin/bash
[[ -z "$1" ]] && { echo "No parameter given.">&2; exit 1; }
! [[ $1 =~ ^[0-9]+$ ]] && { echo "NaN.">&2; exit 2; }
! [[ $1 -ge 1 && $1 -le 28 ]] && \
{ echo "Number is not between 1 and 28">&2; exit 3; }
firefox "https://my.siyli.org/my/courses/35327#practice-28d-challenge&day=${1}" &
@fl3a
fl3a / siy_random.sh
Created Jun 10, 2021
Opens a random day of the Search Inside Yourself 28 challenge within firefox.
View siy_random.sh
#!/bin/bash
firefox "https://my.siyli.org/my/courses/35327#practice-28d-challenge&day=$((1 + $RANDOM % 28))" &
@fl3a
fl3a / uberspace-jekyll-deployment.sh
Last active Mar 30, 2019
Deployment of Jekyll-Sites on Uberspace via Git Bare Repository and post-receive Hook
View uberspace-jekyll-deployment.sh
#!/bin/bash
#
# Deployment of Jekyll-Sites on Uberspace
# via Git Bare Repository and post-receive Hook.
#
# See https://netzaffe.de/jekyll-deployment-auf-uberspace-via-bare-repo-und-post-receive-hook/
# for requirements and more detailed description (german)
read oldrev newrev ref
pushed_branch=${ref#refs/heads/}
@fl3a
fl3a / aliases.drushrc.php
Created Jul 22, 2012
Drush configuration for git repositories
View aliases.drushrc.php
<?php
/**
* @file
* Drush alias file for git repositories
* with predefined options for sql-dump command
*
* Place as etc/drush/aliases.drushrc.php
* within your git repository
*
* @see http://netzaffe.de/node/1608 for details about repository structure
@fl3a
fl3a / README.md
Created Jul 11, 2012
Drupal-Distro-Build-Script
View README.md

Drupal-Distro-Build-Script

About

Testing the functionality of Drupal installation profiles is cumbesome...

This script helps you to perform the following (repeating) steps of rolling out an installation profile, before you are able to test it's functionality.

It performs the following steps in case of Feature Server (fserver) 6.x installation profile: