Returns the tracking page url for an account + order/return
https://api.gomalomo.com/public/tracking_pages/url
{%- style -%} | |
{% assign header_font = section.settings.header_font %} | |
{{ header_font | font_face }} | |
{% assign header_font_bold = header_font | font_modify: 'weight', 'bolder' %} | |
{% assign header_font_italic = header_font | font_modify: 'style', 'italic' %} | |
{% assign header_font_bold_and_italic = header_font_bold | font_modify: 'style', 'italic' %} | |
{{ header_font_bold | font_face }} |
relative_to_absolute = fn relative_path, importing_file -> | |
Path.expand(relative_path, Path.dirname(importing_file)) | |
|> String.split("src/") | |
|> List.last() | |
end | |
Path.wildcard('src/**/*.{ts,tsx}') | |
|> Enum.each(fn file -> | |
IO.puts("Migrating #{file}...") | |
contents = File.read!(file) |
/home/dorian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2/otp_src_24.2/configure --cache-file=/dev/null CC=clang CPPFLAGS=-I/usr/local/opt/qt/include\ -I/usr/local/opt/openssl\@1\.1/include LDFLAGS=-L/usr/local/opt/qt/lib\ -L/usr/local/opt/openssl\@1\.1/lib --with-ssl=/usr/include/openssl | |
=== Running configure in /home/dorian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2/otp_src_24.2/erts === | |
./configure 'CC=clang' 'CPPFLAGS=-I/usr/local/opt/qt/include -I/usr/local/opt/[email protected]/include' '--with-ssl=/usr/include/openssl' LDFLAGS='-L/usr/local/opt/qt/lib -L/usr/local/opt/[email protected]/lib' --disable-option-checking --cache-file=/dev/null --srcdir="/home/dorian/.asdf/plugins/erlang/kerl-home/builds/asdf_24.2/otp_src_24.2/erts" | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking for gcc... clang | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether |
defmodule KingOfTokyoWeb.ChatComponent do | |
@moduledoc """ | |
Displays the chat history and allows sending new messages | |
""" | |
use KingOfTokyoWeb, :live_component | |
@impl true | |
def handle_event("send-message", %{"body" => body}, socket) do | |
send(self(), {:send_message, body}) |
name: Elixir CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
MIX_ENV: test |
Managing infrastructure can be frustratingly hard. Combing through byzantine interfaces with poor documentation and hidden features, clicking through hundreds of menus - these experiences are all too familiar to DevOps engineers using AWS. A DevOps engineer's worst fear is that the business will ask for a new instance of the application for a client, and they will have to repeat all those manual steps again. (Hopefully in the correct order, and not forgetting anything along the way!)
At Hashrocket we are big fans of automation, and part of that means we use the
import * as Pulumi from '@pulumi/pulumi'; | |
import * as DigitalOcean from '@pulumi/digitalocean'; | |
import * as fs from 'fs'; | |
const projectName = Pulumi.getProject(); | |
const config = new Pulumi.Config(); | |
const sshPubKeyFilename = config.require('sshPubKeyFilename'); | |
const publicKey = fs.readFileSync(sshPubKeyFilename).toString(); |
on run argv | |
set zoom to "zoom.us" | |
set wait to 0.5 | |
log "activating zoom" | |
tell application zoom to activate | |
# Wait for Zoom's create meeting window to open | |
tell application "System Events" | |
repeat until visible of process zoom is true |