Skip to content

Instantly share code, notes, and snippets.

Avocado for the wise.

Hans-Helge Buerger obstschale

Avocado for the wise.
Block or report user

Report or block obstschale

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
obstschale / autostart
Last active Jul 21, 2019
Raspberry Pi Script to autostart Chromium
View autostart
# /home/pi/.config/lxsession/LXDE-pi/autostart before Buster
# /etc/xdg/lxsession/LXDE-pi/autostart on Buster
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@sh /home/pi/bin/
cecho() {
local code="\033["
case "$1" in
black | bk) color="${code}0;30m";;
red | r) color="${code}1;31m";;
green | g) color="${code}1;32m";;
yellow | y) color="${code}1;33m";;
blue | b) color="${code}1;34m";;
purple | p) color="${code}1;35m";;
cyan | c) color="${code}1;36m";;
obstschale /
Last active Jul 19, 2017
Bash script for setting up a new WordPress site (Laravel Valet runs in the background)
# =========================================
# Create new WordPress Site with 1 command
# press <name> <dbname>
# name: name of the folder, website, url
# dbname: database name, which will be created and used by WordPress
obstschale / lock-plugins.php
Last active Aug 30, 2016 — forked from daggerhart/lock-plugins.php
Simple plugin that prevents requests for updats for a given list of plugins.
View lock-plugins.php
* Plugin Name: Lock plugin updates
* Description: Prevent plugin updates
* Version: 1.0.0
* Author: daggerhart
add_filter( 'http_request_args', 'lock_plugins_http_request_args', 5, 2 );
View Caldera_Forms.php
namespace Flat_Finder\Module;
* Class Caldera_Form
* Caldera_Form is a module for using a caldera form as main input for new flats.
* @author Hans-Helge Buerger
obstschale / test.php
Created May 4, 2015
WordPress Test File. Simply put it into the same folder where wp-config.php lives.
View test.php
// Load the WordPress Environment
define( 'WP_DEBUG', true );
$arrayName = array('val1', 'val2' );
obstschale / gist:8f14e1b6bebbc8a7e627
Last active Aug 29, 2015
tree leaflet.markercluster
View gist:8f14e1b6bebbc8a7e627
├── .bower.json
├── .gitignore
├── .travis.yml
├── Jakefile.js
├── build
│   ├── build.js

Keybase proof

I hereby claim:

  • I am obstschale on github.
  • I am obstschale ( on keybase.
  • I have a public key ASDLzamYHudd2vRPBISs45ocDGUgjWY-CJZjOnU_SZcWHQo

To claim this, I am signing this object:

obstschale /
Last active Aug 29, 2015
Link collection of iPython stuff

iPython Notebook

Useful Links, Tutorials, and Books

First of all, here the easiest way to install and run it on your system:

  1. Download and install Anaconda
  2. Run the command ipython notebook in the desired folder. This will start your default browser and open the iPython dashboard
  3. Select the desired notebook or create one yourself.
#! /bin/bash
# A modification of Dean Clatworthy's deploy script as found here:
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# main config
MAINFILE="camptix-payfast.php" # this should be the name of your main php file in the wordpress plugin
# git config
You can’t perform that action at this time.