Skip to content

Instantly share code, notes, and snippets.

View jimtalksdata's full-sized avatar
🤓

jimtalksdata

🤓
View GitHub Profile
04a5b6d5f052d2ed2b22a9dc61a31b7359234258c9d0d2cdd1535a63d84dae7f55090d7325acbf4acf4190ab913c324c1c7082046e95b5ba6d698843cc28982186;romanornr
@jimtalksdata
jimtalksdata / vscript.sh
Created June 2, 2011 16:01
Prototype vina script for resume support and error handling of multiple runs
#!/bin/bash
echo "Short and simple VINA docking script - Jim"
echo ""
if [ $# -eq 0 ]
then
echo "Please enter the protein to dock (do not put the extension in): "
read prot
fi
if [ $# -eq 1 ]
then
DD-WRT config:
insmod /lib/modules/`uname -r`/kernel/net/ipv6/sit.ko
sleep 5
HOST6RD=$(nslookup 6rd.comcast.net |grep "Address"|awk '{ print $3 }'|grep -v 192.168.1.1 -m1)
WANIP=$(ip -4 addr show dev vlan2 | grep 'inet ' | awk '{print $2}' | cut -d/ -f1)
if [ -n "$WANIP" ]
then
V6PREFIX=$(printf ' 2001:55c:%02x%02x:%02x%02x' $(echo $WANIP | tr . ' '))
ip tunnel add tun6rd mode sit ttl 255 remote any local $WANIP
Sub Process_0_1_genuniquepeptides()
'
' Counts # of unique peptides per reference.
'
'
LastRow = ActiveSheet.UsedRange.Rows.Count
LastCol = ActiveSheet.Range("a1").End(xlToRight).Column
ScriptName LevitationEffectScript
;*******************************
;
; This script current on gist:
; http://gist.github.com/428779
;
;*******************************
; Author: Saltare
; Email: Saltare_ferocan@hotmail.com
#!/usr/bin/perl
# Report.pl
# This script scans for backups in the specified directories (@DIRINDEX)
# and generates log files for each cobian backup set detected in each
# of these directories. These log files are generated by the list command
# in 7z. Optionally password protected archives can be opened by
# specifying the password after the option -p (e.g. ./report.pl -p password).
#USER CONFIGURBLE PARAMETERS
CmdUtils.CreateCommand({
name: "ncbi-pubmed",
takes: { "query": noun_arb_text },
description: "Searches NCBI for PubMed articles.",
help: "Please enter a query to search NCBI PubMed. Both natural text and expressions should work.",
_base_url: "http://www.ncbi.nlm.nih.gov/sites/entrez?db=pubmed&cmd=search&term=",
_help: "Enter a query to search NCBI PubMed.",
// Change results to show