made with esnextbin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Damn) This Desert Air - Ghost I Own | |
2nd Thought - Just Hang On | |
3 Doors Down - Here Without You | |
3 Doors Down - It's Not My Time | |
3 Doors Down - Kryptonite | |
3 Doors Down - When I'm Gone | |
3 Doors Down - When You're Young | |
3 Inches of Blood - Battles and Brotherhood | |
30 Seconds to Mars - Attack | |
30 Seconds to Mars - Closer to the Edge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> default: | |
==> default: | |
==> default: | |
==> default: | |
==> default: | |
==> default: | |
==> default: | |
==> default: | |
==> default: | |
==> default: |
made with esnextbin
made with esnextbin
made with esnextbin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## dialyzer.mk: Useful make targets for working with erlang's | |
## dialyzer. Manages a per-OTP version PLT which is then copied | |
## to your project directory and adds your dependencies to the | |
## plt. By default the OTP plt is stored in ~/.dialyzer so that | |
## it is used by all dialyzer.mk using projects. This can be | |
## changed with the PLT_BASE variable. | |
## | |
## Recommended usage is to add `include dialyzer.mk` to your | |
## projects Makefile. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
OTP_VERSION=$(erl -noinput \ | |
-noshell \ | |
-eval 'io:fwrite(erlang:system_info(otp_release)).' \ | |
-s init stop) | |
PLT_DIR="$HOME/.dialyzer/${OTP_VERSION}" | |
CURRENT_APP=$(basename $(pwd)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cffi import FFI | |
ffi = FFI() | |
ffi.cdef(""" | |
typedef long int time_t; | |
struct timespec { | |
time_t tv_sec; | |
long tv_nsec; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This gist is released under Creative Commons Public Domain Dedication License CC0 1.0 | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# | |
from twisted.internet import defer, reactor | |
class TimeoutError(Exception): | |
"""Raised when time expires in timeout decorator""" |
NewerOlder