Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Jake Rayson growdigital

🏠
Working from home
View GitHub Profile
View gofig.sublime-snippet
<snippet>
<content><![CDATA[
{{< figure src="$1" alt="$2" caption="$3" >}}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>gofig</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
View conduct.md

Citizen Code of Conduct

1. Purpose

A primary goal of Nature Works is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).

This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.

We invite all those who participate in Nature Works to help us create safe and positive experiences for everyone.

View Default (OSX).sublime-keymap
[
{ "keys": ["super+shift+m"], "command": "toggle_minimap" },
{ "keys": ["super+b"], "command": "toggle_side_bar" },
{
"keys": ["option+z"],
"command": "toggle_setting",
"args": {
"setting": "word_wrap"
}
}
@growdigital
growdigital / packages+themes.md
Last active Dec 26, 2021
Sublime Text packages & theme
View packages+themes.md
  • EditorConfig
  • FileIcons
  • Package Control
  • Marked App Menu (Mac)
  • Theme: Default Dark
  • Color Scheme: Mariana
View Preferences.sublime-settings
{
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 2,
"caret_style": "phase",
"color_scheme": "Mariana.sublime-color-scheme",
"fade_fold_buttons": false,
"font_face": "Droid Sans Mono",
"font_size": 16,
View bash alias
# User shortcuts for easy maintenance
# nas-stop to gracefully shut down web apps
alias nas-stop='cd /share/CACHEDEV2_DATA/Apps/nginx-proxy && docker-compose stop && cd /share/CACHEDEV2_DATA/Apps/cloud.fieldcraftstudios.com/ && docker-compose stop && cd /share/CACHEDEV2_DATA/Apps/media.fieldcraftstudios.com/ && docker-compose stop && cd /share/CACHEDEV2_DATA/Apps/'
# nas-start to stop Qhttpd service from hogging port 80 & start web apps
alias nas-start='/etc/init.d/Qthttpd.sh stop && cd /share/CACHEDEV2_DATA/Apps/nginx-proxy && docker-compose start && cd /share/CACHEDEV2_DATA/Apps/cloud.fieldcraftstudios.com/ && docker-compose start && cd /share/CACHEDEV2_DATA/Apps/media.fieldcraftstudios.com/ && docker-compose start && cd /share/CACHEDEV2_DATA/Apps/'
# nginx-restart to, er, restart nginx container in case of config changes
alias nginx-restart='cd /share/CACHEDEV2_DATA/Apps/nginx-proxy && docker-compose restart && cd /share/CACHEDEV2_DATA/Apps/'
@growdigital
growdigital / nginx-cloud
Created Aug 29, 2019
nginx automatically generated config
View nginx-cloud
# cloud.fieldcraftstudios.com
upstream cloud.fieldcraftstudios.com {
## Can be connected with "nginx-proxy" network
# cloudfieldcraftstudioscom_owncloud_1
server 172.29.0.7:7117;
}
server {
server_name cloud.fieldcraftstudios.com;
listen 80 ;
access_log /var/log/nginx/access.log vhost;
View snippet-nginx-default.conf
access_log /var/log/nginx/access.log vhost;
include /etc/nginx/vhost.d/default;
location / {
proxy_pass http://cloud.fieldcraftstudios.com;
}
}
server {
server_name cloud.fieldcraftstudios.com;
listen 443 ssl http2 ;
access_log /var/log/nginx/access.log vhost;
View keybase.md

Keybase proof

I hereby claim:

  • I am growdigital on github.
  • I am growdigital (https://keybase.io/growdigital) on keybase.
  • I have a public key whose fingerprint is 597C 1549 74F2 F3A5 CB9E F3F5 9273 8B42 011D 197F

To claim this, I am signing this object:

View characters-in-a-circle-css.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Characters in a circle</title>
<style>
body {
font-family: sans-serif;