Skip to content

Instantly share code, notes, and snippets.

View kmarekspartz's full-sized avatar
 

Kyle Marek-Spartz kmarekspartz

 
View GitHub Profile
<html>
<head>
<title>kms -- zeckalpha</title>
</head>
<body>
</body>
</html>
@kmarekspartz
kmarekspartz / brew doctor output
Created May 12, 2012 01:19
brew install ext2fuse failure
Your system is raring to brew.
<stdin>:1:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^
1 error generated.
asm_types.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc, char **argv)
^~~~
asm_types.c:12:2: warning: __U8_TYPEDEF not defined [-W#warnings]
#warning __U8_TYPEDEF not defined
^
<stdin>:1:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^
1 error generated.
asm_types.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc, char **argv)
^~~~
asm_types.c:12:2: warning: __U8_TYPEDEF not defined [-W#warnings]
#warning __U8_TYPEDEF not defined
^
@kmarekspartz
kmarekspartz / test_ordering_list.py
Created August 23, 2013 21:19
SQLAlchemy OrderingList misbehavior?
from sqlalchemy import Column, Integer, ForeignKey, create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.ext.orderinglist import ordering_list
from sqlalchemy.orm import relationship, backref, sessionmaker
Base = declarative_base()
class Slide(Base):
@kmarekspartz
kmarekspartz / set.wren
Last active August 29, 2015 13:56
wren/examples/set.wren
class Set {
new {
_list = []
_clean = true
}
new (list) {
if (list is List) {
_list = list
_clean = false

Keybase proof

I hereby claim:

  • I am zeckalpha on github.
  • I am kmarekspartz (https://keybase.io/kmarekspartz) on keybase.
  • I have a public key ASARNJhw9AZxoDGXy-5AMtqFJ-HGQQQe7Z-VsX0SsCigSgo

To claim this, I am signing this object:

@kmarekspartz
kmarekspartz / Dockerfile
Created May 2, 2017 22:39
mypy typing TextIO bug
FROM python:3.6
WORKDIR /mypy-bug
ADD requirements.txt .
RUN pip install -r requirements.txt
ADD typing_text_io.py main.py
RUN mypy --strict main.py
CMD python main.py
@kmarekspartz
kmarekspartz / keybase.md
Created September 17, 2017 22:50
keybase.md

Keybase proof

I hereby claim:

  • I am kmarekspartz on github.
  • I am kmarekspartz (https://keybase.io/kmarekspartz) on keybase.
  • I have a public key whose fingerprint is 3E3A FA4F 186A 1177 5827 48D2 65B3 DEFC 84D7 E3E5

To claim this, I am signing this object: