Skip to content

Instantly share code, notes, and snippets.

View franz-josef-kaiser's full-sized avatar

Franz Josef Kaiser franz-josef-kaiser

View GitHub Profile
@franz-josef-kaiser
franz-josef-kaiser / standards-draft.md
Last active August 29, 2015 14:07
WordPress Composer.json standard keys

For every bit of configuration that we might need in Composer scripts or packages, we can add extra data.

{
    "extra" : {
      "wordpress-install-dir" : "",
		  "wordpress-env-dir"     : "",
		  "bash-profile-dir"      : ""
    }
}
@franz-josef-kaiser
franz-josef-kaiser / list.md
Last active August 29, 2015 14:07
Linux package list - Ubuntu 14.04 LTS
@franz-josef-kaiser
franz-josef-kaiser / pcduino_setup.md
Last active April 23, 2018 22:29
pcDuino v1 setup - incl. XBMC

Handy shortcuts

  • Access main menu: Alt + F1

  • Open Terminal: �Ctrl + Alt + T

  • Fullscreen window toggle: F11

  • Package manager apt-get intro and handy stuff

Step by Step guide

@franz-josef-kaiser
franz-josef-kaiser / README.md
Created August 9, 2014 08:53
Silex Middlewares - a PHP only (non YAML, non annotated) implementation of Symfony KernelEvents and even dispatching
@franz-josef-kaiser
franz-josef-kaiser / summed.md
Last active August 29, 2015 14:05
ISO 639(-1/2)
  • Book (2001) Handbook of Terminology Management: Application-oriented terminology management, Band 2 Authors: Sue Ellen Wright, Gerhard Budin Publisher: John Benjamins Publishing, 2001 - 549 Seiten

The ISO 639 Registration Authority (concat information is wrong by now)

International Information Centre for Terminology
(Infoterm)
------------------
P.O. Box 130
@franz-josef-kaiser
franz-josef-kaiser / expendables4.md
Created August 4, 2014 23:14
Expandables 4 - Cast - the wish list
@franz-josef-kaiser
franz-josef-kaiser / google_jsapi.php
Last active November 27, 2016 22:10
WordPress plugin to add a Google Pie Charts / Visualization in a MetaBox.
<?php
namespace WPSE;
/** Plugin Name: Google JSAPI test plugin */
add_action( 'admin_enqueue_scripts', __NAMESPACE__.'\addScripts' );
function addScripts()
{
wp_enqueue_script(
@franz-josef-kaiser
franz-josef-kaiser / media_att_count.php
Last active August 29, 2015 14:03
WordPress plugin: Adds a column to the media admin list table to show the count of posts. Also adds a "size" column which displays the duration of Audio files or sizes of image files.
<?php
namespace WCM;
/**
* Plugin Name: (WCM) Media Count
* Description: Adds a column to the media admin list table to show the count of posts
* License: MIT
*/
@franz-josef-kaiser
franz-josef-kaiser / wp-config.php
Last active April 25, 2024 01:19
My default wp-config.php file for the nightly.dev stack. Not beautiful, but it got everything.
<?php
# SHORTS
# DIRECTORY SEPARATOR
define( 'DS', DIRECTORY_SEPARATOR );
# PATH SEPARATOR
define( 'PS', PATH_SEPARATOR );
# Absolute path to the WordPress directory.
! defined( 'ABSPATH' )
AND define( 'ABSPATH', dirname( __FILE__ ).DS );
@franz-josef-kaiser
franz-josef-kaiser / linklist.md
Created June 4, 2014 23:06
Open Knowledge Foundation Austria - Metalab 05.06.2014 - Preparation / Link list