Skip to content

Instantly share code, notes, and snippets.

View leejoramo-d51's full-sized avatar
Code & Coffee

Lee Joramo leejoramo-d51

Code & Coffee
  • D51 Schools
  • Grand Junction, Colorado
View GitHub Profile
@brianmacarthur
brianmacarthur / flash-app.js
Last active June 4, 2024 13:55
Flash messaging in Express 4: express-flash vs. custom middleware in ejs, handlebars, or jade
var express = require('express');
var cookieParser = require('cookie-parser');
var session = require('express-session');
var flash = require('express-flash');
var handlebars = require('express-handlebars')
var app = express();
var sessionStore = new session.MemoryStore;
// View Engines
@manigandham
manigandham / rich-text-html-editors.md
Last active June 10, 2024 15:49
Rich text / HTML editors and frameworks

Strictly Frameworks

Abstracted Editors

These use separate document structures instead of HTML, some are more modular libraries than full editors

@mralexjuarez
mralexjuarez / Lsyncd Technical Session.md
Last active May 29, 2024 12:18
Quick Tutorial on Using Lsyncd

Lsyncd Technical Session

So what is lsyncd?

Lsyncd is a tool used to keep a source directory in sync with other local or remote directories. It is a solution suited keeping directories in sync by batch processing changes over to the synced directories.

When would we use lsyncd?

So the generic use case is to keep a source directory in sync with one or more local and remote directories.

@d4rekanguok
d4rekanguok / component.svelte
Last active January 31, 2022 14:14
A svelte component you can drop into your svelte kit app to view a list of all your components (poor man's Storybook)
// updated to add props editting, rendering component inside iframe & allowing resizing viewer
<script context="module">
const modules = import.meta.globEager('/src/sections/*.svelte')
const componentNames = Object.keys(modules)
</script>
<script lang="ts">
import cx from 'clsx'
import { browser } from '$app/env'