Skip to content

Instantly share code, notes, and snippets.

View cephalization's full-sized avatar
💻
`rm -rf node_modules; npm install; npm start`

Tony Powell cephalization

💻
`rm -rf node_modules; npm install; npm start`
View GitHub Profile
@rogerchi
rogerchi / ddb-sessions.server.ts
Created December 31, 2022 15:05
Using DynamoDB for sessions in remix (File sessions in local dev)
import { DynamoDBClient } from '@aws-sdk/client-dynamodb'
import { DeleteCommand, DynamoDBDocumentClient, GetCommand, PutCommand, UpdateCommand } from '@aws-sdk/lib-dynamodb'
import { Cookie, createCookie, createFileSessionStorage, createSessionStorage, SessionStorage } from '@remix-run/node'
import { v4 as uuidv4 } from 'uuid'
import { getEnv } from '~/utils/get-env'
const LOCAL_DEV = process.env.LOCAL_DEV === 'true'
if (LOCAL_DEV) {
@noelbundick
noelbundick / LICENSE
Last active September 23, 2025 10:49
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@joepie91
joepie91 / vpn.md
Last active October 15, 2025 05:37
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.