Skip to content

Instantly share code, notes, and snippets.

View mschewe's full-sized avatar

Mark Schewe mschewe

  • snabble.io
  • Bonn, Germany
  • 07:18 (UTC +02:00)
View GitHub Profile
44-75-73-73-6D-61-6E-6E-20-53-65-72-76-69-63-65-1D-21-00-0D-0A-1B-45-01-69-6D-2
0-48-61-75-73-65--0D-0A-1B-45-01-43-6F-63-61-20-43-6F-6C-61-20-42-65-72-6C-69-6E
--0D-0A-1B-45-01-53-74-72-61-6C-61-75-65-72-20-41-6C-6C-65-65-20-34--0D-0A-1B-45
-01-55-73-74-2D-49-44-3A-31-32-33-34-35-36-37-38-39-30--0D-0A-0D-0A-1B-45-01-4B-
6F-70-69-65-20-23-33--0D-0A-1B-24-00-00-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2
D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-
2D-2D-0D-0A-52-65-63-68-6E-75-6E-67-73-2D-4E-72-2E-3A-20-36-35-36-38-32-1B-24-38
-01-31-34-2E-30-36-2E-32-30-31-38-20-31-39-3A-30-31-0D-0A-1B-24-00-00-4B-61-73-7
3-65-3A-20-32-1B-24-A4-01-53-68-6F-70-3A-20-31-0D-0A-1B-24-00-00-2D-2D-2D-2D-2D-
2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D-2D
@mschewe
mschewe / gst_tools_examples.sh
Created June 19, 2018 12:37 — forked from sepastian/gst_tools_examples.sh
Use gst-launch (gstreamer-tools) to capture single images and stream video from the command-line.
# Capture a single image and save it in JPEG format.
$ gst-launch v4l2src num-buffers=1 ! jpegenc ! filesink location=/tmp/test.jpg
# Stream video from a webcam.
$ gst-launch v4l2src ! xvimagesink
@mschewe
mschewe / __layout.svelte
Created May 17, 2021 07:18
firebase auth attempt with svelte kit
<script context="module" lang="ts">
import { authGuard } from '../auth/guard';
import type { LoadInput, LoadOutput } from '@sveltejs/kit/types/page';
export async function load({ page, fetch, session, context }: LoadInput): Promise<LoadOutput> {
return await authGuard({ page, fetch, session, context });
}
</script>
<script lang="ts">