Skip to content

Instantly share code, notes, and snippets.

View us0906's full-sized avatar

Ulrich Schulte us0906

  • Munich, Germany
View GitHub Profile
@marco79cgn
marco79cgn / schnelltest-availability.js
Last active December 15, 2021 22:55
Shows the available amount of Covid Tests in your local drug store and online
let country = "de"; // replace with 'at' for shops in Austria
let storeId = 251;
let param = args.widgetParameter;
if (param != null && param.length > 0) {
if (param.indexOf(";") > 0) {
const paramSplit = param.split(";");
storeId = paramSplit[0];
country = paramSplit[1].toLowerCase();
} else {
storeId = param;
@lizkaraffa
lizkaraffa / buddyboss.js
Last active April 22, 2023 06:49
Buddy-boss Navigation
/**
* BuddyBoss JavaScript functionality
*
* @since Boss 1.0.0
* @package Boss
*
* ====================================================================
*
* 1. jQuery Global
* 2. Main BuddyBoss Class
@chrisguitarguy
chrisguitarguy / post-editing.php
Created November 4, 2011 04:44
Page by page editting permissions for WordPress
<?php
/*
Plugin Name: Restrict Page Access
Plugin URI: https://gist.github.com/1338673
Description: Allows administrators to give editors permission to edit only certain posts
Author: Christopher Davis
Author URI: http://christopherdavis.me
License: GPL2
*/