This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Ein ganz einfacher Formvalidator | |
* | |
* @autor Rene Reimann | |
* @package Meine toolbox | |
*/ | |
jQuery(function($) { | |
$('#submitform').click( function(e){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Das clientseitige clipboardData-Objekt beinhaltet Methoden die es ermöglichen auf die Zwischenablage | |
* zuzugreifen. | |
* Exsample: | |
* http://www.thisismoney.co.uk/money/mortgageshome/article-1671748/House-prices-What-expect--news-predictions.html | |
* Methoden | |
* clearData | |
* Die clearData-Methode ermöglicht das Leeren der Zwischenablage. Optional kann das Format als String angegeben |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>StackBlurForCanvas</title> | |
<script type='text/javascript' src='http://code.jquery.com/jquery-1.8.2.js'></script> | |
<script type='text/javascript' src="http://www.quasimondo.com/StackBlurForCanvas/StackBlur.js"></script> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get a list of multiple for 3 and 5 get | |
* the word Foo and Bar for both FooBar. | |
* | |
* @copyright (C) René Reimann | Mediengestaltung 2005-2012 | |
* @version 1.0 | |
* | |
* @author René Reimann info@rene-reimann.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: custom_post Postypes for WordPress | |
* Plugin URI: | |
* Description: Custom post type. | |
* Version: 1.0 | |
* Author: Rene Reimann | |
* Author URI: www.rene-reimann.de | |
* Author Email: info@rene-reimann.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Apache Configuration File | |
# https://github.com/h5bp/server-configs-apache | |
# (!) Using `.htaccess` files slows down Apache, therefore, if you have access | |
# to the main server config file (usually called `httpd.conf`), you should add | |
# this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html. | |
# ############################################################################## | |
# # CROSS-ORIGIN RESOURCE SHARING (CORS) # | |
# ############################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getQuote($from, $to) { | |
$url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=l1&s='. $from . $to .'=X'; | |
$curValue = trim(file_get_contents($url)); | |
return $curValue; | |
} | |
echo '1 Euro = ' . getQuote('EUR', 'USD') .' USD<br/>'; | |
echo '1 Euro = ' . getQuote('EUR', 'GBP') .' GBP<br/>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-type: application/json'); | |
$timezones = array( | |
array( 'Pacific/Samoa' => 'Samoa'), | |
array( 'Pacific/Honolulu' => 'Hawei'), | |
array( 'America/Anchorage' => 'Anchorage'), | |
array( 'America/Los_Angeles' => 'Los Angeles'), | |
array( 'America/Denver' => 'Denver'), | |
array( 'America/Indiana/Knox' => 'New Orleans' ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add request Hook to call the redirect function | |
* @return Vo/id | |
*/ | |
add_filter( 'request', 'redirect_tracking_link' ); | |
/** | |
* Request filter to add a TrackingCode |