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
#!/usr/bin/env python | |
""" | |
This script is intended to directly upload exported Runtastic TCX tracks up to | |
Runkeeper. Use the below script found at the below URL to export the tracks | |
from Runtastic you want. | |
Requires: lxml and requests (both are likely available packaged for your distro of choice) | |
http://blog.favo.org/post/56040226362/export-all-activities-from-runtastic-as-tcx |
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
#!/usr/bin/python | |
import os | |
import sys | |
def main(): | |
tree(sys.argv[1] if len(sys.argv)>1 else os.getcwd()) | |
def tree(path): | |
map(lambda x: walk(*x), os.walk(path)) | |
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 was something to play around with longjmp/setjmp and the stack that it would require. | |
* This code does not work as the direction this experiment was going would require context | |
* switching that I didn't want to happen. | |
*/ | |
#include <setjmp.h> | |
#include <ucontext.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdint.h> |