Skip to content

Instantly share code, notes, and snippets.

(function(document) {
var previewWrap = document.createElement('div'),
preview = document.createElement('img');
previewWrap.style.position = 'absolute';
previewWrap.style.background = 'white';
previewWrap.style.border = '1px solid black';
previewWrap.style.transition = 'opacity 0.4s';
previewWrap.style.opacity = 0;
previewWrap.appendChild(preview);
(function (jsonp, d) {
console.log('json-p request');
var request = 0,
callbacks = {};
// takes callback object of the form:
// {
// name : 'customCallback',
// fun : myCallbackFunction
// }
public class QueryString {
Dictionary<string, string> parameters = new Dictionary<string, string>();
public QueryString Add<T>(string key, T value) {
parameters.Add(Uri.EscapeDataString(key), Uri.EscapeDataString(value.ToString()));
return this;
}
public QueryString Add<T>(Dictionary<string, T> p) {
gene complement(41384343..42219039)
/gene="DSCAM"
/gene_synonym="CHD2-42; CHD2-52"
/note="Down syndrome cell adhesion molecule; Derived by
automated computational analysis using gene prediction
method: BestRefseq."
/db_xref="GeneID:1826"
/db_xref="HGNC:3039"
/db_xref="HPRD:03953"
/db_xref="MIM:602523"
var baseUrl = 'http://blast.ncbi.nlm.nih.gov/Blast.cgi',
program,
blastPrograms;
switch (App.blast.context)
{
case 'rna-sequence' :
case 'mrna-transcript' :
program = blastPrograms = 'tblastx';
break;
var qr_repost = false;
var qr_errors_shown = false;
var qr_active = false;
var qr_ajax = null;
var qr_postid = null;
var qr_withquote = null;
var qr_imgsrc = "";
var clickedelm = false;
var qr_require_click = false;
var QR_EditorID = "vB_Editor_QR";
var qr_repost=false;var qr_errors_shown=false;var qr_active=false;var qr_ajax=null;var qr_postid=null;var qr_withquote=null;var qr_imgsrc="";var clickedelm=false;var qr_require_click=false;var QR_EditorID="vB_Editor_QR";if(typeof(vB_XHTML_Ready)!="undefined"){vB_XHTML_Ready.subscribe(qr_init)}function qr_init(){if(typeof(vBulletin.attachinfo)=="undefined"){vBulletin.attachinfo={posthash:"",poststarttime:""}}if(fetch_object("quick_reply")){qr_disable_controls();qr_init_buttons(fetch_object("posts"))}}function qr_init_buttons(D){var C=fetch_tags(D,"a");for(var B=0;B<C.length;B++){if(C[B].id&&(C[B].id.substr(0,3)=="qr_"||C[B].id.substr(0,5)=="qrwq_")){YAHOO.util.Event.on(C[B],"click",qr_newreply_activate,this)}}var A=["newreplylink_top","newreplylink_bottom"];YAHOO.util.Event.on(A,"click",qr_replytothread_activate,this);YAHOO.util.Event.on(A,"dblclick",function(E){window.location=this.href},this)}function qr_disable_controls(){if(require_click){fetch_object("qr_postid").value=0;vB_Editor[QR_EditorID].disable_edi
#!/bin/bash
find ~ -type f -name "*.mzXML" -not -path "save-me"
echo delete me? \[y/n\]?
read yesno
if [[ $yesno == 'y' ]]; then
find ~ -type f -name "*.mzXML" -not -path "save-me" -delete
fi
/* http://keith-wood.name/svg.html
SVG for jQuery v1.4.5.
Written by Keith Wood (kbwood{at}iinet.com.au) August 2007.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
Please attribute the author if you use it. */
(function($) { // Hide scope, no $ conflict
/* SVG manager.
$('tbody tr').slice(2).each(function() {
var $this = $(this);
if (!$.trim($this.find('td:first').text())) {
$this.toggle();
}
});