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
<main><div class="MuiContainer-root MuiContainer-maxWidthLg ewmvy9p1 mui-145op52" data-sentry-element="MainSpacer" data-sentry-source-file="_app.tsx"><article data-sentry-element="ContentWrapperStyled" data-sentry-component="ContentWrapper" data-sentry-source-file="content-wrapper.tsx" class="e137trqa0 mui-11tpj8m e1eczzrn0"></article><article class="e137trqa0 mui-11tpj8m e1eczzrn0" data-sentry-element="ContentWrapperStyled" data-sentry-component="ContentWrapper" data-sentry-source-file="content-wrapper.tsx"><div class="ewmvy9p4 mui-9kmhsw e144jwlq0" data-sentry-element="TitleBlockWrapper" data-sentry-component="TitleBlock" data-sentry-source-file="title-block.tsx"><h1 class="MuiTypography-root MuiTypography-h3 e144jwlq1 mui-vph8so" data-sentry-element="TitleBlockTitle" data-sentry-source-file="title-block.tsx">«Heute wollen alle hierher – früher wollten alle weg»</h1><p class="MuiTypography-root MuiTypography-h6 mui-kwzny3">Die Josefwiese ist ein zentraler Ort der Soziokultur in Zürich. Nicole Schultes ist B |
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
[Unit] | |
Description=Restic backup %I | |
[Service] | |
Type=oneshot | |
Environment="HOME=%h" | |
ExecStart=/usr/bin/restic backup $BACKUP_ARGS "${BACKUP_PATH}" | |
ExecStart=/usr/bin/restic forget --prune $FORGET_ARGS | |
ExecStart=/usr/bin/restic check |
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
use wasm_bindgen::prelude::*; | |
use wasm_bindgen_test::*; | |
use wasm_bindgen_test::wasm_bindgen_test_configure; | |
use dominator_test::App; | |
wasm_bindgen_test_configure!(run_in_browser); | |
#[wasm_bindgen_test(async)] | |
async fn test_html() { |
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
use std::pin::Pin; | |
use std::rc::Rc; | |
use std::task::Poll; | |
use futures_executor::block_on; | |
use futures_util::future::poll_fn; | |
use futures_signals::signal::{Mutable, Signal}; | |
use futures_signals::signal_vec::{MutableVec}; | |
use futures_signals::signal_vec::SignalVecExt; |
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
#[test] | |
fn filter_signal_cloned() { | |
let list = signal_vec::always(vec![3, 1, 6, 2]).map(Rc::new); | |
#[derive(Copy, Clone)] | |
enum FilterOption { Odd, Even } | |
let filter_option = Rc::new(Mutable::new(FilterOption::Odd)); | |
let mut signal = list |
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
extern crate gtk; | |
extern crate gio; | |
extern crate glib; | |
#[macro_use] | |
extern crate relm; | |
#[macro_use] | |
extern crate relm_derive; | |
use relm::{Relm, Update, Widget}; | |
use gio::prelude::*; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CityModel xmlns="http://www.opengis.net/citygml/2.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:gml="http://www.opengis.net/gml" | |
xmlns:bldg="http://www.opengis.net/citygml/building/2.0" | |
xmlns:wtr="http://www.opengis.net/citygml/waterbody/2.0" | |
xmlns:veg="http://www.opengis.net/citygml/vegetation/2.0" | |
xmlns:dem="http://www.opengis.net/citygml/relief/2.0" |
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
package main | |
func printDiff(suppressedKinds []string, kind string, context int, before, after string, to io.Writer) { | |
diffs := difflib.Diff(strings.Split(before, "\n"), strings.Split(after, "\n")) | |
for _, ckind := range suppressedKinds { | |
if ckind == kind { | |
str := fmt.Sprintf("+ Changes suppressed on sensitive content of type %s\n", kind) | |
fmt.Fprintf(to, ansi.Color(str, "yellow")) | |
return |
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
import asyncio | |
from collections import deque | |
class AsyncioPool: | |
def __init__(self, concurrency, loop=None): | |
""" | |
@param loop: asyncio loop | |
@param concurrency: Maximum number of concurrently running tasks | |
""" |
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
# Installation on Dell XPS | |
# Please also consult official documentation: | |
# https://wiki.archlinux.org/index.php/Installation_Guide | |
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360) | |
# https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550) | |
# Enter BIOS with F2 and configure: | |
# - "System Configuration" > "SATA Operation": "AHCI" | |
# - "Secure Boot" > "Secure Boot Enable": "Disabled" |
NewerOlder