Skip to content

Instantly share code, notes, and snippets.

View moritzebeling's full-sized avatar
🌍
Home on earth

moritzebeling moritzebeling

🌍
Home on earth
View GitHub Profile
@acoyfellow
acoyfellow / sapper-to-svelte-kit-conversion.md
Last active August 12, 2021 11:28
My personal Sapper to Svelte-Kit Cheat Sheet (this is not-official, and pre launch, don't use this unless you like fighting dragons and breaking changes)
  • change how you access goto -- from: import { goto } from "@sapper/app"; -- to: import { goto } from "$app/navigation";

  • change how you access sessions --from:

@moritzebeling
moritzebeling / htaccess cheat sheet
Last active February 9, 2020 17:35
htaccess boilerplate
### charset
AddDefaultCharset UTF-8
### directory index
DirectoryIndex index.html
### avoid directory listing
Options -Indexes
### default language