Skip to content

Instantly share code, notes, and snippets.

@prutz1311
prutz1311 / CHANGELOG.md
Created May 3, 2021 21:37
tarlib-zlib-cabal-example

Revision history for tarlib-zlib-cabal-example

0.1.0.0 -- YYYY-mm-dd

  • First version. Released on an unsuspecting world.
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
{-#LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TypeFamilies #-}
module Main where
@prutz1311
prutz1311 / hftbattle.txt
Created March 30, 2017 16:34
HFTBattle run.py error libboost_filesystem.so.1.58.0 prutz1311
root@e4b1f6ba909f:/hftbattle# python download.py
Downloading data.zip from https://www.dropbox.com/s/ko2zgwt004yejts/data.zip?dl=1:
[==================================================] 100 %
Done!
Unarchiving data.zip:
100%
Done!
root@e4b1f6ba909f:/hftbattle# python build.py
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
@prutz1311
prutz1311 / gist:5182cdf3a681b0f50984
Created May 8, 2014 14:06
Access to parent's method by direct referring to the parent
class Message(object):
def __init__(self, msg):
self.msg = msg
def __repr__(self):
return object.__repr__(self) + ': ' + self.msg
@prutz1311
prutz1311 / gist:387534f1f2729db8c015
Created May 8, 2014 14:02
Access to parent's method via super
class Message(object):
def __init__(self, msg):
self.msg = msg
def __repr__(self):
return super(Message, self).__repr__() + ': ' + self.msg