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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<style type="text/css"> | |
.box { | |
background: linear-gradient(180deg, #2a4b65 0%, #0a748a 100%); | |
width: 1020px; | |
margin: 0 auto; | |
position: absolute; |
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
.header-1 { | |
&:hover { | |
& .team-project-icon { | |
transform: scale(1.2); | |
} | |
} | |
} | |
.header-2 { | |
&:hover { |
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 de.mazdermind; | |
import java.io.IOException; | |
import java.net.InetSocketAddress; | |
import java.nio.ByteBuffer; | |
import java.nio.channels.SelectionKey; | |
import java.nio.channels.Selector; | |
import java.nio.channels.ServerSocketChannel; | |
import java.nio.channels.SocketChannel; | |
import java.util.Iterator; |
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 de.mazdermind; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; | |
import java.nio.CharBuffer; | |
import java.nio.channels.ClosedChannelException; | |
import java.nio.channels.SocketChannel; | |
import java.nio.charset.Charset; | |
import java.nio.charset.CharsetDecoder; | |
import java.nio.charset.CharsetEncoder; |
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 java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.TimeoutException; | |
import org.freedesktop.gstreamer.Element; | |
import org.freedesktop.gstreamer.Gst; | |
import org.freedesktop.gstreamer.Pad; | |
import org.freedesktop.gstreamer.Pipeline; | |
import org.slf4j.Logger; |
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
#!/bin/sh | |
# Generate a 4-track-stereo-testfile which helps to distinctively check audio channel mapping. | |
# Each stereo-pair contains the same phase-correct frequency on each ear | |
# (increasing frequency from lower to higher pairs), with brown noise overlayed | |
# on the right ear. | |
# | |
# When channels are swapped, the frequency on the left and on the right ear | |
# don't match which can be easily detected. | |
# |
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
ffmpeg -v warning -nostats -nostdin -y -analyzeduration 3000000 \ | |
-i http://live.ber.c3voc.de:8000/sloop_native_hd.webm \ | |
\ | |
-c:v libx264 -preset:v veryfast -profile:v main -pix_fmt yuv420p -flags +cgop \ | |
-r:v:0 25 -g:v:0 75 -crf:v:0 21 -maxrate:v:0 4M -bufsize:v:0 18M \ | |
-threads:v 0 -aspect 16:9 \ | |
\ | |
-c:a aac -b:a 192k -ar 48000 -ac 1 \ | |
\ | |
-map 0:v:0 -map 0:a: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
export declare type QueryCallbackFunction = (results: string[]) => void; | |
declare type QueryFunction = (query: string, callback: QueryCallbackFunction) => void; | |
import {Component, Input} from '@angular/core'; | |
@Component({ | |
selector: 'app-example', | |
styleUrls: ['./example.component.scss'], | |
templateUrl: './example.component.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
#include <iostream> | |
// https://github.com/ricab/scope_guard | |
#include "scope_guard.hpp" | |
int main (int argc, char** argv) | |
{ | |
std::cout << "enter main" << std::endl; | |
std::cout << "open something" << std::endl; |
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
#!/usr/bin/env python3 | |
import logging | |
import sys | |
import gi | |
gi.require_version('Gst', '1.0') | |
gi.require_version('GstNet', '1.0') | |
from gi.repository import Gst, GstNet, GObject |