Lets assume we're gonna cook for 3 people.
- 500 to 600 grams of chicken which is mediumly cut
- India gate basmati rice
- 250 ml of Curd(Should be thick so go for milky mist cup or some other brand)
- Garam masala
- Biriyani masala
- Red chilli powder
// src: https://www.javatpoint.com/template-pattern | |
public interface Base { | |
boolean supports(EventModel event); | |
void apply(EventModel event); | |
} | |
// All different types of classes can implement this Base. |
defmodule Tap do | |
defmacro tap(tapped_value, do: yield) do | |
quote do | |
var!(t) = unquote(tapped_value) | |
unquote(yield) | |
var!(t) | |
end | |
end | |
defmacro tap(tapped_value, :return, do: yield) do |
defmodule DefaultModule do | |
@callback hello(any()) :: any() | |
defmacro __using__(_opts) do | |
quote do | |
@behaviour DefaultModule | |
def hello(:a) do | |
:a | |
end |
# Copy of https://gist.github.com/antonio/4586456 | |
# With a modification to collect all the branch names so we can make one git request | |
# Set DRY_RUN=1 to get an echo of the command | |
# Format that works with `git log --since`, e.g. 2018-01-01 | |
date=$1 | |
branches= | |
for branch in $(git branch -r | sed 's/^\s*//' | sed 's/^remotes\///' | grep -v 'master$'); do |
active | |
admin | |
array | |
attribute | |
buckets | |
clone | |
component | |
cume_dist | |
definition | |
dense_rank |
accessible | |
action | |
add | |
after | |
against | |
aggregate | |
algorithm | |
all | |
alter | |
analyse |
account | |
always | |
channel | |
compression | |
encryption | |
file_block_size | |
filter | |
follows | |
generated (r) | |
group_replication |
mkdir /tmp/ssm | |
cd /tmp/ssm | |
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb | |
sudo dpkg -i amazon-ssm-agent.deb | |
sudo start amazon-ssm-agent | |
sudo status amazon-ssm-agent |