View gist:f7f41d46f769c00cea2198f8dadda8cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Monthly review | |
- Quite time & Pray | |
- Review yearly goals & 7 areas (reviews current progress & metrics) | |
- Review quarter (90d) goals & initiatives | |
- Review last MONTH's focus, goals, and initiatives | |
- Migrate "monthly focus" tasks/actionable to new month (don't do weekly stuff yet) | |
- Journal and evaluate progress & changes | |
- Last month's focus questions - Thoughts | |
- the tag: my/focusQuestions |
View gist:ebcb574407183964195b26c9508e13a6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modules to control application life and create native browser window | |
const { app, BrowserWindow } = require('electron') | |
const path = require('path') | |
const url = require('url') | |
// const WebSocket = require('ws') | |
// const wss = new WebSocket.Server({ port: 2483 }); | |
var net = require('net'); | |
var client = new net.Socket(); |
View gist:cc9f60ff56df5278dbdf4adf486c579b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: 'Long Form Post' | |
sections: | |
main: | |
display: Main | |
fields: | |
- | |
handle: title | |
field: | |
type: text | |
localizable: true |
View gist:0af2647c5c59a8b27ab11567b316bca4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... of all time. | |
Nuf said |
View docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
ports: | |
- "80:80" | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro |
View main.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This file is to contain custom modifications to the $config array returned by | |
// protected/config/main.php via protected/config/web.php to construct the web | |
// application. | |
// this file is custom/protected/config/web.php | |
// this is for php composer integration | |
require_once dirname(__FILE__)."/../../../vendor/autoload.php"; | |
// Use this to automagically load our .env file into the env for development environments |
View console.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// this file is in: | |
// custom/protected/config/console.php | |
// This file is to contain custom modifications to the $config array returned by | |
// protected/config/main.php via protected/config/console.php to construct the | |
// console application. | |
//Just use the web file... no need to have a different config for console at this point. | |
require('web.php'); | |
unset($config['controllerMap']); // Fix weird error when running console commands. Some where proConfig.php is getting included. |
View gist:38a958aa970024036635
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
# see: http://wiki.nginx.org/Pitfalls | |
# see: http://wiki.nginx.org/IfIsEvil | |
listen 80; | |
root /app; | |
index index.html index.htm index.php; | |
error_page 404 /index.php; | |
# Make site accessible from http://set-ip-address.xip.io |
View gist:905c812c0f65e7ffb5ec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
# see: http://wiki.nginx.org/Pitfalls | |
# see: http://wiki.nginx.org/IfIsEvil | |
listen 80; | |
root /app; | |
index index.html index.htm index.php; | |
error_page 404 /index.php; | |
# Make site accessible from http://set-ip-address.xip.io |
View gist:e392d763df4b21c04fd3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DOCKERFILE="/home/ubuntu/dockerfiletest/Dockerfile" | |
ENVFILE='/home/dokku/oca/ENV' | |
env_list='ENV' | |
# itterate through ENV file to make a single line for use in Dockerfile | |
while read line; do | |
# Remove the 'export ' at the beginning of each line |
NewerOlder