Skip to content

Instantly share code, notes, and snippets.

Laravel alternatives in NodeJS

These are alternative packages/frameworks in NodeJS that cover some of the primary features in Laravel. This is by no means a comprehensive list of Laravel features (or a comprehensive list of NodeJS alternatives).

Depending on your perspective, this list either shows how it's possible to switch from Laravel to NodeJS or shows why you'd want to stay with Laravel πŸ˜ƒ


Full stack framework alternatives: Nest, Adonis

@bpsib
bpsib / BBC-Radio-HLS.m3u
Last active March 29, 2024 06:30 — forked from stengland/BBC-Radio.m3u
BBC Radio Streams
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Xtra
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Dance
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Relax
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one_relax/bbc_radio_one_relax.isml/bbc_radio_one_relax-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 2
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active March 29, 2024 06:27
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@vasanthk
vasanthk / System Design.md
Last active March 29, 2024 06:27
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@cassidoo
cassidoo / base-css.md
Created May 4, 2022 06:37
Base CSS for a plain HTML document

If you don't want to deal with styling a mostly text-based HTML document, plop these lines in and it'll look good:

html {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 1.3em;
  max-width: 40rem;
  padding: 2rem;
  margin: auto;
 line-height: 1.5rem;
@bennlee
bennlee / fix-input-source-switching-delay-in-m1-macbook.md
Last active March 29, 2024 06:23
M1 λ§₯μ—μ„œ ν•œμ˜ν‚€ μ „ν™˜ λ”œλ ˆμ΄ ν•΄κ²°ν•˜κΈ°

M1 λ§₯λΆμ—μ„œ ν•œμ˜ν‚€ μ „ν™˜ λ”œλ ˆμ΄ ν•΄κ²°ν•˜κΈ°

λ§₯μ—μ„œ Caps Lock을 ν•œ/영 μ „ν™˜ν‚€λ‘œ μ‚¬μš©ν•˜λ©΄μ„œλΆ€ν„° λ”œλ ˆμ΄κ°€ μƒκΈ°κ±°λ‚˜, μ œλŒ€λ‘œ λ°”λ€Œμ§€ μ•ŠλŠ” 고질적인 λ¬Έμ œκ°€ κΎΈμ€€νžˆ λ°œμƒν•΄μ™”λ‹€. λŒ€μ†Œλ¬Έμžλ₯Ό κ³ μ •ν•˜λŠ” Caps LockκΈ°λŠ₯κ³Ό ν•œ/영 μ „ν™˜ κΈ°λŠ₯을 λˆ„λ₯Έ μ‹œκ°„μ— κΈ°λ°˜ν•˜μ—¬ κ΅¬λΆ„ν•˜λŠ” κ³Όμ •μ—μ„œ 생긴 문제둜 μΆ”μ •λ˜μ§€λ§Œ, Caps LockκΈ°λŠ₯을 ν•΄μ œν•΄λ„ μ—¬μ „νžˆ λ¬Έμ œκ°€ λ°œμƒν•œλ‹€. 이에 μ‚¬μš©μžλ“€μ€ karabiner-elementsλ“±μ˜ νŽΈλ²•μ„ 톡해 Caps Lockν‚€λ₯Ό μ‹€μ œλ‘œ μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” F18λ“±μ˜ ν‚€λ‘œ λ§€ν•‘ν•˜μ—¬ ν•΄κ²°ν•΄ μ™”λ‹€.

ν•˜μ§€λ§Œ, Apple Silicon을 νƒ‘μž¬ν•œ κΈ°κΈ°λ“€μ—μ„œλŠ” λ‹€μŒκ³Ό 같은 λ¬Έμ œκ°€ μžˆλ‹€.

  • karabiner-elementsκ°€ μ œλŒ€λ‘œ μ§€μ›λ˜μ§€ μ•ŠλŠ” μ΄μŠˆκ°€ μžˆμ–΄ hammerspoonλ“±μ˜ 차선책을 μ‚¬μš©ν•΄μ•Όν•œλ‹€.
  • M1 μ΄μ „κΉŒμ§€μ˜ λ§₯κ³ΌλŠ” λ‹€λ₯΄κ²Œ ν‚€λ§€ν•‘λ§ŒμœΌλ‘œ λ¬Έμ œκ°€ μ™„μ „νžˆ ν•΄κ²°λ˜μ§€ μ•ŠλŠ”λ‹€.
@OrionReed
OrionReed / DOM3D.js
Last active March 29, 2024 06:22
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // Β―\\_(ツ)_/Β―
@stevdza-san
stevdza-san / RequestState.kt
Last active March 29, 2024 06:21
Useful wrapper class for handling the data in Jetpack Compose
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.togetherWith
import androidx.compose.runtime.Composable
sealed class RequestState<out T> {
data object Idle : RequestState<Nothing>()
data object Loading : RequestState<Nothing>()
@amk221
amk221 / placeholder.css
Last active March 29, 2024 06:19
Prosemirror placeholder plugin approach
.ProseMirror[data-placeholder]::before {
color: global.$placeholder-colour;
position: absolute;
content: attr(data-placeholder);
pointer-events: none;
}