Skip to content

Instantly share code, notes, and snippets.

@benthebear
benthebear / hide-cookie-notices-with-stylish.css
Last active Jun 6, 2019
Hide Cookie Notices with Stylish
View hide-cookie-notices-with-stylish.css
View waves-and-rocks.php
<?php
// Add Meta-Boxes
add_action( 'add_meta_boxes', 'waves_and_rocks_add_custom_meta_boxes' );
// Save CSS Box
add_action( 'save_post', 'waves_and_rocks_save_meta_boxes' );
// Add CSS to the Content
add_filter( 'the_content', 'waves_and_rocks_custom_css_the_content_filter' );
View stand-alone-wp-file.php
<?php
/* ATTENTION!
* This Script is intended for redirect Use only.
*/
// Boot Wordpress
// Raise memory
define( 'WP_MEMORY_LIMIT','2G' );
ini_set( 'memory_limit', '-1' );
View Palasthotel Ulysses Stil.ulstyle
//
// Palasthotel
//
// Export style to show one-sided, DinA4 PDFs
//
// Visit http://www.ulyssesapp.com/styles
// for full reference
//
View waves-and-rocks.php
<?php
/**
* Plugin Name: Waves and Rocks
* Description: A Plugin with several Features for my Blog
* Version: 0.9i
* Author: Benjamin Birkenhake
* Author URI: http://ben.grim.rocks
*/
/*
@benthebear
benthebear / user-addons.php
Last active Feb 17, 2016
user-addons.php
View user-addons.php
<?php
/**
* Plugin Name: User Addons
* Description: Adds custom User Meta Fields in Backend
* Version: 1.0
* Author: PALASTHOTEL (in Person: Benjamin Birkenhake)
* Author URI: http://www.palasthotel.de
* Text Domain: user_addons
*/
View cards.js
/*
* Draws a new card in the document <body>.
*/
function renderPainting() {
var postings = [
{
pictureName: 'Starry Night',
artist: 'Vincent van Gogh',
year: 1889,
image: '1.jpg'
View one-with-art.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="cards.css">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Vollkorn" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
<body>
View gist:6438825
Handling Folder Afrika with 253 children
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boellde/documentLibrary/wcm/editorial-website/root/de/Startseite/Weltweit :: Afrika
Working on D:ws:article in /Sites/boell
View OT-13729
<![CDATA[ <section>
<div class="wrap-wide">
<h2 class="box-head">
</h2>
<div class="artikel-wrap">
<!-- begin liste 1 -->
<article>
<a href="/import/boell.de/data/afrika-speer-der-nation-anc-gemaelde-murray-15018.html">
<img class="artikel-thumb" src="/assets/boell.de/images/pics_de/The_Spear_80px.png" alt="Ausschnitt des Bildes &quot;The Spear&quot;" />
You can’t perform that action at this time.