Skip to content

Instantly share code, notes, and snippets.

View Teino1978-Corp's full-sized avatar

Teino Boswell Teino1978-Corp

  • Ocho Rios, Jamaica
View GitHub Profile

Author/Contributor Metadata

Information about an author can include: firstname, lastname, fullname, lastname-comma-firstname, role, primary-or-notprimary, photo, photo credit, photo orientation, residence, biographical information. Some books have multiple contributors.

Site Notes
iBooks Author information is entered in a native Mac app, iTunes Producer, on the "details" tab of a new book file, and stored locally as an .itmsp file. Dropdown for Role (with an insane long list of predetermined roles), dropdown specifying whether the role is Primary or Not Primary, two text areas for author name: "Firstname Lastname", and "Lastname, Firstname"
Nook Separate fields for First Name, Last Name, and Role, entered on Title & Description page of NOOK Book Details section. Max of 5 "contributor" objects. Plain-textarea limited to 2,500 characters for "About the Author(s)".
Kobo Single text field for "Firstname Lastname". First entry is automatically designated as Primary autho
@Teino1978-Corp
Teino1978-Corp / DumpData.py
Created October 20, 2015 19:27 — forked from Sentient07/DumpData.py
Searching by deposition date
""" *******************************************************************************
Prints out the query results in a HTML format or in a dump file
in an HTML format the function will paginate the data
numResidues = total # of residues in query
Result_Set = set of results to be printed
Per_Page = number of results to show per page
toFile = file to dump results to
************************************************************************** """
from __future__ import with_statement
from threading import Thread, Lock
@Teino1978-Corp
Teino1978-Corp / protocol.md
Created October 22, 2015 15:49 — forked from scientificprotocols/protocol.md
Easy-DHPSF open-source software for three-dimensional localization of single molecules with precision beyond the optical diffraction limit
Authors: Matthew D. Lew,  Alexander R. S. von Diezmann & W. E. Moerner

Abstract

Automated processing of double-helix (DH) microscope images of single molecules (SMs) streamlines the protocol required to obtain super-resolved three-dimensional (3D) reconstructions of ultrastructures in biological samples by single-molecule active control microscopy. Here, we present a suite of MATLAB subroutines, bundled with an easy-to-use graphical user interface, that facilitates 3D localization of single emitters (e.g. SMs, fluorescent beads, or quantum dots) with precisions of tens of nanometers in multi-frame movies acquired using a wide-field DH epifluorescence microscope. The algorithmic approach is based upon template matching for SM recognition and least-squares fitting for 3D position measurement, both of which are computationally expedient and precise. Overlapping images of SMs are ignored, and the precis

@Teino1978-Corp
Teino1978-Corp / DefaultUserAgent.java
Created October 23, 2015 20:33 — forked from Azazle/DefaultUserAgent.java
Android method: get default user-agent
// http://matsuhilog.blogspot.jp/2013/05/performance-analytics-in-android.html
// https://code.google.com/p/codenameone/issues/detail?id=294
public static String getDefaultUserAgent(Context context) {
String ua;
if (Build.VERSION.SDK_INT >= 17) {
ua = Util.getDefaultUserAgent(context);
} else if (Build.VERSION.SDK_INT >= 16) {
ua = Util.getUserAgent(context);
} else {
try {
@Teino1978-Corp
Teino1978-Corp / CameraExample.java
Created October 23, 2015 20:40 — forked from shannah/CameraExample.java
CodenameOne CameraExample
final Form hi = new Form("Hi World");
final WebBrowser b = new WebBrowser(){
@Override
public void onLoad(String url) {
final BrowserComponent c = (BrowserComponent)this.getInternal();
// Create a Javascript context for this BrowserComponent
final JavascriptContext ctx = new JavascriptContext(c);]
// Create a new Javascript object "camera"
@Teino1978-Corp
Teino1978-Corp / StateMachine.java
Created October 23, 2015 20:43 — forked from hrugani/StateMachine.java
CheckboxProblem - CodeNameOne Project
/**
* Your application code goes here
*/
package userclasses;
import generated.StateMachineBase;
import com.codename1.ui.*;
import com.codename1.ui.events.*;
import com.codename1.ui.layouts.BorderLayout;
@Teino1978-Corp
Teino1978-Corp / GoogleMapsCodenameOneTest.java
Created October 23, 2015 20:46 — forked from shannah/GoogleMapsCodenameOneTest.java
Google Map inside CodenameOne WebView component.
public void start(){
Form hi = new Form("Google Direction Service");
final GoogleMap map = new GoogleMap();
hi.setLayout(new BorderLayout());
final TextField start = new TextField();
start.setHint("Start location");
@Teino1978-Corp
Teino1978-Corp / VertIC.java
Created October 23, 2015 21:41 — forked from igo211/VertIC.java
Main class start method for both Codenameone issues: #1416 & #1417
package com.whoztop.ictest;
import com.codename1.ui.Component;
import com.codename1.ui.InfiniteContainer;
import com.codename1.ui.Label;
public class VertIC extends InfiniteContainer
{
private static final int ITEMS_IN_ONE_GULP = 1000;
@Teino1978-Corp
Teino1978-Corp / 1 basic.md
Created October 24, 2015 20:59 — forked from lin/1 basic.md
iOS

1, add a new project from add new

2, add podfile on the root folder

3, pod install