This file contains hidden or 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
// Screwless mount for a perfborad: | |
// Adafruit Perma-Proto Quarter-sized Breadboard PCB | |
bh=5; // base height | |
d=35.8; | |
module spacer(x=0, y=0, z=0){ | |
translate([x,y,z]){ | |
cylinder(d=5, h=10); | |
cylinder(d=3.2, h=12); | |
} | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
""" | |
TODO: Please Give me a name | |
====================== | |
And a brief description. | |
Input files: | |
- DIFF: file with a set of instruction which area applied to the dna sequences in | |
the REFERENCE file. | |
- REFERENCE: File with reference DNA sequences. |
This file contains hidden or 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
import pssepath | |
pssepath.add_pssepath() | |
import psspy | |
import redirect | |
redirect.psse2py() | |
import sys | |
# This command prints results to console |
This file contains hidden or 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
""" | |
Convert sav file to raw file. | |
Requires pssepath from: | |
https://github.com/cwebber314/pssepath | |
""" | |
import os.path as osp | |
import sys | |
import argparse | |
import pssepath |
This file contains hidden or 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
""" | |
pandas 0.12.0 | |
""" | |
from numpy.random import randn | |
import numpy as np | |
import xlwt | |
import pandas as pd | |
from xlpandas import XLtable, XLseries | |
from xlwt import Workbook, Worksheet, Style | |
import os |
This file contains hidden or 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
""" | |
Reportlab sandbox. | |
""" | |
from reportlab.lib.enums import TA_JUSTIFY | |
from reportlab.lib.pagesizes import letter, landscape | |
from reportlab.lib.enums import TA_JUSTIFY | |
from reportlab.lib.pagesizes import letter | |
from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Image | |
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<script> | |
var folder="https://lh3.googleusercontent.com/-oV4dZvrGpyA/UpYSO1u-fjI/AAAAAAAAJRI/PO6Bq3aYtS0/s16-no/page.png" | |
var page="https://lh3.googleusercontent.com/-oV4dZvrGpyA/UpYSO1u-fjI/AAAAAAAAJRI/PO6Bq3aYtS0/s16-no/page.png" | |
</script> | |
<head> | |
<style> | |
table { | |
border-collapse:collapse; |
This file contains hidden or 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
##################################################################### | |
# olvDemo.py | |
# | |
# Created 12/2009 by Mike Driscoll | |
# | |
# Based on example code from source and | |
# http://objectlistview.sourceforge.net/python/cellEditing.html | |
# | |
##################################################################### | |
import wx |
This file contains hidden or 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
from bs4 import BeautifulSoup | |
fn = r'solution1_printed.htm' | |
f = open(fn, 'r') | |
html = f.read() | |
f.close() | |
soup = BeautifulSoup(html) | |
body = soup.body | |
replaces = [ |