Skip to content

Instantly share code, notes, and snippets.

pcm.ch51dup {
slave.pcm surround51
slave.channels 6
type route
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
# Misc
https://tattoodo-web-sta.tattoodo.com/?nocache=true
https://tattoodo-web-sta.tattoodo.com/s?nocache=true
https://tattoodo-web-sta.tattoodo.com/app?nocache=true
# Articles
https://tattoodo-web-sta.tattoodo.com/a/2017/01/simplicity-is-the-key-to-everything/?nocache=true
https://tattoodo-web-sta.tattoodo.com/a/2016/12/mike-s-amazing-article/?nocache=true
https://tattoodo-web-sta.tattoodo.com/a/2016/11/the-rock-covered-his-shoulder-with-a-black-dark-tattoo/?nocache=true
https://tattoodo-web-sta.tattoodo.com/a/2016/12/testing-old-vice-ads/?nocache=true
https://tattoodo-web-sta.tattoodo.com/a/2016/11/tattoos-over-the-arms/?nocache=true
@mewm
mewm / LaravelServiceProvider.php
Created December 10, 2016 17:59
Json session savehandler for memcache. Handles both windows and unix driver.
<?php
use Cache;
use Illuminate\Support\ServiceProvider;
use Session;
/**
* Class JsonSessionServiceProvider
*/
class JsonSessionServiceProvider extends ServiceProvider
<svg viewBox="0 0 100 100" style="display: block; width: 100%;"><path d="M 50,50 m 0,-43.5 a 43.5,43.5 0 1 1 0,87 a 43.5,43.5 0 1 1 0,-87" stroke="transparent" stroke-width="1" fill-opacity="0"></path><path d="M 50,50 m 0,-43.5 a 43.5,43.5 0 1 1 0,87 a 43.5,43.5 0 1 1 0,-87" stroke="rgb(246,80,102)" stroke-width="13" fill-opacity="0" style="stroke-dasharray: 273.357, 273.357; stroke-dashoffset: 136.679;"></path></svg>
Dear Amazon RDS Customer,
You are receiving this email because you currently have one or more active Amazon RDS for MariaDB database instances running version 10.0.17 or 10.1.14. We are performing this maintenance to improve instance reliability. Maintenance will be scheduled during your weekly maintenance window beginning on October 25th, 2016 at 00:00 UTC.
Your impacted MariaDB instances are listed below:
US East (N. Virginia) - db1
US East (N. Virginia) - db2
US East (N. Virginia) - db3
@mewm
mewm / template
Created April 19, 2016 12:24
phpstorm phpdoc template
#set( $MyName = "Dennis Micky Jensen <dj@tattoodo.com>" )
/**
@author $MyName
${PARAM_DOC}
#if (${TYPE_HINT} != "void") * @return ${TYPE_HINT}
#end
${THROWS_DOC}
*/
@mewm
mewm / index.php
Created April 12, 2016 22:00
SOLID made simple
<?php
class ATM
{
public function __construct()
{
}
public function withdrawByCard()
<?php
$_flatArray = [];
$_nestedArray = [
[
'id' => 1,
'name' => 'A',
'subcategories' => [
[
'id' => 2,
@mewm
mewm / sitecustomize.py
Created October 29, 2015 21:07
Fix SSL winrm error win2012 on mac el capitan default python 2.7 - create /Library/Python/2.7/site-packages/sitecustomize.py with the content below
import ssl
try:
_create_unverified_https_context = ssl._create_unverified_context
except AttributeError:
# Legacy Python that doesn't verify HTTPS certificates by default
pass
else:
# Handle target environment that doesn't support HTTPS verification
ssl._create_default_https_context = _create_unverified_https_context