Skip to content

Instantly share code, notes, and snippets.

@jwinder
jwinder / sonic-pi-tutorial.md
Last active September 22, 2023 20:12
Sonic Pi in-app tutorials concatenated - last synced 27-08-2023 - https://sonic-pi.net/tutorial.html - https://github.com/samaaron/sonic-pi - All credit & thanks to Sam Aaron!

1 Welcome to Sonic Pi

Welcome friend :-)

Welcome to Sonic Pi. Hopefully you're as excited to get started making your own sounds as I am to show you. It's going to be a really fun ride where you'll learn all about music, synthesis, programming, composition, performance and more.

@DanDiplo
DanDiplo / JS-LINQ.js
Last active June 25, 2024 23:39
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version):
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
@MaciejLisCK
MaciejLisCK / CsvBuilder.cs
Last active June 29, 2020 05:56
C# CSV Builder using lambda (with escape)
class Program
{
static void Main(string[] args)
{
var csvBuilder = new CsvBuilder<User>();
var users = new User[]
{
new User() { FirstName = "Maciej", LastName = "Lis", BirthDate = new DateTime(1986,10,31) },
new User() { FirstName = "Krzysztof", LastName = "Lis", BirthDate = new DateTime(1960,1,1), Notes = "Like \".NET Framework\"."},
new User() { FirstName = "Barbara", LastName = "Lis", BirthDate = new DateTime(1960,2,12), Notes = "Buy:\n- 1 orange\n- milk" },
@endolith
endolith / Has weird right-to-left characters.txt
Last active June 1, 2024 10:58
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶