Skip to content

Instantly share code, notes, and snippets.

@baoilleach
baoilleach / shefchem16_tweets.txt
Created July 11, 2016 09:14
Tweets from 7th Sheffield Conference on Chemoinformatics #ShefChem16
nathanbroo @WendyAnneWarr @baoilleach @mvkrier @rguha awesome! We have a go! #ShefChem16. Looking forward to it!
dgelemi @WendyAnneWarr @nathanbroon @baoilleach @mvkrier @rguha nice. See you at #ShefChem16 on Monday
nathanbroo Hashtag for Sheffield #Chemoinformatics conference is #ShefChem16
http://cisrg.shef.ac.uk/shef2016 
#CompChem #RealTimeChempic.twitter.com/8J2fU9eZwZ
conViktion Sorry to have to miss out on #ShefChem16.
I hope it's a great event!
nathanbroo Using #ShefChem16 for Sheffield Chemoinformatics conference. @OpenEyeSoftware @CCG_MOE @ccdc_cambridge @ChEMBL @3dsBIOVIA @SimulationsPlus
mvkrier #ShefChem16 here we come! I'm transiting via Manchester on Monday morning. Anyone else? https://twitter.com/nathanbroon/status/749191728956071936
nathanbroo Using #ShefChem16 for Sheffield Chemoinformatics conference. @cressetgroup @nmsoftware @MolInformatics @JCIM_ACS @Molomics @ChemDraw
@baoilleach
baoilleach / ob_appveyor.bat
Created June 28, 2016 14:08
Open Babel Appveyor build
cd C:\
echo Downloading dependencies
appveyor DownloadFile https://github.com/openbabel/msvc-dependencies/archive/master.zip
7z x master.zip > nul
set DEPS=C:\msvc-dependencies-master
cd %DEPS%
cd wx
7z x wxWidgets-3.0.2_headers.7z > nul
7z x wxMSW-3.0.2_vc120_ReleaseDLL.7z > nul
7z x wxMSW-3.0.2_vc120_Dev.7z > nul
@baoilleach
baoilleach / skolnik.rst
Last active August 29, 2015 14:27
Notes from Herman Skolnik ACS 2015

Herman Skolnik Award Symposium

  • Postdoc at Biosym on DFT of enzyme-inhibitor cmplexes
  • At BMS he worked on protein modeling

Looking for the printing press in Jurgen's office

Jane Tseng

#!/usr/bin/env python
# Call with python CleanBinaryStrings.py <binaryName>
# Will edit the binary in place
import struct
import sys
import mmap
import string
import binascii
import hashlib
import subprocess
@baoilleach
baoilleach / scan.txt
Created September 24, 2014 19:14
How to scan documents into a pdf
1. Microsoft Office Document Scanning
2. Black & White
3. File Save As "A.tif"
4. Insert images into Word, reduce the margins and save as PDF
@baoilleach
baoilleach / gvimjs.txt
Last active August 29, 2015 14:00
Gvim for javascript
Install node.js 64-bit msi
Add C:\Program Files\nodejs to the PATH if not already present
npm install jshint # Installs to C:\Users\Noel\module_modules\jshint
let g:syntastic_javascript_checkers=['jshint']
let g:syntastic_jshint_exec='C:\Users\Noel\node_modules\.bin\jshint.cmd'
@baoilleach
baoilleach / obdotnet.txt
Last active August 29, 2015 13:59
Compiling a 64-bit .NET version of Open Babel
x86 version
===========
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /target:library /platform:x86 /keyfile:C:/Tools/openbabel/nextmoveob/windows-vc2008/Distribution/obdotnet.snk /optimize /out:C:/Tools/openbabel/nextmoveob/scripts/csharp/OBDotNet.dll *.cs
giving...
C:\Tools\openbabel\nextmoveob\scripts\csharp>file OBDotNet.dll
OBDotNet.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
x64 version
@baoilleach
baoilleach / povraymolecules.py
Created March 10, 2014 17:10
Create a Povray image of a molecule
import math
import sys
import numpy as np
import pybel
ob = pybel.ob
from collections import defaultdict
header = """#include "textures.inc"
#include "colors.inc"
#include "functions.inc"
@baoilleach
baoilleach / MakeVideo.txt
Last active January 3, 2016 11:19
How to record a video on Windows
1. Configure Screen Capturer Recorder by selecting the shortcut "configure by resizing a transparent window"
2. Start broadcasting the desktop by choosing the shortcut "stream desktop local LAN", and "Start Normal 10 fps"
Using 32-bit ffpeg:
1. C:\Tools\ffmpeg\ffmpeg32\bin> ffmpeg -f dshow -i video=screen-capture-recorder -r 10 -y recording.mp4
Convert to .wmv and retain just the first 60 seconds (see -ss for skipping the start):
1. ffmpeg -i recording.mp4 -t 60 -b:v 1000k -vcodec wmv2 MatsyGUI.wmv
Using Super (c) Free Video Converter
@baoilleach
baoilleach / nwchem_compile
Last active December 31, 2015 13:39
Compiling NWChem on Centos 6.3
== FreeON ==
Complains about cannot find /usr/lib64/libhdf5.settings. On CentOS this is in a different location so fool it:
sudo ln -s /usr/share/doc/hdf5-devel-1.8.7/libhdf5.settings /usr/lib64/libhdf5.settings
FREEON_SCRATCH=`pwd`/../tmp ./configure --prefix=`pwd`/../tree --enable-optimizations
but make test fails (reported to list)
so instead
FREEON_SCRATCH=`pwd`/../tmp ./configure --prefix=`pwd`/../tree
== Octopus ==