Skip to content

Instantly share code, notes, and snippets.

View bieniekmateusz's full-sized avatar

Mateusz Bieniek bieniekmateusz

  • UK
View GitHub Profile
@bieniekmateusz
bieniekmateusz / sol_leg_ommt.py
Last active May 6, 2021 13:58
OMMT absolute free energy of hydration: sol leg
from sys import stdout
import sys, os
from simtk import unit
from simtk import openmm as omm
import openmmtools as ommt
import mdtraj
#cache.global_context_cache.platform = openmm.Platform.getPlatformByName('CUDA')
@bieniekmateusz
bieniekmateusz / jekyllIntro.html
Created October 10, 2012 15:04
Jekyll example
{% for post in site.posts %}
<li >
<a href="{{ post.url }}"> {{post.title}}</a>
</li>
{
{% endfor %}
@bieniekmateusz
bieniekmateusz / factorial.asm
Created October 6, 2012 19:35
Factorial function in assembly language
; The input is a decimal number,
; Result is a hexadecimal number
section .text
; to make the printf out work the main 'method' is needed
global main
; for printing numbers out
extern printf
@bieniekmateusz
bieniekmateusz / factorial.asm
Created October 6, 2012 19:33
Factorial function in assembly language
; The input is a decimal number,
; Result is a hexadecimal number
section .text
; to make the printf out work the main 'method' is needed
global main
; for printing numbers out
extern printf