Skip to content

Instantly share code, notes, and snippets.

View robguthrie's full-sized avatar

Robert Guthrie robguthrie

View GitHub Profile
ubuntu@ip-172-26-5-233:~/loomio-deploy/plugins/tapin_loomio_translation$ l
config/ plugin.rb
ubuntu@ip-172-26-5-233:~/loomio-deploy/plugins/tapin_loomio_translation$ ls
config plugin.rb
ubuntu@ip-172-26-5-233:~/loomio-deploy/plugins/tapin_loomio_translation$ ls -la
total 20
drwxrwxr-x 4 ubuntu ubuntu 4096 Feb 13 2018 .
drwxrwxr-x 4 ubuntu ubuntu 4096 Feb 13 2018 ..
drwxrwxr-x 3 ubuntu ubuntu 4096 Feb 13 2018 config
drwxrwxr-x 8 ubuntu ubuntu 4096 Feb 13 2018 .git
version: '2'
services:
letsencrypt:
container_name: letsencrypt
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./certificates:/etc/nginx/certs:rw
volumes_from:
- nginx
@robguthrie
robguthrie / keybase.md
Created February 10, 2017 06:01
keybase.md

Keybase proof

I hereby claim:

  • I am robguthrie on github.
  • I am robguthrie (https://keybase.io/robguthrie) on keybase.
  • I have a public key ASCuZlWl-d_K5SOFrn1vkvOF21o4ynowqYpUdScJs5KWbAo

To claim this, I am signing this object:

@robguthrie
robguthrie / rename_component
Last active August 29, 2015 14:22
If you ever want to rename a component in the Loomio codebase
#!/usr/bin/ruby
def dash_case(name)
name.split('_').join('-')
end
def camel_case(name)
name.split('_').map(&:capitalize).join
end
@robguthrie
robguthrie / exisitng_ia.txt
Created April 13, 2012 02:14
Existing Enspiral Backend IA as I understand
Current IA as I can see
Admin
Accounts
add_person
indexes people
shows admin/people (which is broken.. shows current_person)
Transactions
index is one big list.. links to account