Supabase - ~52K stars
- Designed explicitly as an open source firebase alternative
- Typescript based
- Docker support
Appwrite - ~32K stars
- Written in JavaScript and PHP
- Docker based
- Realtime support across all services
""" | |
A redis autocomplete example for multi-word phrases. | |
Based on: | |
Ruby original: http://gist.github.com/574044 | |
Python original: https://gist.github.com/577852 | |
See options below for usage | |
Requires http://github.com/andymccurdy/redis-py/ |
Install Dokku | |
# must have dokku as username | |
git remote add dokku dokku@example.com:flask-example | |
# Edit Procfile | |
... | |
# Push |
Remove culprit server | |
ssh-keygen -R remote-server-name-here |
# To release pypi package | |
alias pypi-publish='python setup.py register -r pypi && python -m twine upload dist/*' |
<div> | |
<div class="row"> | |
<div class="column" id="starWarsWidget"> | |
<div class="center"> | |
<span r-if="(this.loadingStatus === 'pending')"> | |
<div class="spinner">Loading...</div> | |
</span> | |
<h4 r-else>Welcome to Star Wars</h4> | |
</div> | |
<div> |
<div> | |
<div class="column" id="todoAppWidget" style="display:none"> | |
<div class="center"> | |
<div>Enter your item</div> | |
<input type="text" id="todo-input" /> | |
<button @click="add">Save</button> | |
</div> | |
<div> | |
<ul> | |
<li r-for="item,i in this.todos"> |
<div> | |
<div class="column center" id="counterWidget"> | |
<div><h4>${this.count}</h4></div> | |
<div> | |
<button @click="down" class="button-outline">DOWN</button> | |
<button @click="up" class="button-outline">UP</button> | |
</div> | |
</div> | |
</div> |
## Create virtualenv | |
> mkvirtualenv $name | |
> workon $name | |
## Develop | |
To install | |
> python setup.py develop |
/** | |
* Produces a function which uses template strings to do simple interpolation from objects. | |
* | |
* Usage: | |
* var makeMeKing = generateTemplateString('${name} is now the king of ${country}!'); | |
* | |
* console.log(makeMeKing({ name: 'Bryan', country: 'Scotland'})); | |
* // Logs 'Bryan is now the king of Scotland!' | |
*/ | |
var generateTemplateString = (function(){ |