利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。
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
{ | |
config, | |
pkgs, | |
lib, | |
... | |
}: | |
with lib; let | |
pymodsType = mkOptionType { | |
name = "pymods"; | |
merge = _: defs: |
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/bash | |
set -e | |
function spotstop { | |
killall spotify | |
echo "[Sent kill signal]" | |
# Wait for signs of spotify exiting on DBus | |
grep -m 1 spotify <( exec dbus-monitor "member='RemoveMatch'" ) >/dev/null | |
kill $! 2>/dev/null |
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
# -------- | |
# Hardware | |
# -------- | |
# Opcode - operational code | |
# Assebly mnemonic - abbreviation for an operation | |
# Instruction Code Format (IA-32) | |
# - Optional instruction prefix | |
# - Operational code |
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
[Mounting, checking, etc. of internal drives] | |
Identity=unix-group:admin;unix-group:sudo | |
Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*;org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.udisks2.encrypted-unlock-system;org.freedesktop.udisks2.filesystem-fstab; | |
ResultActive=yes | |
[Change CPU Frequency scaling] | |
Identity=unix-group:admin;unix-group:sudo | |
Action=org.gnome.cpufreqselector | |
ResultActive=yes |
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
<network> | |
<name>default</name> | |
<uuid>eade2870-423f-4b62-8dfb-0accc02cd73c</uuid> | |
<forward mode='bridge'/> | |
<bridge name='br0'/> | |
</network> |
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
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c | |
index 766f5779db92..dc19079dad1b 100644 | |
--- a/drivers/pci/pci.c | |
+++ b/drivers/pci/pci.c | |
@@ -52,6 +52,9 @@ unsigned int pci_pm_d3_delay; | |
static void pci_pme_list_scan(struct work_struct *work); | |
+static void pci_dev_save_and_disable(struct pci_dev *dev); | |
+static void pci_dev_restore(struct pci_dev *dev); |
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/bash | |
useColors=true | |
usePager=true | |
usage() { | |
echo "\ | |
Usage: $(basename $0) [OPTIONS] | |
Shows information about IOMMU groups relevant for working with PCI-passthrough |
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
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> | |
# Contributor: Giovanni Scafora <giovanni@archlinux.org> | |
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> | |
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org> | |
pkgname=vlc | |
_vlcver=3.0.6 | |
# optional fixup version including hyphen | |
_vlcfixupver= | |
pkgver=${_vlcver}${_vlcfixupver//-/.r} |
NewerOlder