Skip to content

Instantly share code, notes, and snippets.

View wehlutyk's full-sized avatar

Sébastien Lerique wehlutyk

View GitHub Profile
diff --git a/app/js/directives.js b/app/js/directives.js
index dcf758f..8d79172 100755
--- a/app/js/directives.js
+++ b/app/js/directives.js
@@ -1356,6 +1356,7 @@ angular.module('myApp.directives', ['myApp.filters'])
var stickerImageCompiled = $compile('<a class="composer_sticker_btn" data-sticker="{{::document.id}}" my-load-sticker document="document" thumb="true" img-class="composer_sticker_image"></a>');
var cachedStickerImages = {};
var audioRecorder = null;
+ var audioPromise = null;
var audioStream = null;
From Bangerter 2000
===================
§1: Sperm or Ovum in subject or object position
-----------------------------------------------
Fertilization typically takes place in the fallopian tube between the ovary and uterus. The ovum, which develops in the ovary, is transported to the fallopian tube. The walls of the fallopian tube are covered with ciliae. The movement of these ciliae creates a current of liquid, which transports the ovum to the place of fertilization.
During fertilization, muscle contractions of the walls of the fallopian tube contribute largely to the transport of the ovum. Both the intensity of the ciliae movement and the strength of the contractions is dependent on the equilibrium between the sex hormones, oestrogen and progesterone. In this way, the ovum reaches the place of fertilization.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
diff --git a/Cargo.toml b/Cargo.toml
index 47a50fd..5f00177 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,11 +12,15 @@ description = "A Rust library for PDF document manipulation."
[dependencies]
pom = "1.0.1"
chrono = "0.3.0"
-flate2 = "0.2.14"
+flate2 = { path = "../flate2-rs" , default-features = false }
diff --git a/Cargo.toml b/Cargo.toml
index 3d89a93..4b6d09c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@ miniz-sys = { path = "miniz-sys", version = "0.1.7", optional = true }
libz-sys = { version = "1.0", optional = true }
tokio-io = { version = "0.1", optional = true }
futures = { version = "0.1", optional = true }
-miniz_oxide_c_api = { version = "0.1", optional = true, features = ["no_c_export"]}
+miniz_oxide_c_api = { path = "../miniz_oxide", optional = true, features = ["no_c_export"]}
diff --git a/miniz_oxide/src/lib.rs b/miniz_oxide/src/lib.rs
index 82fcd60..bde269f 100644
--- a/miniz_oxide/src/lib.rs
+++ b/miniz_oxide/src/lib.rs
@@ -22,7 +22,16 @@
//! ```
extern crate adler32;
+#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
extern crate libc;
@wehlutyk
wehlutyk / Cargo.toml
Last active July 2, 2018 13:21
lopdf + xml-rs → wasm
[package]
name = "infuse-explorations"
version = "0.1.0"
authors = ["Sébastien Lerique <sl@mehho.net>"]
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2"
diff --git a/nw2vec/ae.py b/nw2vec/ae.py
index 0488548..1fbb469 100644
--- a/nw2vec/ae.py
+++ b/nw2vec/ae.py
@@ -483,18 +483,19 @@ def build_p_builder(dims, use_bias=False):
p_adj = layers.Bilinear(0, use_bias=use_bias,
kernel_regularizer='l2', bias_regularizer='l2',
name='p_adj')([p_layer1, p_layer1])
- p_v_μ_flat = keras.layers.Dense(dim_data, use_bias=use_bias,
- kernel_regularizer='l2', bias_regularizer='l2',