Skip to content

Instantly share code, notes, and snippets.

View matthewshan's full-sized avatar

Matthew Shan matthewshan

View GitHub Profile
@matthewshan
matthewshan / JestSnippets.md
Last active August 12, 2024 20:30
Jest Snippets

Jest Snippets

Last Updated: 8/12/2024

The Basics

Mocking

Setup Methods

  • Mocking out modules with the jest.mock() and jest.fn()
@instafluff
instafluff / TheJobinator.md
Last active June 3, 2020 17:28
The Jobinator is a Microsoft Azure Function App that detects new job positions to notify the Comfy Corner for people to know about and apply!

The Jobinator

Here are the steps we took to create The Jobinator new job openings detection service using a serverless Microsoft Azure Function App with a Discord Webhook to notify everyone and be the first to know about new positions to apply to on Instafluff's Coding Cafe on Twitch

If you're interested, you can learn about Microsoft Azure and their cool services I use to build projects like this at https://aka.ms/instafluff-social

Thank you to Microsoft Azure for sponsoring this stream on November 22, 2019!

Steps

@dulimarta
dulimarta / CMakeLists.txt
Last active November 7, 2019 18:52
CIS343 C++ Fraction
cmake_minimum_required(VERSION 3.14)
project(Fraction)
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "-g -Wall")
include_directories(.)
#!/usr/bin/python3.5
# -*-coding:Utf-8 -*
import random
import operator
import time
import matplotlib.pyplot as plt
temps1 = time.time()
@magicznyleszek
magicznyleszek / css-selectors.md
Last active October 11, 2025 17:34
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Hi! If you see an error or something is missing (like :focus-within for few years :P) please let me know ❤️

Element selectors

Element -- selects all h2 elements on the page

h2 {
@rxaviers
rxaviers / gist:7360908
Last active October 31, 2025 18:04
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: