Skip to content

Instantly share code, notes, and snippets.

@vfilimonov
vfilimonov / Makefile
Last active October 12, 2022 06:03
Makefile for keeping Chalice state in S3 bucket
.PHONY: help deploy delete deploy-prod delete-prod sync-state-up sync-state-down
# taken from: https://gist.github.com/prwhite/8168133
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
#==============================================================================
deploy: ## Deploy dev
@vfilimonov
vfilimonov / gist:59d0a6f274aa4ea956be
Created March 15, 2015 22:24
Line_profile of bt.core
Timer unit: 1e-06 s
Total time: 42.1393 s
Function: run at line 138
Line # Hits Time Per Hit % Time Line Contents
==============================================================
138 @profile
139 def run(self):
140 """
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
68.71186284260222
63.569137887566534
58.85246632249177
47.98714542324978
46.631560704857584
46.22155168264976
46.18832340164108
44.83390537533694
41.50018359308221
41.14085591601093