Skip to content

Instantly share code, notes, and snippets.

View paco-valdez's full-sized avatar

Francisco Valdez de la Fuente paco-valdez

View GitHub Profile
warnings
/Users/hector/repos/st_sdk_xamarin/SinTrafico.Xamarin/SinTrafico.csproj: Warning NU1701: Package 'Microsoft.Bcl 1.1.10' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. (NU1701) (SinTrafico)
/Users/hector/repos/st_sdk_xamarin/SinTrafico.Xamarin/SinTrafico.csproj: Warning NU1701: Package 'Microsoft.Net.Http 2.2.29' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. (NU1701) (SinTrafico)
/Users/hector/repos/st_sdk_xamarin/SinTrafico.Xamarin.Forms/SinTrafico.Xamarin.Forms.csproj: Warning NU1701: Package 'Microsoft.Bcl 1.1.10' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. (NU1701) (SinTrafico.Xamarin.Forms)
/Users/he
static void Connect(String message)
{
try
{
// Create a TcpClient.
// Note, for this client to work you need to have a TcpServer
// connected to the same address as specified by the server, port
// combination.
Int32 port = 5005;
TcpClient client = new TcpClient("tracking.sintrafico.com", port);
void Connect( String^ message )
{
try
{
// Create a TcpClient.
// Note, for this client to work you need to have a TcpServer
// connected to the same address as specified by the server, port
// combination.
Int32 port = 5005;
TcpClient^ client = gcnew TcpClient( "tracking.sintrafico.com", port );
Shared Sub Connect(message As [String])
Try
' Create a TcpClient.
' Note, for this client to work you need to have a TcpServer
' connected to the same address as specified by the server, port
' combination.
Dim port As Int32 = 5005
Dim client As New TcpClient("tracking.sintrafico.com", port)
' Translate the passed message into ASCII and store it as a Byte array.
@paco-valdez
paco-valdez / Dockerfile
Created February 16, 2018 18:10
OSRM Fragate Docker Image
FROM alpine:3.6 as buildstage
ARG DOCKER_TAG
RUN mkdir -p /src && mkdir -p /opt
COPY . /src
WORKDIR /src
RUN NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk update && \