I am Nate Brune, bio is wip.
natebrune / aetherpeerdump Goto Github PK
View Code? Open in Web Editor NEWA temporary website created for the great peer discovery algorithm scare of '15
A temporary website created for the great peer discovery algorithm scare of '15
I mucked up a bit in my haste.
When reading the IP and port from the table, I forget to trim the whitespace away.
$("#ptable").find("tr").each(function(){
var $tds = $(this).find("td");
if($tds.length == 4){
var ip = $tds[1].textContent.replace(/^\s+|\s+$/g, '')
var port = $tds[2].textContent.replace(/^\s+|\s+$/g, '')
ping("http://" + ip + ":" + port).then(function(ms){
$tds[3].innerHTML = " (" + ms + ")"
}).catch(function(e){
$tds[3].innerHTML = " (down)"
})
}
})
Title says it al, you should sort after who's online.
For some strange reason you get a selection cursor while hovering over the 'Find your friends' field on the front page. This makes is look as though it is an input.
Why aren't you using a database?!
In the addpeer.php site I noticed that you're just dumping the request content into the index.php file. Doesn't this make it super vulnerable to CSRF and XSS etc?
I would really recommend you moving to some sort of database! It should be really easy to implement MySQL since you're using PHP and they cooperate very well.
Feel free to contact me if you need help ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.