Skip to content

Instantly share code, notes, and snippets.

View eteubert's full-sized avatar

Eric Teubert eteubert

View GitHub Profile
@eteubert
eteubert / db-open
Created November 7, 2016 02:29 — forked from helderco/db-open
Script to open a mysql database in Sequel Pro from a service in docker-compose.
#!/bin/bash
set -e
show_help() {
cat << EOF
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE]
${0##*/} -h
Open a standard connection in Sequel PRO.
{% for list in podlove.lists({slug: "meta"}) %}
    <h1><a href="{{ list.url }}">{{ list.title }}</a></h1>
    <h2>{{ list.subtitle }}</h2>
    <p>
        Sabbel: {{ list.description }}
    </p>
    <ul>
            {% for episode in list.episodes({limit: 5}) %}
@eteubert
eteubert / gist:1351939
Created November 9, 2011 16:15
Textverkettung
<?php
$some_var = 'WordPress';
$string = 'This is my text and ' . $some_var . ' is the best publishing System in the World';