Skip to content

Instantly share code, notes, and snippets.

View pascalandy's full-sized avatar
:octocat:
Rocking the git

Pascal Andy pascalandy

:octocat:
Rocking the git
View GitHub Profile
//
// ViewController.swift
// Boucing Label
//
// Created by Pascal Andy on 2014-10-07.
// Copyright (c) 2014 Pascal Andy. All rights reserved.
//
import UIKit
Verifying that +pascalandy is my blockchain ID. https://onename.com/pascalandy

Embed video

<div class=“flex-video-container”>
    <div class=“flex-video”>
    <iframe src=“//fast.wistia.net/embed/iframe/sxxb3b0npq” allowtransparency=“true” frameborder=“0” scrolling=“no” class=“wistia_embed” name=“wistia_embed” allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width=“800” height=“478”></iframe>
    </div>
</div>
@pascalandy
pascalandy / style-test.md
Created October 25, 2015 20:18 — forked from ErisDS/style-test.md
A Full and Comprehensive Style Test

Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.


Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<!-- @ David Charette -->
<!DOCTYPE html>
<html data-wf-site="56546ec4b37b918632ee83a9" data-wf-page="565d132204cdcbfc0b50d751">
<head>
<meta charset="utf-8">
<title>tk_title</title>
<meta name="description" content="tk_description">
<meta name="keywords" content="tk-keywords">
<meta name="viewport" content="width=device-width, initial-scale=1">
for:
http://blog.osteel.me/posts/2015/12/18/from-vagrant-to-docker-how-to-use-docker-for-local-web-development.html?_tmc=p9YSlYM8PUi910_DgJBWHWy5TAOXitPRIcD-63k32ac&mkt_tok=3RkMMJWWfF9wsRonuqTMZKXonjHpfsX86uwkWKe0lMI%2F0ER3fOvrPUfGjI4DTsJjI%2BSLDwEYGJlv6SgFQ7LMMaZq1rgMXBk%3D
— — — — — — — — — —
Attaching to dockertutorialbyosteel_phpmyadmin_1, dockertutorialbyosteel_nginx_1, dockertutorialbyosteel_php_1, dockertutorialbyosteel_mysql_1, dockertutorialbyosteel_data_1, dockertutorialbyosteel_app_1
phpmyadmin_1 | + [ ! -f /www/config.secret.inc.php ]
php_1 | [12-Feb-2016 17:32:47] NOTICE: fpm is running, pid 1
php_1 | [12-Feb-2016 17:32:47] NOTICE: ready to handle connections
php_1 | 172.17.0.4 - 12/Feb/2016:17:33:04 +0000 "GET /index.php" 200
# 2016-02-11_20h18
nginx:
build: ./nginx/
ports: # 'ports' makes them accessible to the host machine
- "80:80" # published:host
links:
- "php"
volumes_from:
- "app"
from https://developer.atlassian.com/blog/2015/12/atlassian-docker-orchestration/
---
Pascals-MacBook-Pro:orchestration pascalandy$ docker info
Containers: 5
Running: 4
Paused: 0
Stopped: 1
Images: 7
storage: {
active: 'ghost-s3',
'ghost-s3': {
accessKeyId: '<ACCESS_KEY_ID>',
secretAccessKey: '<SECRET_KEY_ID>',
bucket: '<AMAZON_BUCKET_NAME>',
region: '<AMAZON_BUCKET_REGION> (e.g. us-west-2)',
assetHost: 'https://s3-us-west-2.amazonaws.com/<AMAZON_BUCKET_NAME>/'
}
},
root@dkr-ams-04:/home/dkr-gst# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c98cb774dc7c dkrgst_nginx "nginx -g 'daemon off" 9 hours ago Restarting (1) About a minute ago 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx_proxy
a695aeeda077 dkrgst_ghost "/entrypoint.sh npm s" 9 hours ago Restarting (0) 30 seconds ago 2368/tcp ghost_blog
1e80cae48aec mysql:5.7.10 "/entrypoint.sh mysql" 9 hours ago Restarting (137) About a minute ago 3306/tcp blog_data
root@dkr-ams-04:/home/dkr-gst# docker logs c98cb774dc7c
2016/02/24 03:13:28 [emerg] 1#1: PEM_read_bio_X509_AUX("/etc/nginx/ssl/nginx.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
nginx: [emerg] PEM_read_bio_X509_AUX("/et