Skip to content

Instantly share code, notes, and snippets.

View invasionofsmallcubes's full-sized avatar
👻
Fool Stack Developer

Emanuele Ianni invasionofsmallcubes

👻
Fool Stack Developer
View GitHub Profile
@narainsagar
narainsagar / mailchimp_3.0.php
Last active June 11, 2023 08:59
How to Dynamically send a newsletter with MailChimp 3.0 via PHP
<?php
/**
* Reference Links:
* - https://mailchimp.com/help/find-your-list-id/
* - https://stackoverflow.com/a/48655086/5228251
* - https://thedebuggers.com/send-mailchimp-newsletter-via-php/
*/
// Include Mailchimp API 3.0
@juhaelee
juhaelee / react-typescript.md
Last active January 26, 2023 00:52
React + Typescript Cheatsheet

React + Typescript Cheatsheet

Setup

If you use atom... download & install the following packages:

What are Typescript type definition files? (*.d.ts)

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active April 20, 2024 16:52
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@rgreenjr
rgreenjr / postgres_queries_and_commands.sql
Last active April 23, 2024 19:14
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'