- 永久启用pulseaudio
/etc/pulse/client.conf
autospawn = yes
| package main | |
| import ( | |
| "encoding/binary" | |
| "fmt" | |
| "io" | |
| "os" | |
| "strings" | |
| ) |
| cat /home/jan/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3/server.sh | |
| #!/usr/bin/env sh | |
| # | |
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # | |
| case "$1" in | |
| --inspect*) INSPECT="$1"; shift;; | |
| esac |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>golangci-lint Lint Visualization</title> | |
| <link href="https://unpkg.com/[email protected]/dist/json-tree.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/[email protected]/dist/vue.js"></script> | |
| <script src="https://unpkg.com/[email protected]/dist/json-tree.js"></script> | |
| </head> | |
| <section> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>golangci-lint Lint Visualization</title> | |
| <link href="https://unpkg.com/[email protected]/dist/json-tree.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/[email protected]/dist/vue.js"></script> | |
| <script src="https://unpkg.com/[email protected]/dist/json-tree.js"></script> | |
| </head> | |
| <section> |
| package main | |
| import ( | |
| "fmt" | |
| "html/template" | |
| "io/ioutil" | |
| "net/http" | |
| ) | |
| var txt = "" |
| #include <unistd.h> | |
| #include <assert.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <wslay/wslay.h> | |
| #include <sys/socket.h> | |
| #include <netdb.h> | |
| #include <cstring> | |
| #include <poll.h> |
| package main | |
| import ( | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| ) | |
| func main() { | |
| rpURL, err := url.Parse("http://10.0.0.125:8080") |
| File.stream!("/home/jan/prjs/opus-codec-service/src/git.ogo.run/opuscodec/testprebuilts/far.opus.dong", [], 1) |> Enum.map(fn bl -> :binary.bin_to_list(bl) |> hd end) |> Enum.each(fn b -> if b >= 128 do IO.write "#{b-256}," else IO.write "#{b}," end end) |
| File.stream!("/home/jan/prjs/opus-codec-service/src/git.ogo.run/opuscodec/testprebuilts/far.opus.dong", [], 1) |> Enum.map(fn bl -> :binary.bin_to_list(bl) |> hd end) |> Enum.each(fn b -> if b >= 128 do IO.write "#{b-256}," else IO.write "#{b}," end end) |