This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"><Document><name>Golf Courses Austria</name><visibility>1</visibility><Placemark><name>Alpe-Adria-Golf Schl. Finkenst, Kärnten</name><description>18 holes</description><visibility>1</visibility><Point><coordinates>13.860931,46.560514</coordinates></Point></Placemark><Placemark><name>Celtic GC - Schärding, Oberösterreich</name><description>18 holes</description><visibility>1</visibility><Point><coordinates>13.521722,48.380870</coordinates></Point></Placemark><Placemark><name>City & Country GC Richardhof, Niederösterreich</name><description>9 holes</description><visibility>1</visibility><Point><coordinates>16.275173,48.055974</coordinates></Point></Placemark><Placemark><name>City Golf Graz-Puntigam, Steiermark</name><description>9 holes</description><visibility>1</visibility><Point><coordinates>15.447342,47.032675</coordinates></Point></Placemark><Placemark><name>Club Danube Golf-Wien, Wien</name><descripti |
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
#!/bin/sh | |
cd $(pipenv --venv) && sed -i '/_poller_class = Poller/ a\ | |
def fileno(self):\ | |
return self.FD\ | |
' $(egrep -lir --include="__init__.py" "class Socket\(_AsyncIO, _future._AsyncSocket\)" .) && cd - |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 python | |
import optparse, time, sys | |
from Bio import SeqIO | |
def processFile(seqFile, cutoff=500, more=False, stream=False): | |
start_time = time.time() | |
if(more): |
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 python | |
import optparse, re | |
from Bio import SeqIO | |
from itertools import groupby | |
def findHomopolymers(seqFile, more=False, all=False, length=6): | |
cumlen = 0 | |
num = 0 | |
results = [] |
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 python | |
import optparse | |
from Bio import SeqIO | |
def calcN(seqFile, N=50, more=False): | |
seqlist = list() | |
totallength = 0 | |
res = 0 | |
res_pos = None |