Skip to content

Instantly share code, notes, and snippets.

View vegarnorman's full-sized avatar

Vegar Norman vegarnorman

View GitHub Profile
@vegarnorman
vegarnorman / .babelrc
Created March 24, 2019 18:46
Frontend med npm scripts, Sass, PostCSS, Rollup, Babel, Autoprefixer et al
{
"presets": ["@babel/preset-env"]
}
@vegarnorman
vegarnorman / wtfdk94.md
Last active March 6, 2019 19:05
The WTF guide to DK94

WTF is even DK94

WTF is this guide?

I'm just trying to gather some info in one place about this game and its tricks and glitches and fun things. I'll update this with clips and videos and more info as time passes. You can find out more by looking at these links:

This guide is written and maintained by NullSprite.

@vegarnorman
vegarnorman / UiForm.tsx
Created February 20, 2019 09:19
Object to components transformation inside form component
import { Component, Prop, State } from "@stencil/core";
import HTTP from '../../../modules/HTTP.js';
import createFormElements from '../../../modules/createFormElements';
@Component({
tag: 'ui-form'
})
export class Form {
/** Props */
@vegarnorman
vegarnorman / wishlist.md
Last active November 30, 2017 19:03
Wishlist

All I want for christmas...

  • Synapse 25 backpack (French Blue 1000 cordura / Northwest Sky 200 Halcyon) Link
  • Phanteks Enthoo EVOLV Link
  • Samsung 960 EVO 250GB Link
@vegarnorman
vegarnorman / .babelrc
Last active November 3, 2017 10:51
Webpack with Sass, PostCSS and JavaScript/JSX
{
"presets": ["env", "react"]
}
@vegarnorman
vegarnorman / win95.md
Last active January 11, 2017 19:51
Windows 95 gaming computer – spill, programmer, gjøreliste!

WIN95 GAMING COMPUTER

Gjøreliste

  • Finne diskettstasjon
  • Fikse filer som mangler i oppstart (program som kan avinstalleres?)
  • Finne ny musedings til tastaturet
  • Vurdere ny HDD/RAM (nåværende 1.4GB/32MB) dersom det ikke koster så mye
  • Skaffe installasjons-CD til Windows 95 (lisens om det ikke koster så innmari mye?)
@vegarnorman
vegarnorman / linkedlist.js
Last active August 29, 2015 14:07
A simple LinkedList implementation using JavaScript
LinkedListItem.prototype = {
getId: function() { return this.id; },
getNext: function() { return (this.next !== undefined || null) ? this.next : null; },
setNext: function(next) { this.next = next; },
unsetNext: function() { delete this.next; },
getPrev: function() { return this.prev; },
isLast: function() { return (this.next === undefined || this.next === null) ? true : false; },
isFirst: function() { return this.isInitial; },
getContent: function() { return this.content; },
setContent: function(content) { this.content = content; }