Skip to content

Instantly share code, notes, and snippets.

View tmf's full-sized avatar
🇨🇭

Tom Forrer tmf

🇨🇭
View GitHub Profile
@tmf
tmf / composer.json
Last active December 28, 2015 06:59
Create wordpress site with composer and a object-oriented written wordpress theme with twig as templating language
{
"name": "tmf/wordpress-site",
"description": "a wordpress site installed with composer and wpackagist",
"authors": [
{
"name": "tmf",
"email": "tom.forrer@gmail.com"
}
],
"license": "MIT",
@tmf
tmf / composer.json
Created November 14, 2013 14:17
Wordpress installation with composer
{
"name": "tmf/wordpress-site",
"description": "a wordpress site installed with composer and wpackagist",
"authors": [
{
"name": "tmf",
"email": "tom.forrer@gmail.com"
}
],
"license": "MIT",
@tmf
tmf / creative.html
Created November 25, 2016 16:00
DFP creative using SafeFrames for fullscreen expansion in overlay mode
<div id="container">
<div id="status"></div>
<style type="text/css">
#container {
background-color: #ff55a2;
}
</style>
<script>
function expand() {
$sf.ext.expand($sf.ext.geom().exp);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<style id="jsbin-css">
#demo-slot {
width:320px;height:160px;display:flex;justify-content:center;align-items:center;color:#c5cdd3;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<style id="jsbin-css">
#demo-slot {
width:320px;height:160px;display:flex;justify-content:center;align-items:center;color:#c5cdd3;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<style id="jsbin-css">
#demo-slot {
width:320px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<style id="jsbin-css">
#demo-slot {
width:320px;
@tmf
tmf / index.html
Created January 21, 2018 10:50
GPT Demo // source http://jsbin.com/pamujiv
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>GPT Demo</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<script async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<style id="jsbin-css">
#demo-slot {
@tmf
tmf / index.html
Created January 21, 2018 16:10
GPT Demo // source http://jsbin.com/rijuwal
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>GPT Demo</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<script async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<style id="jsbin-css">
#demo-slot {
@tmf
tmf / index.html
Created January 21, 2018 16:15
GPT Demo // source http://jsbin.com/vokiyok
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>GPT Demo</title>
<link href="http://web-components.kubernetes.doodle-test.com/styles.dev.css" rel="stylesheet"/>
<script async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<style id="jsbin-css">
#demo-slot {