Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
SvelteKit is bae!

Scott Spence spences10

💭
SvelteKit is bae!
View GitHub Profile
View cookie.js
View sveltekit-and-vime.svelte
<script>
import { onMount } from 'svelte';
export let src;
let showPlayer = false;
let player;
onMount(async () => {
const { defineCustomElements } = await import('@vime/core');
defineCustomElements();
@spences10
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: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@spences10
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" : "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate" : "2021-11-25T08:23:12.657-00:00",
"Sources" :
[
{
"Packages" :
[
{
"PackageIdentifier" : "ModernFlyouts.ModernFlyouts"
@spences10
spences10 / README.md
Created Jan 14, 2021
What a good README.md should have:
View README.md

README.md

  • 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
spences10 / fontFace.js
Created Jun 23, 2018
Font Face helper function by mschipperheyn
View fontFace.js
/**
* Awesome helper function from Marc Schipperheyn
* https://github.com/mschipperheyn 👌
*
*/
export function fontFace(
name,
src,
fontWeight = 'normal',
@spences10
spences10 / interviewQuestions.md
Last active Apr 28, 2018
List of questions to ask employers at interviews
View interviewQuestions.md

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.

View recruiter-reply.md

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
spences10 / script.md
Created Apr 26, 2018
Set up CentOS on Vagrant for CrafterCMS
View script.md

Install dependencies on CentOS

For Crafter > Java, Git

use root:

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

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