Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<style>
.parent {
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
<!DOCTYPE html>
<html lang="en">
<body>
<table boder="0" width="100%">
<tr>
<td style="vertical-align: top;">
<iframe src="https://www.meteoblue.com/de/wetter/woche/k%C3%B6ln_deutschland_2886242#meteogram" width="100%" height="500" scrolling="no"></iframe>
<iframe src="https://www.meteoblue.com/de/wetter/woche/k%C3%B6ln_deutschland_2886242" width="100%" height="1000"></iframe>
</td>
<!DOCTYPE html>
<html lang="en">
<body>
<table boder="0" width="100%">
<tr>
<td style="vertical-align: top;">
<iframe src="https://www.meteoblue.com/de/wetter/woche/k%C3%B6ln_deutschland_2886242#meteogram" width="100%" height="500" scrolling="no"></iframe>
<iframe src="https://www.meteoblue.com/de/wetter/woche/k%C3%B6ln_deutschland_2886242" width="100%" height="1000" scrolling="no"></iframe>
</td>
@manuels
manuels / dtls-client.py
Last active September 11, 2020 08:55
dtls for python
# -*- coding: latin-1 -*-
#
# Copyright (C) AB Strakt
# Copyright (C) Jean-Paul Calderone
# See LICENSE for details.
"""
Simple SSL client, using blocking I/O
"""
int apply(int (*func)(int), int x) {
return func(x);
}
import itertools
from collections import namedtuple
import numpy as np
import scipy.sparse.linalg
def step():
W = 0
'''
div E = rho / eta0
div B = 0
Loading: ./model_acc_0.00_ppl_624.87_e2.pt
/home/manuel/tmp/x/OpenNMT-py/virtenv/lib/python3.5/site-packages/torch/nn/modules/rnn.py:38: UserWarning: dropout option adds dropout after all but last recurrent layer, so non-zero dropout expects num_layers greater than 1, but got dropout=0.3 and num_layers=1
"num_layers={}".format(dropout, num_layers))
Loading model parameters.
ReinforcedModel(
(encoder): RNNEncoder(
(embeddings): Embeddings(
(make_embedding): Sequential(
(emb_luts): Elementwise(
(0): Embedding(32567, 500, padding_idx=1)
333g flour
233ml water
13g olive oil
7g salt
3g dried yeast
@manuels
manuels / main.rs
Created May 27, 2018 10:16
Rust bug
fn main() {
loop {
let beacon = {
match true {
false => 4,
true => break,
}
};
drop(&beacon);
}
#![feature(proc_macro, generators, pin)]
pub extern crate std as stdx;
pub extern crate futures_async_runtime;
extern crate tokio;
extern crate futures as futures1;
extern crate futures_core;
extern crate futures_compat;
extern crate futures_executor;
extern crate futures_macro_async;