Skip to content

Instantly share code, notes, and snippets.

View tk120404's full-sized avatar
🎯
Focusing

Arjunkumar tk120404

🎯
Focusing
View GitHub Profile
@uorat
uorat / nginx-websocket-proxy.conf
Last active September 26, 2024 15:57
Nginx Reverse Proxy for WebSocket
upstream websocket {
server localhost:3000;
}
server {
listen 80;
server_name localhost;
access_log /var/log/nginx/websocket.access.log main;
@geoffleyland
geoffleyland / ortools_vrp_4_depots_14_stops.cpp
Last active February 7, 2019 08:45
Ortools RoutingModel not finding best solution to a VRP in a 14-node example
#include "or_tools_route.h"
#include "ortools/constraint_solver/routing.h"
#include <vector>
#include <cstdio>
using operations_research::RoutingModel;
#define DEPOT_COUNT 4#include "or_tools_route.h"
#include "ortools/constraint_solver/routing.h"
@aescarcha
aescarcha / nodeAsyncTest.js
Created September 25, 2018 07:03
Javascript async / await resolving promises at the same time test
// Simple gist to test parallel promise resolution when using async / await
function promiseWait(time) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve(true);
}, time);
});
}
@curran
curran / INDIA_DISTRICTS_TOPO.json
Last active November 5, 2024 18:19
India Geometries
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.