We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.
- Vagrantfile
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Base box: https://github.com/akrabat/packer-templates | |
Vagrant.configure("2") do |config| | |
config.vm.box = "19ft/windows2016" | |
config.vm.guest = :windows | |
config.vm.boot_timeout = 600 |
Bash is the JavaScript of systems programming. Although in some cases it's better to use a systems language like C or Go, Bash is an ideal systems language for smaller POSIX-oriented or command line tasks. Here's three quick reasons why:
This document is how I write Bash and how I'd like collaborators to write Bash with me in my open source projects. It's based on a lot of experience and time collecting best practices. Most of them come from these two articles, but here integrated, slightly modified, and focusing on the most bang for buck items. Plus some ne
const dgram = require('dgram'); | |
const socket = dgram.createSocket('udp4'); | |
//var port = 4242 | |
//var port = 8087 | |
var port = 18999 | |
var address = "192.168.14.151" | |
var msg = '<?xml version="1.0" standalone="yes"?><event version="2.0" uid="J-01334" type="a-h-A-M-F-U-M" time="2005-04-05T11:43:38.07Z" start="2005-04-05T11:43:38.07Z" stale="2005-04-05T11:45:38.07Z"><detail></detail><point lat="30.0090027" lon="-85.9578735" ce="45.3" hae="-42.6" le="99.5"/></event>' |