- Create
.travis.yml
file in the base dir - Enter the following content:
language: elixir
elixir:
- 1.2
``` | |
CREATE ROLE postgres WITH LOGIN PASSWORD ''; | |
ALTER ROLE postgres SUPERUSER; | |
ALTER ROLE postgres CREATEDB; | |
ALTER ROLE postgres CREATEROLE; | |
``` | |
Reference: | |
https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb |
I've decided to dive into golang. I usually learn best when I try to build something so I've decided to re-write a Telegram bot I created a few years ago called the WhosInBot. It gets used by quite a few groups here in Singapore ano who know where else. I've had a few issues with the server it's running on recently so the idea of converting it to an AWS Lambda function (which recently released support for golang!) was appealing.
I've had some experience using the serverless framework in the past and found it pretty nice so I thought I'd start there.
Links:
{ | |
"bridge": { | |
"name": "Homebridge", | |
"username": "", | |
"port": 51826, | |
"pin": "" | |
}, | |
"description": "My test homebridge config", |
# Redis Notes | |
*Config Path:* `/etc/redis/redis.conf` | |
Configure Slave: | |
``` | |
redis-cli -h <host or IP> SLAVEOF <master ip> 6379 | |
``` |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: "3" | |
creationTimestamp: "2019-09-09T08:15:43Z" | |
generation: 3 | |
labels: | |
app.kubernetes.io/instance: faktory | |
app.kubernetes.io/managed-by: Tiller |
// | |
// AnimatedBackground.swift | |
// Playground | |
// | |
// Created by Colin Harris on 23/5/24. | |
// | |
import SwiftUI | |
struct AnimatedBackground: View { |