Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
Install Homebrew
Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
<?php | |
$arrGeoData = array( | |
array( | |
"zipcode" => 777, | |
"latitude" => 37.234982, | |
"longitude" => -82.913799, | |
"cityname" => "tiflis", | |
), | |
array( | |
"zipcode" => 666, |
If you use atom... download & install the following packages:
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
server { | |
listen YOUR_IP_ADDRESS:80 default_server; | |
root /var/www/nginx; | |
index index.html index.htm; | |
# This is just an invalid value which will never trigger on a real hostname. | |
server_name _; | |
server_name_in_redirect off; |
<?php | |
//$file - should contain full url | |
// $newFileName - full physical path directory with file name | |
function getFile($file, $newFileName) | |
{ | |
$err_msg = ''; | |
echo "<br>Attempting message download for $file<br>"; | |
$out = fopen($newFileName, 'wb'); | |
if ($out == FALSE){ | |
print "File not opened<br>"; |
/* | |
* node-ws - pure Javascript WebSockets server | |
* Copyright Bradley Wright <brad@intranation.com> | |
*/ | |
// Use strict compilation rules - we're not animals | |
'use strict'; | |
var net = require('net'), | |
crypto = require('crypto'); |