Skip to content

Instantly share code, notes, and snippets.

View turbo's full-sized avatar

Pierre turbo

View GitHub Profile
@vicenteherrera
vicenteherrera / sshd_wsl2.md
Last active March 17, 2026 17:18
How to enable SSH server to WSL2 in Windows

SSH to WSL2 Linux inside Windows

Instructions to enable OpenSSH on Windows 10/11 that gives you access to WSL2 Linux

Based on this blog article with several changes and additions.

Last update: 2026-01-17

Enable SSH access from your own computer

Start figuring out some information. Open a Powershell terminal as an administrator:

@Nottt
Nottt / compile-opus.sh
Last active September 20, 2022 18:33
Compile Opus-Tools in Ubuntu 18.04
#!/bin/bash
# Install opus-tools
# Latest releases: opus 1.3.1, opus-tools 0.2, opusfile 0.11, libopusenc 0.2.1
set -e
set -o pipefail
# Install packages needed
apt update > /dev/null 2>&1 && apt install -y curl libflac-dev > /dev/null 2>&1
@lateralusX
lateralusX / mono-build-64-bit-cygwin.txt
Last active November 1, 2018 18:13
Build Mono on Windows with 64-bit cygwin.
For 32-bit cygwin see current description on web page,
http://www.mono-project.com/docs/compiling-mono/windows. Bellow instructions apply to 64-bit cygwin
building 32 and 64-bit mono using mingw.
Install prerequisite:
โ€ข A working GIT environment is assumed (GIT can also be installed using chocolatey if needed).
โ€ข Visual Studio 2015.

Turning Off Github Issues

My friend Michael Jackson turned off github issues on one of his smaller projects. It got me thinking...

Maintainers getting burned out is a problem. Not just for the users of a project but the mental health of the maintainer. It's a big deal for both parties. Consumers want great tools, maintainers want to create them, but maintainers don't want to be L1 tech support, that's why they

@turbo
turbo / unitext.md
Last active April 6, 2016 23:43
Format text with unicode only.

unitext

Format text with nothing but Unicode symbols. (Partially supported in Chrome)

Style A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Uppercase, Sans, Regular A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Lowercase, Sans, Regular a b c d e f g h i j k l m n o p q r s t u v w x y z
Uppercase, Serif, Regular ๐€ ๐ ๐‚ ๐ƒ ๐„ ๐… ๐† ๐‡ ๐ˆ ๐‰ ๐Š ๐‹ ๐Œ ๐ ๐Ž ๐ ๐ ๐‘ ๐’ ๐“ ๐” ๐• ๐– ๐— ๐˜ ๐™
Lowercase, Serif, Regular ๐š ๐› ๐œ ๐ ๐ž ๐Ÿ ๐  ๐ก ๐ข ๐ฃ ๐ค ๐ฅ ๐ฆ ๐ง ๐จ ๐ฉ ๐ช ๐ซ ๐ฌ ๐ญ ๐ฎ ๐ฏ ๐ฐ ๐ฑ ๐ฒ ๐ณ
@vihanb
vihanb / PPCGDesign.js
Last active January 29, 2016 05:40 — forked from ConorOBrien-Foxx/WeArePPCG.js
A userscript to redesign the PPCG website
// ==UserScript==
// @name PPCG Design
// @namespace Doแดกษดษขแดแด€แด›
// @version 1
// @author Doแดกษดษขแดแด€แด›
// @grant none
// ==/UserScript==
function qS(x){
return document.querySelector(x);
@ConorOBrien-Foxx
ConorOBrien-Foxx / WeArePPCG.js
Last active February 6, 2022 06:57
A userscript to redesign the PPCG website
// ==UserScript==
// @name favicon
// @namespace Cแดษดแดส€ O'Bส€ษชแด‡ษด
// @version 1
// @grant none
// ==/UserScript==
function qS(x){
return document.querySelector(x);
}
anonymous
anonymous / italianCAP.txt
Created December 6, 2015 17:49
Data file for Stack Exchange Code Golf
67010 AQ
67012 AQ
67013 AQ
67014 AQ
67015 AQ
67017 AQ
67019 AQ
67020 AQ
67021 AQ
67022 AQ
@ocornut
ocornut / imgui_node_graph_test.cpp
Last active March 5, 2026 13:34
Node graph editor basic demo for ImGui
// Creating a node graph editor for Dear ImGui
// Quick sample, not production code!
// This is quick demo I crafted in a few hours in 2015 showcasing how to use Dear ImGui to create custom stuff,
// which ended up feeding a thread full of better experiments.
// See https://github.com/ocornut/imgui/issues/306 for details
// Fast forward to 2023, see e.g. https://github.com/ocornut/imgui/wiki/Useful-Extensions#node-editors
// Changelog
// - v0.05 (2023-03): fixed for renamed api: AddBezierCurve()->AddBezierCubic().
@CMCDragonkai
CMCDragonkai / http_streaming.md
Last active December 24, 2025 06:08
HTTP Streaming (or Chunked vs Store & Forward)

HTTP Streaming (or Chunked vs Store & Forward)

The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.

However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on