Skip to content

Instantly share code, notes, and snippets.

View Pepeye's full-sized avatar

Pepeye

View GitHub Profile
@Pepeye
Pepeye / fish_install.md
Created August 15, 2021 12:16 — forked from gagarine/fish_install.md
Install fish shell on macOS Mojave with brew

Installing Fish shell on MacOS

Fish is a smart and user-friendly command line (like bash or zsh). This is how you can nstall it on MacOS and make your defaul shell.

Note that you need the https://brew.sh/ package manager.

You can also download the fish app from their website. I do recomand using brew because update are easier.

Install Fish

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@Pepeye
Pepeye / index.html
Created July 27, 2021 13:33
pompodoro
<div class="container">
<div id="timer-lengths">
<div id="break-length" class="l-half">
<h2>Break</h2>
<button class="decrease">-</button>
<span class="break-num">5</span>
<button class="increase">+</button>
</div>
<div id="session-length" class="r-half">
<h2>Session</h2>
@Pepeye
Pepeye / Docker.md
Created October 17, 2020 00:49 — forked from CaryBourgeois/Docker.md
How to set up FaunaDB clusters using the Public Docker image.

How to use the FaunaDB public Docker image.

This document will walk through creating a FaunaDB docker instance using the publicly available docker image. Three different types of deployments will be illustrated.

  • A single node FaunaDB - basic developer functionality.
  • A three node, single replica instance of FaunaDB - scale out operations.
  • A three node, three replicas instance of FaunaDB - distributed operations.

Finally, we will wrap up with some more general documentation around the various options available when using the public docker image.

Requirements

@Pepeye
Pepeye / audit-on-push.yml
Created September 6, 2020 19:39 — forked from LukeMathWalker/audit.yml
GitHub Actions - Rust setup
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@Pepeye
Pepeye / 1-setup.md
Created August 27, 2020 16:35 — forked from troyfontaine/1-setup.md
Signing your Git Commits using GPG on MacOS Sierra/High Sierra

Methods of Signing with GPG

There are now two ways to approach this:

  1. Using gpg and generating keys
  2. Using Kryptonite by krypt.co

This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or Krypt.co.

@Pepeye
Pepeye / settings.json
Created October 30, 2019 20:53
VS Code settings - typescript, prettier, formatOnSave
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},

Keybase proof

I hereby claim:

  • I am pepeye on github.
  • I am gooseism (https://keybase.io/gooseism) on keybase.
  • I have a public key ASDPdVxLtAh7e_huVEge62NB80qfa59tsV4XExLXdDyhAQo

To claim this, I am signing this object:

@Pepeye
Pepeye / Makefile
Created December 1, 2018 16:11 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@Pepeye
Pepeye / neo4j-docker-compose.yml
Created December 1, 2018 12:46
Neo4j docker compose
version: '3'
services:
neo4j:
image: neo4j:latest
network_mode: "bridge"
ports:
- "7474:7474"
- "7687:7687"
environment: