Skip to content

Instantly share code, notes, and snippets.

View meatballs's full-sized avatar

Owen Campbell meatballs

View GitHub Profile
@meatballs
meatballs / anvil_workflow.rst
Last active November 6, 2023 08:26
Anvil Workflow

Anvil Git Workflow

Introduction

This is the workflow I use for anvil apps where I want multiple copies of the app for development and testing purposes or where I want to collaborate with somebody else on its development.

For the purposes of this guide, I'll assume there is an existing app at anvil called 'my-app.' That's already live and it will become the 'production' copy.

Any other copies of the app are for development purposes. They can be created and destroyed as necessary. Their history is not important and can be overwritten.

default 12:18:37.206904 +0100 python3 MessageTracer: load_domain_whitelist_search_tree:73: Search tree file's format version number (0) is not supported
default 12:18:37.256235 +0100 python3 Connection to sharingd became invalid
default 12:18:37.374666 +0100 python3 0x1134d1000 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x1134b0000, main = 1)
default 12:18:37.374805 +0100 python3 Memory usage info dump at MainFrameLoadCompleted:
default 12:18:37.374858 +0100 python3 javascript_gc_heap_extra_memory_size: 0
default 12:18:37.374906 +0100 python3 document_count: 1
default 12:18:37.374983 +0100 python3 virtual_size: 5669347328
default 12:18:37.375029 +0100 python3 javascript_gc_heap_capacity: 65536
default 12:18:37.375069 +0100 python3 phys_footprint: 82345984
default 12:18:37.375145 +0100 python3 pagecache_page_count: 0
default 09:22:41.072340 +0100 python3 MessageTracer: load_domain_whitelist_search_tree:73: Search tree file's format version number (0) is not supported
default 09:22:41.117032 +0100 python3 Connection to sharingd became invalid
default 09:22:41.212301 +0100 python3 0x112ad1000 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x112ab0000, main = 1)
default 09:22:41.212399 +0100 python3 Memory usage info dump at MainFrameLoadCompleted:
default 09:22:41.212431 +0100 python3 javascript_gc_heap_extra_memory_size: 0
default 09:22:41.212461 +0100 python3 document_count: 1
default 09:22:41.212489 +0100 python3 virtual_size: 5668683776
default 09:22:41.212516 +0100 python3 javascript_gc_heap_capacity: 65536
default 09:22:41.212542 +0100 python3 phys_footprint: 80883712
default 09:22:41.212567 +0100 python3 pagecache_page_count: 0

Keybase proof

I hereby claim:

  • I am meatballs on github.
  • I am owenc (https://keybase.io/owenc) on keybase.
  • I have a public key ASB1cQJiaOPwIZwktEWuEwqqAFtkxW_jus4LiuDrSQYOaQo

To claim this, I am signing this object:

@meatballs
meatballs / PivotTable
Last active August 29, 2015 14:12
PivotTable with AngularJS Directive and CoffeeScript
How to use pivottable with an AngularJS directive in coffeescript
@meatballs
meatballs / gist:5046771
Last active April 14, 2017 21:07
Empiria Ltd's Git Workflow

Git Workflow used by Empiria Ltd

This is the workflow we use on projects for our customers. We know it won't suit everyone as it depends upon our particular circumstances, but if it's useful to anyone else, please drop us a comment.

Context

  • We are a small company and our projects tend to have small teams of trusted developers.
  • Our customers rarely have experience of development work and are unfamiliar with tools like git or issue trackers.
  • We want to provide our customers with access to code that we have written for them and a system for them to record issues that they find.
  • We do not want to expose our 'work in progress' to our customers either during the course of development or even when the work is complete.