Skip to content

Instantly share code, notes, and snippets.

View Gummibeer's full-sized avatar
🐼
beary busy

Tom Herrmann Gummibeer

🐼
beary busy
View GitHub Profile
@Gummibeer
Gummibeer / material.less
Created January 9, 2017 14:12
All Google Material Design Colors from 50-900 as less variables
// https://material.google.com/style/color.html
@color-red-50: #FFEBEE;
@color-red-100: #FFCDD2;
@color-red-200: #EF9A9A;
@color-red-300: #E57373;
@color-red-400: #EF5350;
@color-red-500: #F44336;
@color-red-600: #E53935;
@color-red-700: #D32F2F;
CREATE DATABASE newuser_db;
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON `newuser\_%` . * TO 'newuser'@'localhost';
/*
File: init.sqf
Author: Tom Witkowski (Gummibeer)
URI: https://github.com/Gummibeer
*/
private[ "_skillLevel", "_enemySide", "_enemyMen", "_enemyVehicles", "_enemyMenDensities", "_enemyVehicleDensities", "_civPopulations", "_types", "_markers", "_name", "_sizeArray", "_sizeA", "_sizeB", "_size", "_position", "_type", "_enemyMenDensity", "_enemyVehicle", "_enemyVehicleDensity", "_civPopulation", "_marker", "_text" ];
_skillLevel = 1;
_enemySide = 2;
@Gummibeer
Gummibeer / pico_sitemap.php
Created October 7, 2014 15:33
Generate a sitemap.xml and HTML-Sitemap Twig-Var for Pico - https://github.com/Techn0tic/Pico_Sitemap
<?php
/**
* Generate an xml sitemap for Pico
*
* @author Dave Kinsella
* @link https://github.com/Techn0tic/Pico_Sitemap
* @license http://opensource.org/licenses/MIT
*
* @author Tom Witkowski
<?php
/**
* Social plugin for Pico CMS
* Adds social media buttons to posts and pages
*
* @author Narcis Radu
* @link http://narcisradu.ro
* @license http://opensource.org/licenses/MIT
*
* @author Tom Witkowski
@Gummibeer
Gummibeer / comments.php
Created May 22, 2014 11:03
Hueman new Features
<?php if ( post_password_required() ) { return; } ?>
<section id="comments" class="themeform">
<?php if ( have_comments() ) : global $wp_query; ?>
<h3 class="heading"><?php comments_number( __( 'No Responses', 'hueman' ), __( '1 Response', 'hueman' ), __( '% Responses', 'hueman' ) ); ?></h3>
<ul class="comment-tabs group">
<li class="active"><a href="#commentlist-container"><i class="fa fa-comments-o"></i><?php _e( 'Comments', 'hueman' ); ?><span><?php echo count($wp_query->comments_by_type['comment']); ?></span></a></li>