Skip to content

Instantly share code, notes, and snippets.

@weiznich
weiznich / diff.patch
Created October 10, 2018 19:31
diesel
diff --git a/diesel/src/lib.rs b/diesel/src/lib.rs
index 466a8b49d..efb189678 100644
--- a/diesel/src/lib.rs
+++ b/diesel/src/lib.rs
@@ -245,10 +245,6 @@ pub mod helper_types {
/// Represents the return type of `.filter(lhs.eq(rhs))`
pub type FindBy<Source, Column, Value> = Filter<Source, Eq<Column, Value>>;
- /// Represents the return type of `.for_update()`
- #[cfg(feature = "with-deprecated")]
#[macro_use]
extern crate nom;
#[cfg(test)]
mod tests {
use nom::*;
use nom::IResult::*;
#[test]
fn till_line_ending_unix() {
@weiznich
weiznich / fit2gpx.py
Created January 11, 2015 14:39
Simple script to convert the fit files of a garmin forerunner to gpx files.
#!/usr/bin/env python
from fitparse import FitFile
import srtm
import xml.dom.minidom as minidom
import moment
import sys
import xml.etree.cElementTree as ET
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;