Skip to content

Instantly share code, notes, and snippets.

View teleport.sh
[ -f ~/.tp_command ] && source ~/.tp_command
alias c=tp
alias 'install-teleport'='cd; curl https://raw.githubusercontent.com/alvinj/Teleport/master/tp_command > .tp_command; touch .tp_history .tp_aliases'
View keybase.md

Keybase proof

I hereby claim:

  • I am ze-phyr-us on github.
  • I am vita (https://keybase.io/vita) on keybase.
  • I have a public key whose fingerprint is 473E E429 4392 5A17 B9E0 D942 85C8 E61C 524B 35C1

To claim this, I am signing this object:

@ze-phyr-us
ze-phyr-us / gist:486b0c03dc38f327bef0
Last active Aug 29, 2015
Check that the Quickfix Python module is able to find the dynamically linked libraries it requires, and suggest how to fix incorrect paths.
View gist:486b0c03dc38f327bef0
import logging, os, subprocess
def checkQuickfixDylibs(soPath):
'''
Verify that _quickfix.so's required dylibs exist, and suggest how to fix incorrect paths.
It is assumed that missing libs (most likely just libquickfix.14.dylib) should be present
in the same directory as _quickfix.so.
:param soPath: path/to/_quickfix.so (or path/to/libquickfix_python.10.dylib).
'''
@ze-phyr-us
ze-phyr-us / application.py
Last active Oct 25, 2019
Skeleton of a real Quickfix application
View application.py
import logging
import quickfix as fix
def _str(msg):
''' Convert a FIX message to a readable string. '''
return msg.toString().replace('\x01', '@')