This file contains hidden or 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
| package com.topriddy.devslack; | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.util.List; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.Stream; |
This file contains hidden or 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
| apply plugin: 'org.ajoberstar.grgit' | |
| task doVersioning() { | |
| if (version == '') { | |
| def timestamp = new Date().format("yyyyMMddHHmmss") | |
| def githash = "${grgit.head().abbreviatedId}" | |
| def currentBranchName = branch ?: grgit.branch.current().name | |
| def shortBranchName = ["feature", "experiment", "spike", "bugfix", "hotfix"].find { | |
| currentBranchName.startsWith(it) | |
| } |
This file contains hidden or 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
| Breakfast | |
| - Fruit x Fibre (Cereal) | |
| - Oats (preferable) | |
| - 2 Tesco rolls (small bread) x 3 scrambled eggs (alternate with white eggs - yolk out) | |
| * Breakfast/Lunch is about getting most of your calories early in the day to ensure you're less hungry in the evenings! | |
| * To lose weight you have to be on calories deficit | |
| * Lower carbs will help you burn body fats (need to reconfirm this but this is the thinking behind my meals) |
This file contains hidden or 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
| provider "aws" { | |
| region = "us-east-1" | |
| } | |
| #1. Create vpc | |
| resource "aws_vpc" "prod-vpc" { | |
| cidr_block = "10.0.0.0/16" | |
| tags = { | |
| Name = "production" |
OlderNewer