- I'm opening a new Firefox window
- I'm going to https://staging.wiki.osgeo.org/
- I click on
Log inon top right corner, which gets me to https://staging.wiki.osgeo.org/w/index.php?title=Special:UserLogin&returnto=Main+Page - It redirects to https://staging.wiki.osgeo.org/wiki/Main_Page
- (BTW: It's 2022-05-23 9:54 CEST)
- I enter:
- Username: Vmische
- Password: :)
- Keep me logged in: No
- I press "Log in" which gets me to https://staging.wiki.osgeo.org/w/index.php?title=Special:WikiUserMerge&returnto=Main_Page
This file contains hidden or 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 script defines a command called `skiprustc` which skips all Rust | |
| # standard library source files when debugging. Just drop this file into your | |
| # `~/.gdbinit.d` directory. | |
| # In order to enable it automatically whenever you debug Rust, you can add | |
| # this hook to your `.gdbinit`: | |
| # | |
| # define hookpost-run | |
| # skiprustc | |
| # end | |
| # |
This file contains hidden or 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::fmt; | |
| use serde::{de, ser, Deserialize, Serialize}; | |
| pub const ENUM_NAME: &str = "enumname"; | |
| pub const ENUM_VARIANT_NAME: &str = "enumvariantname"; | |
| //#[derive(Debug, PartialEq, Deserialize, Serialize)] | |
| #[derive(Debug, PartialEq)] | |
| pub struct Cid(String); |
This file contains hidden or 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
| #!/bin/sh | |
| # From https://aweirdimagination.net/2020/06/28/kill-child-jobs-on-script-exit/ | |
| cleanup() { | |
| # kill all processes whose parent is this process | |
| sudo pkill -P $$ | |
| } | |
| for sig in INT QUIT HUP TERM; do | |
| trap " |
Current (2021-10-11) Debian testing cannot install Nvidia drivers properly. There [bug report 994860], which contains [a patch].
Here are the steps I took to apply that patch and make things work.
Download the fix-kernel514.patch from this Gist.
Then run these commands:
$ sudo apt install nvidia-installer-cleanup glx-alternative-nvidia update-glx glx-diversions glx-alternative-mesa nvidia-support nvidia-kernel-common nvidia-modprobe xserver-xorg-core libvdpau1
This file contains hidden or 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
| // Defines to make the code work with both, CUDA and OpenCL | |
| //#ifdef __NVCC__ | |
| #ifdef __CUDACC__ | |
| #define DEVICE __device__ | |
| #define GLOBAL | |
| #define KERNEL extern "C" __global__ | |
| #define LOCAL __shared__ | |
| #define GET_GLOBAL_ID() blockIdx.x * blockDim.x + threadIdx.x | |
| #define GET_GROUP_ID() blockIdx.x |
This file contains hidden or 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
| #!/bin/sh | |
| #set -o xtrace | |
| # SPDX-FileCopyrightText: Volker Mische <[email protected]> | |
| # SPDX-License-Identifier: MIT | |
| # This script downloads files from Seafile from a password protected directory | |
| # from the command line. It only downloads the files of the given directory, | |
| # it's *not* recursing down directories. | |
| # |
The [FOSSGIS 2021] is using [OBS] for the live-streaming. The speakers are in a [Jitsi] room, they either present live or a pre-recorded video is played. The speakers will be available for a Q&A Session after the talk. A moderator will introduce the talk and also run the Q&A Session.
The person working in OBS will have the following setup:
- [Chromium] works best with Jitsi
- Bookmarklets to change the window titles
- [Mute Tab Extension] as there will be several windows with Jitsi
This file contains hidden or 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
| #!/bin/sh | |
| #set -o xtrace | |
| # SPDX-FileCopyrightText: Volker Mische <[email protected]> | |
| # SPDX-License-Identifier: MIT | |
| # Copies all sub-directories (direct ones, not deeper nested ones) which | |
| # contain at least one file into another directory. It creates the target | |
| # directory if it doesn't exist. | |
| # |