Skip to content

Instantly share code, notes, and snippets.

@Luoyayu
Luoyayu / PKGBUILD
Last active September 12, 2020 07:03 — forked from EHfive/PKGBUILD
给VLC打补丁, 使flac网络文件/流的Content-Type始终为"audio/flac", 以"修复"网易云音乐获取的flac网络文件Content-Type为"audio/mpeg"而导致VLC不能正确识别文件而播放失败的问题
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Giovanni Scafora <[email protected]>
# Contributor: Sarah Hay <[email protected]>
# Contributor: Martin Sandsmark <[email protected]>
pkgname=vlc
_vlcver=3.0.6
# optional fixup version including hyphen
_vlcfixupver=
pkgver=${_vlcver}${_vlcfixupver//-/.r}
@Luoyayu
Luoyayu / mixin-example.dart
Last active March 6, 2022 10:24
Tour of Dart: A simple Mixin example about printer
/// Tour of Dart
/// A simple Mixin example about printer.
class Paper {
String sizeName = 'Paper';
// bool printable = false;
// Paper(this.sizeName, this.printable);
/// Here we don't care whether Paper can be printed,