We should have at least three files: 'Widget.svelte', 'rollup.config.js' and 'package.json':
- Our widget
Widget.svelte:
<script>
export let name;
</script>
<h1>Hello {name}!</h1>| # set dns | |
| nmcli conn mod "<name>" ipv4.dns "8.8.8.8 8.8.4.4" | |
| # disable auto dns by dhcp | |
| nmcli conn mod "<name>" ipv4.ignore-auto-dns yes | |
| # set static ip | |
| nmcli conn mod "<name>" ipv4.method manual ipv4.addresses <static_ip/subnet_mask> ipv4.gateway <gateway_addr> | |
| # go back to dhcp |
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |
We should have at least three files: 'Widget.svelte', 'rollup.config.js' and 'package.json':
Widget.svelte:<script>
export let name;
</script>
<h1>Hello {name}!</h1>Debugging sending audio over TCP from rust forums [1] and gist [2].
[1]: https://users.rust-lang.org/t/data-become-corrupted-through-tcp/35462/3
[2]: https://gist.github.com/solindev/bf4d89b7f8adc2949ba5e300b73cf083/raw/f934cc71c69230bcf6fabf493b9265b88195271a/sender.rs
Simplified the gist to test only the TCP connection with a sequence of numbers.
cargo --bin --name project or some such.| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| ) |
| { | |
| "workbench.startupEditor": "newUntitledFile", | |
| "workbench.iconTheme": "material-icon-theme", | |
| "python.linting.pylintPath": "/usr/bin/pylint", | |
| "python.formatting.blackPath": "/usr/bin/black", | |
| "editor.fontFamily": "JetBrains Mono", | |
| "editor.fontLigatures": true, | |
| "extensions.showRecommendationsOnlyOnDemand": true, | |
| "extensions.ignoreRecommendations": true, | |
| "files.autoSave": "onFocusChange", |