Skip to content

Instantly share code, notes, and snippets.

Avatar
🐨
Koalaing it up.

Josh Fabean fabean

🐨
Koalaing it up.
View GitHub Profile
@fabean
fabean / sway.log
Created May 5, 2020
sway log with default config
View sway.log
2020-05-04 20:59:25 - [sway/main.c:152] Linux Golem 5.6.10-arch1-1 #1 SMP PREEMPT Sat, 02 May 2020 19:11:54 +0000 x86_64 GNU/Linux
2020-05-04 20:59:25 - [sway/main.c:168] Contents of /etc/lsb-release:
2020-05-04 20:59:25 - [sway/main.c:152] LSB_VERSION=1.4
2020-05-04 20:59:25 - [sway/main.c:152] DISTRIB_ID=Arch
2020-05-04 20:59:25 - [sway/main.c:152] DISTRIB_RELEASE=rolling
2020-05-04 20:59:25 - [sway/main.c:152] DISTRIB_DESCRIPTION="Arch Linux"
2020-05-04 20:59:25 - [sway/main.c:168] Contents of /etc/os-release:
2020-05-04 20:59:25 - [sway/main.c:152] NAME="Arch Linux"
2020-05-04 20:59:25 - [sway/main.c:152] PRETTY_NAME="Arch Linux"
2020-05-04 20:59:25 - [sway/main.c:152] ID=arch
@fabean
fabean / db-sync.sh
Created Dec 5, 2019
Database Sync Script
View db-sync.sh
#!/bin/bash
echo "What do you want to do? (import/export)"
read dbtype
echo "What environment do you want? (dev/stage/prod)"
read environment
echo "What is the database name?"
read databasename
@fabean
fabean / final-dockerfile
Last active Nov 2, 2019
Creating A Custom Docker Container For Your Drupal Website
View final-dockerfile
FROM drupal:8.7
RUN apt-get update && apt-get install -y libxml2-dev imagemagick mysql-client --no-install-recommends
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
RUN { \
echo 'memory_limit = 196M'; \
echo 'display_errors = Off'; \
echo 'post_max_size = 64M'; \
@fabean
fabean / docker-compose-base-setup.yaml
Last active Oct 23, 2019
Docker-compose for tutorial blog post
View docker-compose-base-setup.yaml
version: '2'
services:
nginx-proxy:
container_name: nginx-proxy
image: jwilder/nginx-proxy:alpine
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
View gist:9632595fb07dfcfe05985aeece12da18
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC2WaY4X7UOTJmmkExyjEndxqWJCsvKJnxHYa6UOUqTZSLVPIkqSUTwmTNEToK+V2Xqrzc9qXQiKBXZ4M5rFgEZ8JJ0VibY2Rt+Ecifks7N4bM/ca5U5D36Q6J4u+NxVJSeJcurE4XOROKxkEDGQyvHOO6nzjifDUvE1dy1ur7G+55tcXchC/JeflilIUNn6iifYyNvUD6EGEZUTCWQyLZfZIck3hx3eVOpk+AlZZP8tWJMDTQAOeADnwrRtutLtJeLCNXs5xoHa7Y9lJzCi5sVZ4OATqcZ6bU25x0pEIU9PdlRW7AbFaqwiTYFQRYBDJdvQJWHyzAb46D37i9Aff+pdX9GmXAfuT0hbMSF+09gE4Oym4FKOQkbnDECs9Rc8FjJ6byEje6h9BJdAF4y9TgH1D4MIoS3Qlgu3qkyhcsmGoLuHCpDL7lcVLJKa4tXYdpv0/SZMasxYEgiGm3otMlvN5AE+8uzOiWdZ87WdipdGDoZS8ohmrz/XmRlYipAZvC///1p1oBaSMc1HDvs4cTK70SlVchgZuaZ0rbyZbWOYbEKmZdSdF64wt6GbyhqGQ0tMDChBaqt86So7MhFES1W97igeagwkkrtgIgMssImcTLo+PIiGj8KIuVAvpoC+Kmr+DrRGlMwqoXAupw7f61JD/0ZaaoRm/1bUvL2d5Lufw== joshfabean@gmail.com
View gist:0582c460572076ff79f5509fa7cf4b6b
### Keybase proof
I hereby claim:
* I am fabean on github.
* I am fabean (https://keybase.io/fabean) on keybase.
* I have a public key ASAhN00SX-PlCyTD7sAWuaPOPhsenIngXsyj-Ed6h7kOFwo
To claim this, I am signing this object:
View keybase.md

Keybase proof

I hereby claim:

  • I am fabean on github.
  • I am fabean (https://keybase.io/fabean) on keybase.
  • I have a public key ASBU9blsSlFmlV4GYAjbXV-U0d-IfPZm-Jqu7b96dIiQSgo

To claim this, I am signing this object:

You can’t perform that action at this time.