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 | |
add_to_bashrc() { | |
local string="$1" | |
if ! grep -q "$string" "$HOME/.bashrc"; then | |
echo "$string" >> $HOME/.bashrc | |
fi | |
} | |
wget --inet4-only https://dot.net/v1/dotnet-install.sh -O - | bash /dev/stdin --version latest |
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
using InTheHand.Bluetooth; | |
using System; | |
using System.Text; | |
using System.Threading.Tasks; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var discoveryTask = TestDeviceDiscovery(); |
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
using Meadow.Gateways.Bluetooth; | |
using Meadow.Logging; | |
using Meadow.Units; | |
using System; | |
namespace Meadow.Samples | |
{ | |
public delegate void ClicksChangedHandler(int newValue); | |
internal class BleService |
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
using System; | |
using System.Net; | |
using System.Text; | |
using System.Threading; | |
namespace OpenNETCF.Test | |
{ | |
public sealed class SimpleServer : IDisposable | |
{ | |
private readonly HttpListener m_listener = new HttpListener(); |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:common="clr-namespace:NavigationExample.Views" | |
x:Class="NavigationExample.Views.HomeWrapView" | |
Title="Page Title"> | |
<MasterDetailPage.Master> | |
<common:MenuView x:Name="Menu" Title="Menu Title" /> | |
</MasterDetailPage.Master> |