Skip to content

Instantly share code, notes, and snippets.

View scriptcoded's full-sized avatar

Malcolm Nihlén scriptcoded

View GitHub Profile
@scriptcoded
scriptcoded / link-handler.sh
Last active June 12, 2023 09:37
Link handler to automatically choose the correct browser based on the link. Set as your default link handler.
@scriptcoded
scriptcoded / github-custom-filters.js
Created April 19, 2022 13:29
Greasemonkey GitHub custom filters
// ==UserScript==
// @name GitHub custom filters
// @namespace https://nihlen.io/
// @version 1
// @description Adds custom filters to the GitHub pull request search screen.
// @author Malcolm Nihlén
// @license MIT
// @grant none
// @include /^https?:\/\/github.com\/[^\\]+\/[^\\]+\/pulls.*$/
// ==/UserScript==
@scriptcoded
scriptcoded / cloudSettings
Created June 15, 2020 09:24
Visual Studio Code Settings Sync Gist (for Gustav)
{"lastUpload":"2020-06-15T09:19:39.897Z","extensionVersion":"v3.4.3"}

Keybase proof

I hereby claim:

  • I am scriptcoded on github.
  • I am script_coded (https://keybase.io/script_coded) on keybase.
  • I have a public key ASA4mjBurQ72tJ4a5cHfhOw2syKbmjkzLXm08-rWF6F0Xgo

To claim this, I am signing this object:

model Company {
id String @default(cuid()) @id
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
workspaceId Int @unique
name String
users User[]
}
model User {
@scriptcoded
scriptcoded / cloudSettings
Last active February 15, 2020 18:12
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-02-15T17:59:10.193Z","extensionVersion":"v3.4.3"}
@scriptcoded
scriptcoded / webpack-setup.md
Last active October 29, 2020 08:17
Webpack setup cheat-sheet (with webpack-dev-server)

Summarized from https://www.valentinog.com/blog/from-gulp-to-webpack-4-tutorial/

Intro

This is a quick summary on how to install webpack with webpack-dev-server, and set up Babel and image compression. This is by no means a complete tutorial, but rather a quick cheat-sheet.

Dependencies

If not already done, init your project package.json file.

@scriptcoded
scriptcoded / ACs lilla fusklapp.md
Last active May 25, 2018 15:00
ACs lilla fusklapp

ACs lilla fusklapp :)

Halloj AC! Här kommer en liten fusklapp med saker som kan vara bra att veta när du arbetar med karriärssidorna (och kanske vid andra tillfällen också ;).

Sektion: Text

Alla formateringar på text du vill göra fungerar på samma sätt. Den text du vill modifiera klämmer du alltid in mellan två taggar. Den ena taggen öppnar, den andra stänger. Det ser alltså ut såhär:

ett två tre fyra fem
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.