Skip to content

Instantly share code, notes, and snippets.

View steadweb's full-sized avatar

Luke Steadman steadweb

View GitHub Profile
@steadweb
steadweb / PostgreSQL-EXTENSIONs.md
Created June 15, 2024 20:43 — forked from joelonsql/PostgreSQL-EXTENSIONs.md
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

What do you know about Sinatra?

(1) Implement code that satisifes the following request / response pattern.

# request: GET '/matt'
# response: "Hello matt.  Do you mind if I call you ttam?"

# your code here

(1) Create a hash with the following key value pairs

key value
red green
yellow purple
blue orange

What do you know about Iteration / Enumeration?

#####(1) Given the following array, use each to enumerate over it, using puts to print this sentence to the console for each element: [THE_NAME] is Mario Batali's fancy [THE_CUISINE] joint.

arr = [
  {name: 'Babbo', cuisine: 'high-priced italian'},
  {name: 'Del Posto', cuisine: 'higher-priced italian'},
  {name: 'Eataly', cuisine: 'disney world of an italian market'},

What do you know about Comparators and Booleans?

#####(1) Given the following array of integers, for each number, print the numbers less than the number in question. For example, given this array:

nums = [1,2,3]

We should see this output:

What do you know about hashes?

#####(1) Instantiate a hash in two ways.

# your code here

#####(2)

<?PHP
// Generates a strong password of N length containing at least one lower case letter,
// one uppercase letter, one digit, and one special character. The remaining characters
// in the password are chosen at random from those four sets.
//
// The available characters in each set are user friendly - there are no ambiguous
// characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option,
// makes it much easier for users to manually type or speak their passwords.
//
// Note: the $add_dashes option will increase the length of the password by