Skip to content

Instantly share code, notes, and snippets.

View paganotoni's full-sized avatar
💭
⚡️⚡️

Antonio Pagano paganotoni

💭
⚡️⚡️
View GitHub Profile
@paganotoni
paganotoni / usage.html
Created July 14, 2018 15:56
page indicator usage
<%= partial("partials/page-indicator.html", {plural: "Cats", basePath: catsPath({humanSlug: currentHuman.Slug})}) %>
q := tx.PaginateFromParams(c.Params())
c.Set("pagination", q.Paginator)
version: 2
jobs:
test:
docker:
- image: gobuffalo/buffalo:v0.12.3
working_directory: /go/src/github.com/our/app
steps:
- checkout
- run: |
@paganotoni
paganotoni / cloudrun.md
Last active August 23, 2019 23:09
Configuring GCloud for CloudRun

Installling gcloud CLI tool.

For mac with brew

brew cask install google-cloud-sdk

For the rest of cases

Go to this page https://cloud.google.com/sdk/install and follow instructions.

Installing the beta components

gcloud components install beta