Skip to content

Instantly share code, notes, and snippets.

View morgondag's full-sized avatar
😎
(◉-◉)

Kim Aarnseth morgondag

😎
(◉-◉)
View GitHub Profile
@morgondag
morgondag / router.jsx
Created September 13, 2016 19:43
basic auth example
import React, { Component } from 'react'
import { render } from 'react-dom'
import { browserHistory, Router, Route, Link, withRouter } from 'react-router'
import { checkAuth } from './utils/auth.jsx'
import App from './components/app.jsx'
import Dashboard from './components/dashboard.jsx'
import Register from './components/register.jsx'
import Forgot from './components/forgot.jsx'
@morgondag
morgondag / main.cpp
Created February 24, 2018 18:49
vulkan 101
#include <SDL2/SDL.h>
#include <SDL_vulkan.h>
#include <vulkan/vulkan.h>
#include <stdio.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
5013ca5c4ca81ef0ef06b6cb8e67b84c
Key alias: QG1vcmdvbmRhZy9nZXRnZWVr
Key password: 80766cfee31f0e620e0a9f52800bac85