Skip to content

Instantly share code, notes, and snippets.

View benthebear's full-sized avatar

Ben benthebear

  • Palasthotel
  • Lost
View GitHub Profile
<![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;" />
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
<!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>
/*
* Draws a new card in the document <body>.
*/
function renderPainting() {
var postings = [
{
pictureName: 'Starry Night',
artist: 'Vincent van Gogh',
year: 1889,
image: '1.jpg'
@benthebear
benthebear / user-addons.php
Last active February 17, 2016 10:51
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
*/
@benthebear
benthebear / waves-and-rocks.php
Created September 2, 2016 07:35
Waves and Rocks Plugin
<?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
*/
/*
//
// Palasthotel
//
// Export style to show one-sided, DinA4 PDFs
//
// Visit http://www.ulyssesapp.com/styles
// for full reference
//
<?php
/* ATTENTION!
* This Script is intended for redirect Use only.
*/
// Boot Wordpress
// Raise memory
define( 'WP_MEMORY_LIMIT','2G' );
ini_set( 'memory_limit', '-1' );
<?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' );
@benthebear
benthebear / hide-cookie-notices-with-stylish.css
Last active June 6, 2019 20:03
Hide Cookie Notices with Stylish