$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
#!/usr/bin/env bash | |
function get_headphones_index() { | |
echo $(pacmd list-cards | grep bluez_card -B1 | grep index | awk '{print $2}') | |
} | |
function get_headphones_mac_address() { | |
local temp=$(pacmd list-cards | grep bluez_card -C20 | grep 'device.string' | cut -d' ' -f 3) | |
temp="${temp%\"}" | |
temp="${temp#\"}" |
Thanks to @seejee for making this for me!!!
The goal of this is to have an easily-scannable reference for the most common syntax idioms in C# and Rust so that programmers most comfortable with C# can quickly get through the syntax differences and feel like they could read and write basic Rust programs.
What do you think? Does this meet its goal? If not, why not?
I typically wrap all these commands into a shell script that I can reuse, but here they are in steps.
Please read through all the instructions before actually performing the commands, just to avoid any surprises
Requirements:
- careful typing and copy/paste skills
- USB drive (8 GB+ ?) Make sure you don't need anything on that drive
Deprecated: Use https://github.com/otonii/meu-terminal, esse carinha aqui não será mais atualizado.
Antes de atualizar o PowerShellGet, você sempre deve instalar o provedor do NuGet mais recente. Em uma sessão do PowerShell com privilégios elevados, execute os comandos a seguir.
#!/usr/bin/env bash | |
# https://askubuntu.com/questions/1168123/how-do-i-get-my-bluetooth-device-working/1192200#1192200 | |
set -e | |
SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
main() { | |
local kernver | |
kernver=$(uname -r) | |
sudo apt update |
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | |
<ProductVersion>3.10</ProductVersion> | |
<ProjectGuid>91e4dc15-312a-4e90-bc1c-01de5dc99447</ProjectGuid> | |
<SchemaVersion>2.0</SchemaVersion> | |
<OutputName>CoreConsoleAppSetup</OutputName> | |
<OutputType>Package</OutputType> |