This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# cleanup_gisaid.rb | |
# Robert Jones jones@craic.com | |
# Freely distributed under the MIT licence | |
# This script takes a fasta format file from GISAID and fixes various data quality issues | |
# The vast majority of the sequences are fine but the few anomalies can cause problems downstream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Database | |
add column 'sequence_type_tmp' | |
# Model | |
# original is :sequence_type_id (integer) | |
# add :sequence_type_tmp (string) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://code.highcharts.com/highcharts.js"></script> | |
<script src="http://code.highcharts.com/modules/exporting.js"></script> | |
<div id="container" style="width: 800px; height: 400px; margin: 0 auto; border: 1px solid black;"></div> | |
<script> | |
$(function () { | |
$('#container').highcharts({ | |
title: { | |
text: 'Registered Syrian Refugees', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="https://www.google.com/calendar/embed?height=400&wkst=1&bgcolor=%23FFFFFF&src=craic.com_6kse7orlp11vp8ihln18ks2pd0%40group.calendar.google.com&color=%232952A3&ctz=America%2FLos_Angeles" | |
style=" border-width:0 " width="600" height="400" frameborder="0" scrolling="no"></iframe> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://dev.twitter.com/docs/tweet-button | |
https://dev.twitter.com/docs/follow-button | |
https://twitter.com/about/resources/buttons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta name="google-translate-customization" content="4806411522697689-509906d560eaef8c-gf036ed82ad694b19-e"></meta> | |
<div id="google_translate_element"></div><script type="text/javascript"> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); | |
} | |
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> | |
<!-- https://translate.google.com/manager/website/suggestions --> | |
<!-- tied to specific web sites - so you need a google account etc. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<iframe width="500" height="400" frameborder="0" | |
src="http://www.bing.com/maps/embed/viewer.aspx?v=3&cp=48.858601~2.293980&lvl=15&w=500&h=400&sty=r&typ=d&pp=&ps=&dir=0&mkt=en-us&src=SHELL&form=BMEMJS"> | |
</iframe> | |
<div style="margin: 12px 0 0 0;"> | |
<a target="_blank" href="http://www.bing.com/maps/?cp=48.858601~2.293980&sty=r&lvl=15&sp=&mm_embed=map">View Larger Map</a> | | |
<a target="_blank" href="http://www.bing.com/maps/?cp=48.858601~2.293980&sty=r&lvl=15&rtp=~pos.48.858601_2.293980____&mm_embed=dir">Get Directions</a> | | |
<a target="_blank" href="http://www.bing.com/maps/?cp=s48sq3h5r1fn&sty=b&lvl=18&sp=&mm_embed=be">View Bird's Eye</a> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="//player.vimeo.com/video/49643332" width='500' height='281' frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
@import url(http://fonts.googleapis.com/css?family=PT+Sans); | |
@import url(http://fonts.googleapis.com/css?family=Cinzel); | |
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed); | |
@import url(http://fonts.googleapis.com/css?family=Fondamento); | |
p { | |
font-size: 18px; | |
} | |
.font1 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="twitter-timeline" href="https://twitter.com/BBCWorld" data-widget-id="395313647477481472">Tweets by @BBCWorld</a> | |
<script> | |
!function(d,s,id){ | |
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https'; | |
if(!d.getElementById(id)){ | |
js=d.createElement(s); | |
js.id=id; | |
js.src=p+"://platform.twitter.com/widgets.js"; | |
fjs.parentNode.insertBefore(js,fjs); |
NewerOlder