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
_pkgname=qqmusic | |
pkgname="${_pkgname}"-appimage | |
pkgver=1.1.7 | |
pkgrel=1 | |
pkgdesc="A music player from Tencent" | |
arch=('x86_64') | |
url="https://y.qq.com" | |
license=('custom') | |
depends=('fuse2' 'hicolor-icon-theme' 'zlib' 'glibc') |
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
<html> | |
<head> | |
<script src="/webui.js"></script> | |
</head> | |
Hello World ! | |
<img src="logo.png" alt="图片描述" /> | |
</html> |
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
{ | |
"buckets": [ | |
{ | |
"Name": "main", | |
"Source": "https://github.com/ScoopInstaller/Main", | |
"Updated": "2024-06-21T08:34:08+08:00", | |
"Manifests": 1327 | |
}, | |
{ | |
"Name": "extras", |
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
const std = @import("std"); | |
pub fn main() !void { | |
var gpa = std.heap.GeneralPurposeAllocator(.{}){}; | |
const allocator = gpa.allocator(); | |
defer { | |
const deinit_status = gpa.deinit(); | |
if (deinit_status == .leak) @panic("TEST FAIL"); | |
} |
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
const std = @import("std"); | |
pub fn readFile(fp: []const u8) !void { | |
var gpa = std.heap.GeneralPurposeAllocator(.{}){}; | |
// 拿到一个allocator | |
const allocator = gpa.allocator(); | |
// defer 用于执行general_purpose_allocator善后工作 | |
defer { | |
const deinit_status = gpa.deinit(); |
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
# first you need to install tpm | |
# enable true color support | |
set -g default-terminal "screen-256color" | |
set -sa terminal-features ',xterm-256color:RGB' | |
set -g focus-events on | |
set -sg escape-time 10 | |
# enable mouse support | |
set -g mouse on | |
set -g mode-keys vi |