I hereby claim:
- I am rawkode on github.
- I am rawkode (https://keybase.io/rawkode) on keybase.
- I have a public key ASCGIt8NXg48Ltrl9XeI10IOJXOAaw_5ztLBfbepPYw0vwo
To claim this, I am signing this object:
#!/usr/bin/env bash# | |
## | |
# Clean up old preview environments each night at 10pm | |
## | |
docker rm -f $(docker ps -aq) | |
docker network rm $(docker network ls -q) | |
docker volume rm $(docker volume ls -q) |
Mission Statment | |
Scotland PHP is aiming to be the first “inclusive first” conference. There are no special events. nor speaker dinner. This conference is for the 90% - not the 10%. We promise to make everyone feel welcome; everyone will be involved, and everyone is encouraged to join the conversation. | |
Our CfP is for anyone; tell us what you’re passionate about and we’ll listen. Our CfP will also be driven by our community; so tell us what you want to hear. | |
Beyond the preparation, we aim to give everyone a very personal and awesome experience; so get involved and let us know what you want. | |
We hope to provide the most unique and engaging conference experience you’ve received to-date; if we can do any better - just let us know. |
defmodule Domain.User do | |
def email_updated(%Event{ type: "UserUpdatedEmail", version: 1 } = event) | |
# do something with event | |
end | |
def email_updated(%Event{ type: "UserUpdatedEmail", version: 2 } = event) | |
# do something with event | |
end | |
end |
I hereby claim:
To claim this, I am signing this object:
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:80883f4dd6c4885631af70f4ff11ce4277725496] |
I have a standard ReactJS project. Using webpack, my build
outputs a dist/
like the following:
- js/
- css/
- assets/
- images/
- fonts/
- index.html
<?php | |
try { | |
// code ... | |
} catch(SomeException $eex) { | |
// Fatal exception, no retry | |
$logger->debug("blah"); | |
break; | |
} catch(AnotherException $aex) { | |
// log exception and retry |
# Node Tasks | |
FROM node:latest as node | |
COPY . /code | |
WORKDIR /code | |
RUN npm install | |
# PHP Tasks |
defmodule UserService.Http.Endpoints.Login do | |
@moduledoc """ | |
<Purged for Gist> | |
""" | |
use Plug.Builder | |
use Eidetic.CommandBus, command: UserService.User.Commands.Login | |
alias UserService.User | |
def index(connection) do |
FROM gcc AS builder | |
COPY main.c /code/main.c | |
WORKDIR /code | |
RUN gcc -static main.c -o main | |
FROM scratch | |
COPY --from=builder /code/main /main |