Skip to content

Instantly share code, notes, and snippets.

@miguelbemartin
miguelbemartin / 01-tcp-server-client-go.md
Created August 25, 2019 13:54
A TCP Server/Client written in Go

A TCP Server/Client written in Go

FROM ubuntu:18.04
MAINTAINER Miguel Ángel Martín <[email protected]>
# Set environment variables
ENV HOME /root
# MySQL root password
ARG MYSQL_ROOT_PASS=root
image: cromattica/ubuntu-php72
pipelines:
branches:
master:
- step:
caches:
- composer
<?php
return array(
'aa' => 'Afar',
'ab' => 'Abkhaz',
'ae' => 'Avestan',
'af' => 'Afrikaans',
'ak' => 'Akan',
'am' => 'Amharic',
'an' => 'Aragonese',
<?php
$countries = array
(
'AF' => 'Afghanistan',
'AX' => 'Aland Islands',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',