Skip to content

Instantly share code, notes, and snippets.

View Query optimisation.py
class TokenCollection(models.Model):
user = models.ForeignKey(User)
title = models.CharField(max_length=128, default='')
dt_created = models.DateTimeField(auto_now_add=True)
dt_updated = models.DateTimeField(auto_now_add=True)
dt_recent_visit = models.DateTimeField(auto_now_add=True)
default = models.BooleanField(default=False)
abbreviation = models.CharField(max_length=128, default='')
icon = models.CharField(max_length=128, default='')
score = models.IntegerField(default=0)
View fda_failed_cases.txt
"PREDNISOLONE" fda:36bd252174b3da52a12184b53fd1c87e "PREDNISOLONE SODIUM PHOSPHATE + SULFACETAMIDE SODIUM" fda:ca435eba9a2276a58e144530a066012c
"TESTOSTERONE" fda:5c1ff12ff581abd52d30b517cc184bf5 "TESTOSTERONE UNDECANOATE" fda:7dd5ed0875504a41afcb0661bf3a4087
"CYSTEAMINE BITARTRATE" fda:0ea30e43f8b48875bc9b729e127c669a "CYSTEAMINE HYDROCHLORIDE" fda:084a0b8ab7a3c22e5aecbadc55f6faf7
"FLUOXETINE HYDROCHLORIDE" fda:60235810abc163cf4c34898bafe49c64 "FLUOXETINE HYDROCHLORIDE + OLANZAPINE" fda:729de0c6ccb29b15ff667899372d23a4
"CEPHALEXIN" fda:8f786316446d1aee91f16f048dc27536 "CEPHAPIRIN SODIUM" fda:89662d3faf549c71128e542773694806 "CEPHALEXIN HYDROCHLORIDE" fda:328b8e7a16b78149bc791b75a35db9b4
"PROMAZINE HYDROCHLORIDE" fda:59ffddb4ca06aa2a581f8085ad7c4a36 "PROMETHAZINE HYDROCHLORIDE" fda:e739004383b11fdae81e6e9f3c61b806
"OMEPRAZOLE" fda:7dbfd6ca12b5b9f1eb7dfebe151e9f5c "OMEPRAZOLE + SODIUM BICARBONATE" fda:f98d34c9042e6fa34a499ba
View tron_cell_lines_sample_record.json
{
"neoepitopes": {
"neoepitope:GPR3#p.T52N": {
"rows": [
{
"rank_mut": 3,
"wt_epitope": "TLVSCENALV",
"ic50_wt": 91.5547,
"rank_wt": 2,
"mut_epitope": "NLVSCENALV",
View Ensembl_ids_missed_mapping.txt
ENSG00000005955
ENSG00000006074
ENSG00000006075
ENSG00000006114
ENSG00000017373
ENSG00000017621
ENSG00000031544
ENSG00000034063
ENSG00000049319
ENSG00000056661
View tballaince_directory_structure.txt
www.tballiance.org
├── about
│   ├── advisory-boards
│   │   ├── access.html
│   │   ├── pediatric.html
│   │   ├── scientific.html
│   │   └── stakeholders.html
│   ├── board-directors.html
│   ├── careers
│   │   ├── manager-communications-0.html
View rssdb_shard_runtime.error.go
INFO[12-10|14:15:05] 2015/12/10 14:15:05 http: panic serving 127.0.0.1:61016: runtime error: slice bounds out of range
goroutine 3955 [running]:
net/http.func·011()
/root/.gvm/gos/go1.4/src/net/http/server.go:1130 +0xbb
main.(*RSSDB).UpdateCrawledFeed(0xc208032820, 0xc421aea600, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4/global/src/github.com/prashanthellina/rsslurp/go/rssdb_shard/rssdb_shard.go:868 +0xd11
main.(*RSSDB).HandleUpdateCrawledFeeds(0xc208032820, 0x7ff8f9e33140, 0xc4295781e0, 0xc2dbc855f0)
/root/.gvm/pkgsets/go1.4/global/src/github.com/prashanthellina/rsslurp/go/rssdb_shard/rssdb_shard.go:988 +0x315
main.*RSSDB.HandleUpdateCrawledFeeds·fm(0x7ff8f9e33140, 0xc4295781e0, 0xc2dbc855f0)
/root/.gvm/pkgsets/go1.4/global/src/github.com/prashanthellina/rsslurp/go/rssdb_shard/rssdb_shard.go:1904 +0x45
View CanonicalizeURL_panic_error1.go
panic: runtime error: index out of range
fatal error: panic on system stack
runtime stack:
runtime.throw(0x7fbdfb157ab0, 0x15)
/root/.gvm/gos/go1.5/src/runtime/panic.go:527 +0x92
runtime.gopanic(0x7fbdfb010e80, 0xc82000e0b0)
/root/.gvm/gos/go1.5/src/runtime/panic.go:354 +0xba
runtime.panicindex()
/root/.gvm/gos/go1.5/src/runtime/panic.go:12 +0x4b
View CanonicalizeURL_panic_error.go
root@backup ~/venu/data/changed_feeds # panic: runtime error: index out of range
fatal error: panic on system stack
runtime stack:
runtime.throw(0x7fca50d1bab0, 0x15)
/root/.gvm/gos/go1.5/src/runtime/panic.go:527 +0x92
runtime.gopanic(0x7fca50bd4e80, 0xc82000e0b0)
/root/.gvm/gos/go1.5/src/runtime/panic.go:354 +0xba
runtime.panicindex()
/root/.gvm/gos/go1.5/src/runtime/panic.go:12 +0x4b
View msgpack_err_traceback.go
unexpected fault address unexpected fault address unexpected fault address unexpected fault address unexpected fault address 0x7fbb181fdc010x7fbb181fd96b0x7fbb181fd3ad0x7fbb181fdf0f0x7fbb181fd14e
unexpected fault address 0x7fbb181fd625
fatal error: fault
[signal 0xb code=0x1 addr=0x7fbb181fd14e pc=0x4cc437]
goroutine 436147 [running]:
runtime.gothrow(0xa57830, 0x5)
/root/.gvm/gos/go1.4/src/runtime/panic.go:503 +0x8e fp=0xc2d64f5bd0 sp=0xc2d64f5bb8
View twitter_streaming_record.json
{
"place": null,
"in_reply_to_status_id_str": null,
"filter_level": "low",
"created_at": "Wed Nov 04 07:40:42 +0000 2015",
"lang": "en",
"possibly_sensitive": false,
"in_reply_to_user_id_str": null,
"geo": null,
"user": {