Skip to content

Instantly share code, notes, and snippets.

@ITfee
ITfee / web.config Redirect
Last active February 9, 2016 14:10
Redirect Subdirectory to Subdomain on Windows Webserver
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite to http://sub.mydomain.de/" stopProcessing="true">
<match url="subdirectory/" />
<action type="Redirect" url="http://sub.mydomain.de" />
</rule>
</rules>
@sergejmueller
sergejmueller / goodbye-wordpress.md
Last active July 13, 2016 11:19
Goodbye, WordPress!

Goodbye, WordPress!

Fast 9 Jahre und nahezu 3 Millionen Downloads später ist Schluss.
Schluss mit WordPress.

Für mich geht ein Lebensabschnitt zu Ende. Ein Lebensabschnitt, der unendlich viel Erfahrung, Learnings und Spaß mit sich brachte. Ein Lebensabschnitt, der aber unendlich viel Zeit, Nerven und Motivation mit sich nahm. Doch der Wille zählt und ich hoffe stark, dass meine Software und mein Engagement die WordPress-Community ein Stückchen besser, qualitativer gemacht haben.

// Bitteschön

@ITfee
ITfee / WordPress Advertorial Plugin
Created April 16, 2015 15:30
WordPress Plugin Boilerplate for Custom Post Type "Advertorials" for self-marketing and client ads (e.g. whitepaper, promoting events or new releases).
<?php
/*
Plugin Name: Advertorials
Plugin URI: http://itfee.de/werbung-in-wordpress-per-custom-post-type-kennzeichnen/774
Description: Custom Post Type for self-marketing and client ads (e.g. whitepaper, promoting events or new releases)
Version: 0.1
Author: Roy Dittmann
Author URI: http://itfee.de
*/
@bhwebworks
bhwebworks / Modified pseudo-responsive MailPoet email_template.html
Created March 27, 2015 22:12
Modified pseudo-responsive MailPoet email_template.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {if #is_rtl} dir="rtl" {/if} >
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{#subject|default:Wysija template}</title>
{#css}
</head>
<body bgcolor="{#styles.html.background|color}" yahoo="fix">
<span style="margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;display:block;background:{#styles.html.background|color};">
@bhwebworks
bhwebworks / Modified MailPoet css.html
Created March 27, 2015 22:10
Modified MailPoet css.html - responsive images and larger table font size
<style type="text/css">
/* Based on The MailChimp Reset INLINE: Yes. */
/* Client-specific Styles */
body {
width:100% !important;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
margin:0;
padding:0;
}
@adkorte
adkorte / adbox.php
Last active September 24, 2019 15:04
Ad Box: Simple way to mark your WordPress posts as ads with one click in your editor
<?php
/** Ad Box **/
/** Author: Adrian Korte, @adkorte **/
/** add this snippet to your functions.php **/
// add a meta box to your edit/new post screen
add_action( 'add_meta_boxes', 'meta_ad_box_add' );
function meta_ad_box_add()
{
@learncfinaweek
learncfinaweek / gist:4120971
Created November 20, 2012 20:47
Setup - Installing ColdFusion

To be able to program in ColdFusion, a ColdFusion server needs to be installed. There are a couple of options available, but the one that we are going to focus on is a local development server.

A local development server is free and allows you to develop ColdFusion applications that use all of ColdFusion’s available features. There are, however, a few limitations, such as not being able to use the server as an external web server. That being said, there are additional benefits to using a local ColdFusion development server, such as not needing to have IIS or Apache installed, but instead using the packaged web server.

To install ColdFusion, follow the steps below: