Iraq at the 2014 Asian Beach Games
Iraq will participate in the 2014 Asian Beach Games in Phuket, Thailand from 14 to 23 November 2014.
Iraq at the 2014 Asian Beach Games | |
---|---|
![]() | |
IOC code | IRQ |
NOC | National Olympic Committee of Iraq |
in Phuket | |
Medals Ranked 29th |
|
Asian Beach Games appearances | |
Medal summary
Medal by Sport
Medals by sport | ||||
---|---|---|---|---|
Sport | ![]() |
![]() |
![]() |
Total |
![]() |
0 | 2 | 2 | 4 |
![]() |
0 | 0 | 1 | 1 |
Total | 0 | 2 | 3 | 5 |
Medal by Date
Medals by date | |||||
---|---|---|---|---|---|
Day | Date | ![]() |
![]() |
![]() |
Total |
–1 | 12 Nov | 0 | 0 | 1 | 1 |
0 | 13 Nov | 0 | 0 | 0 | 0 |
1 | 14 Nov | 0 | 0 | 0 | 0 |
2 | 15 Nov | 0 | 0 | 0 | 0 |
3 | 16 Nov | 0 | 0 | 0 | 0 |
4 | 17 Nov | 0 | 0 | 0 | 0 |
5 | 18 Nov | 0 | 0 | 0 | 0 |
6 | 19 Nov | 0 | 0 | 0 | 0 |
7 | 20 Nov | 0 | 0 | 0 | 0 |
8 | 21 Nov | 0 | 0 | 2 | 2 |
9 | 22 Nov | 0 | 2 | 0 | 2 |
10 | 23 Nov | 0 | 0 | 0 | 0 |
Total | 0 | 2 | 3 | 5 |
gollark: There are many languages you can use for web*server*y stuff, but you can only really use HTML/CSS/JS for frontends.
gollark: With Express.js the server thing would look *very roughly* like this:```javascriptconst express = require("express")const multer = require("multer")const app = express()const upload = multer({ storage: multer.memoryStorage(), limits: { fileSize: 2**22 // 4MiB maximum filesize }})app.get("/image", (req, res) => { res.send(loadImageFromSomewhere())})// send upload form HTML - you would need to write this tooapp.get("/upload", (req, res) => res.sendFile("upload.html"))app.post("/upload", upload.single("file"), (req, res) => { saveImageSomewhere(req.file.buffer)})app.listen(8700, () => console.log("listening")) // listen on port 8700```
gollark: I mean, you could use PHP too. I don't like it. But you could.
gollark: What I might do, though there are probably many ways to: make a program in Node.js or whatever (personal preference) which responds with whatever image is set to any requests for that, and which allows you to upload an image, converts it to the right format, then saves it to be sent when the ESP requests it.
gollark: And you want to be able to upload pictures to some sort of web thing to send to the ESP?
External links
References
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.