Skip to content

Instantly share code, notes, and snippets.

View TilakMaddy's full-sized avatar

Tilak Madichetti TilakMaddy

  • Siemens
  • /dev/null
View GitHub Profile
@mpj
mpj / example1.js
Last active January 14, 2019 16:03
Examples for video "Closures - Part 5 of Functional Programming in JavaScript" (http://youtu.be/CQqwU2Ixu-U)
var me = 'Bruce Wayne'
function greetMe() {
console.log('Hello, ' + me + '!')
}
greetMe() // Hello, Bruce Wayne!
@jeremychone
jeremychone / rust-xp-02-postgresql-sqlx.rs
Created May 11, 2021 05:48
Rust to PostgreSQL with SQLX | Rust By Example
#![allow(unused)] // silence unused warnings while exploring (to comment out)
use sqlx::postgres::{PgPoolOptions, PgRow};
use sqlx::{FromRow, Row};
// Youtube episode: https://youtu.be/VuVOyUbFSI0
// region: Section
// Start postgresql server docker image: