Skip to content

Instantly share code, notes, and snippets.

@alexjc
alexjc / reading-list.rst
Last active September 2, 2025 06:34
Reading List on Texture Synthesis

Ubuntu 22.04 for Deep Learning

In the name of God

This gist contains steps to setup Ubuntu 22.04 for deep learning.


Install Ubuntu 22.04

@natowi
natowi / audio2midi.md
Last active March 11, 2026 23:11
List of open source audio to midi packages
@hollemawoolpert
hollemawoolpert / README.md
Last active April 8, 2024 01:16
Simple VRP with Google Developer Resources

Binder

Simple VRP with Google Developer Resources¶

Demonstrates a solution for the simple multi-vehicle routing problem (VRP) using a combination of Google libraries and services. Sample depot and shipment locations randomly chosen in the San Antonio, TX metro area. Distances and times are based on Google's road network.

Getting Started

You will need a Google Maps Platform API Key.

Run on binder

@iedmrc
iedmrc / docker-compose.yml
Last active July 30, 2024 05:47
docker-compose file for the "VROOM with OSRM backend" stack. https://dev.to/iedmrc/vehicle-routing-problems-and-how-to-solve-them-8h3
version: "3"
services:
osrm:
container_name: osrm
image: osrm/osrm-backend
restart: always
ports:
- "5000:5000"
volumes:
- ./osrm:/data
@systemed
systemed / gist:be2d6bb242d2fa497b5d93dcafe85f0c
Last active December 19, 2025 11:59
Routing algorithm implementations
(Dijkstra and plain A* are generally not included here as there are thousands of
implementations, though I've made an exception for rare Ruby and Crystal versions,
and for Thor, Mapzen's enhanced A*. )
A* Ruby https://github.com/georgian-se/shortest-path
A* Crystal https://github.com/petoem/a-star.cr
A* (bidirectional with shortcuts) C++ https://github.com/valhalla/valhalla
NBA* JS https://github.com/anvaka/ngraph.path
NBA* Java https://github.com/coderodde/GraphSearchPal
NBA* Java https://github.com/coderodde/FunkyPathfinding
@fstab
fstab / MATRIX.md
Last active January 5, 2022 12:31
How to use matrix.org and vector.im as an IRC client

How to use matrix.org and vector.im as an IRC client

How to Join an IRC Channel on matrix.org

Join the room #freenode_<#channel>:matrix.org, replacing <#channel> with the name of the IRC channel. For example, in order to join the #prometheus IRC channel, join the room #freenode_#prometheus:matrix.org on matrix.org.

In vector.im, rooms can be joined with the directory symbol on the bottom left.

@wboykinm
wboykinm / decode_osrm.js
Created June 10, 2015 14:20
Get a GeoJSON-friendly linestring from a Valhalla/OSRM route request
// Get a GeoJSON-friendly linestring from a Valhalla/OSRM route request
// Adapted from
// https://github.com/DennisSchiefer/Project-OSRM-Web/blob/develop/WebContent/routing/OSRM.RoutingGeometry.js
// Usage: decode(<"shape" object>, 6) //(precision = 6 seems legit)
var decode = function(encoded, precision) {
var len = encoded.length,
index = 0,
lat = 0,
lng = 0,
array = [];
@denji
denji / Hackback
Last active October 12, 2025 19:56
Nikto, NMap , Skipfish and friends http://www.security-marathon.be/?p=844
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide for those without the patience to wait for whistleblowers
--[ 1 ]-- Introduction
@dodyg
dodyg / gist:5823184
Last active December 5, 2025 17:31
Kotlin Programming Language Cheat Sheet Part 1

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.