Skip to content

Instantly share code, notes, and snippets.

SvelteKit is bae!

Scott Spence spences10

SvelteKit is bae!
View GitHub Profile
View cookie.js
View sveltekit-and-vime.svelte
import { onMount } from 'svelte';
export let src;
let showPlayer = false;
let player;
onMount(async () => {
const { defineCustomElements } = await import('@vime/core');
spences10 / default-windows-terminal-config.json
Created Oct 11, 2021
This is the default config that comes with the Windows Terminal Preview as of 2021-10-11
View default-windows-terminal-config.json
// This file was initially generated by Windows Terminal Preview 1.11.2731.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
"$schema": "",
spences10 / packages.json
Last active Nov 25, 2021
My winget install script, this is all the additional programs I needs for my webdevs and content creation
View packages.json
"$schema" : "",
"CreationDate" : "2021-11-25T08:23:12.657-00:00",
"Sources" :
"Packages" :
"PackageIdentifier" : "ModernFlyouts.ModernFlyouts"
spences10 /
Created Jan 14, 2021
What a good should have:

  • Description of the problem and solution.
  • Whether the solution focuses on back-end, front-end or if it's full stack.
  • Reasoning behind your technical choices, including architectural.
  • Trade-offs you might have made, anything you left out, or what you might do differently if you were to spend additional time on the project.
  • Link to other code you're particularly proud of.
spences10 / fontFace.js
Created Jun 23, 2018
Font Face helper function by mschipperheyn
View fontFace.js
* Awesome helper function from Marc Schipperheyn
* 👌
export function fontFace(
fontWeight = 'normal',
spences10 /
Last active Apr 28, 2018
List of questions to ask employers at interviews

Interview Questions You Should Ask

Why me as a candidate?

I like to ask this one so you can gauge if you're just there to make up the numbers or if they're really interested in you and have read your CV/profile.

How can I best prepare for this role before starting?

This question lets them know you're excited not only about the role, but also about starting and self-learning! You're a go getter and that's great! Plus, having this answered will give you a jump start on being prepared for your first day.


Hey {recruiter-name},

Thanks for getting in touch about the {role} at {company} you're interested in talking to me about.

Before we have a chat I'd like to know a bit about the role and the company first, take this as an initial discussion, please could you tell me.

  • What's the work-life balance?
spences10 /
Created Apr 26, 2018
Set up CentOS on Vagrant for CrafterCMS

Install dependencies on CentOS

For Crafter > Java, Git

use root:

sudo -i
# switch back with 'su - vagrant' when needed
spences10 /
Last active Apr 26, 2018
Install fish shell on CentOS via Vagrant

Install fish and oh my fish on CentOS

If you haven't updated to the latest version of git take a look at this SO post on [installing Git on CentOS] also take a look at the [full post here] for installing fish on other OS'

# switch back with 'su - vagrant' or preferred user when needed
sudo -i
cd /etc/yum.repos.d/
# install wget
yum -y install wget