Skip to content

Instantly share code, notes, and snippets.

View mrother's full-sized avatar
🤓
Old but gold...

Mauricio Rother mrother

🤓
Old but gold...
View GitHub Profile
@mrother
mrother / main.php
Created July 29, 2018 14:37 — forked from tomkel5/main.php
Example of Symfony Crawler
<?php
require_once 'vendor/autoload.php';
use Symfony\Component\DomCrawler\Crawler;
$html = '<!DOCTYPE html>
<html>
<body>
<table border="0" cellpadding="0" cellspacing="1">
<tr>

HTML5 Audio Player w/ Responsive Playlist

I changed this!

This is an HTML5 audio player that detects the user agent of your device/browser/OS and applies styling that matches the native audio player. The playlist responds to the width of your screen and features basic UI controls.

Feel free to fork this pen and add your own user agent styles for different browsers, devices and operating systems.

@mrother
mrother / migrate-legacy-mailcow-to-dockerized.sh
Created September 30, 2017 23:23 — forked from janxb/migrate-legacy-mailcow-to-dockerized.sh
This Scripts migrates a legacy mailcow instance to a new mailcow.dockerized one. Domains, Users, SOGo-Settings, Forwardings and Mails are migrated.
#!/bin/bash
set -e
cd ~/mailcow-dockerized
DBUSER=mailcow
DBPASS=xxxxxxxxxxxxxxxxxxxx
DBNAME=mailcow
DBHOST=mailcow.lxd