Skip to content

Instantly share code, notes, and snippets.

http://django-csv-importer.readthedocs.org/en/latest/#
Filtering for empty or NULL names in a queryset
http://stackoverflow.com/questions/844556/filtering-for-empty-or-null-names-in-a-queryset
Serializing Django
http://www.django-rest-framework.org/api-guide/serializers
http://stackoverflow.com/questions/9813377/beginner-django-serializers-serialize
http://stackoverflow.com/questions/6601174/converting-a-django-valuesqueryset-to-a-json-object/6601250#6601250
id value
0 0 10.2
1 1 5.7
2 2 7.4
See the docs for to_dict. You can use it like this:
df.set_index('id').to_dict()
And if you have only one column, to avoid the column name is also a level in the dict (actually, in this case you use the Series.to_dict()):
http://www.rad.washington.edu/academics/academic-sections/msk/teaching-materials/radiology-anatomy-teaching-modules
http://www.learningradiology.com/toc/tocsubsection/toclectures.htm
http://bidmc.org/Medical-Education/Departments/Radiology/MedicalStudents/Liebermans-Interactive-Tutorials-in-Radiology.aspx
http://www.radiologyeducation.com/
http://eradiology.bidmc.harvard.edu/interactivetutorials/
http://stackoverflow.com/questions/10460691/django-mptt-full-path-to-child-pages-how-to-make
http://stackoverflow.com/questions/17876888/how-to-display-tree-structure-with-hyperlinks-in-django-views
http://stackoverflow.com/questions/10460691/django-mptt-full-path-to-child-pages-how-to-make
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
from faqs.models import Category
http://paperduino.eu/doku.php?id=burning_bootloader
https://www.twilio.com/blog/2014/03/build-your-own-lockitron-with-twilio-arduino-and-node-js.html
http://node-ardx.org/exercises/3
http://semu.github.io/noduino/
---
Open the file ~/.arduino/preferences.txt file(linux). There you will find a string serial.debug_rate. Check its value. Typically its value is 9600(it denotes the baud rate of the serial communication). So if this value is something else, that might be causing the problem.
{% if form %}
<table class="table table-hover">
<tr>
<td><b>Patient ID</b></td>
<td><b>Variables</b></td>
</tr>
{% for f in form %}
<tr>
<td>{{ f.p_id }}</td>
ui.includeJavascript("soddoregistration", "jquery.barcode.0.3.js")
ui.includeJavascript("soddoregistration", "jquery-ean13.min.js")
<%
ui.decorateWith("referenceapplication","standardEmrPage")
ui.includeJavascript("soddoregistration", "angular.js")
ui.includeJavascript("soddoregistration", "angular-resource.min.js")
ui.includeJavascript("soddoregistration", "ui-bootstrap-tpls-0.11.0.min.js")
ui.includeJavascript("soddoregistration", "ui-utils.min.js")
ui.includeCss("soddoregistration","style.css")
ui.includeCss("soddoregistration","bootstrap.min.css")
ui.includeCss("soddoregistration","bootstrap-theme.min.css")
ui.includeCss("soddoregistration","jquery-ui.css")