Skip to content

Instantly share code, notes, and snippets.

@martonlanga
martonlanga / translation_table.py
Last active April 8, 2020 10:30
Translation table (RNA to Amino Acids)
table = {
"UUU": "F",
"UUC": "F",
"UUA": "L",
"UUG": "L",
"UCU": "S",
"UCC": "s",
"UCA": "S",
"UCG": "S",
"UAU": "Y",
# Failed applyMigration at 2019-12-20T20:09:34.862Z
## RPC One-Liner
```json
{"id":7,"jsonrpc":"2.0","method":"applyMigration","params":{"projectInfo":"","force":true,"migrationId":"watch-20191220210856","steps":[{"stepType":"CreateModel","model":"Statistics"},{"stepType":"CreateField","model":"Statistics","field":"id","type":"String","arity":"required"},{"stepType":"CreateDirective","model":"Statistics","field":"id","directive":"default"},{"stepType":"CreateDirectiveArgument","model":"Statistics","field":"id","directive":"default","argument":"","value":"cuid()"},{"stepType":"CreateDirective","model":"Statistics","field":"id","directive":"id"},{"stepType":"CreateField","model":"Statistics","field":"streak","type":"Int","arity":"required"},{"stepType":"CreateDirective","model":"Statistics","field":"streak","directive":"default"},{"stepType":"CreateDirectiveArgument","model":"Statistics","field":"streak","directive":"default","argument":"","value":"0"},{"stepType":"DeleteModel","model":"Statistic"},{"stepType":
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@martonlanga
martonlanga / clear.svg
Created July 10, 2018 11:13
todos svg's
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.