Skip to content

Instantly share code, notes, and snippets.

View vnys's full-sized avatar

Victor Nystad vnys

View GitHub Profile
@vnys
vnys / vscode-markdown-preview-styles.css
Last active February 16, 2019 08:42
vscode markdown preview styles
body {
color: orange !important;
}
* {
color: pink !important;
}
@vnys
vnys / klus-mgp.md
Last active December 3, 2018 13:49
KLUS MGP
  • Evalueringsskjema
  • Google Drive
@vnys
vnys / .babelrc
Last active November 22, 2018 08:30
React and Parcel simplest setup possible
{
"presets": [
"@babel/preset-react"
]
}
@vnys
vnys / Powerline.md
Created October 24, 2018 20:39 — forked from mrkara/Powerline.md
Install Powerline on Debian 9 Stretch
  1. Install pip sudo apt-get install python-pip
  2. Install powerline sudo pip install powerline-status
  3. Install fonts sudo apt-get install fonts-powerline
  4. Add these lines to respective files:

.vimrc > set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/

@vnys
vnys / index.html
Created September 29, 2018 09:19
AFK 2012 Hetlevik
<iframe src="https://calendar.google.com/calendar/embed?showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=600&amp;wkst=2&amp;bgcolor=%23FFFFFF&amp;src=vouajpiu4g0phsgj14slibgjt0%40group.calendar.google.com&amp;color=%23AB8B00&amp;ctz=Europe%2FOslo" frameborder="0" scrolling="no" style="width: 100vw; height: 100vh; border: none"></iframe>
@vnys
vnys / details.md
Last active July 9, 2018 07:12
details github flavored markdown

Using details and summary

When you have a very long list or stack trace in a comment or issue on github, you can use the details and summary elements to make a collapsible block

Here be dragons!

Zero indents if you want to use markdown

  • Dusan hates
@vnys
vnys / DIR_COLORS
Created May 21, 2018 16:00
dir colors
# Executables og directories endret, ble for mørk med gotham
# Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option.
# This file goes in the /etc directory, and must be world readable.
# You can copy this file to .dir_colors in your $HOME directory to override
# the system defaults.
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
# Copying and distribution of this file, with or without modification,
@vnys
vnys / install-tmux
Created May 16, 2018 07:12 — forked from philipsd6/install-tmux
Install tmux 2.3 on rhel/centos 7
# Install tmux on rhel/centos 7
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
tar -xvzf libevent-2.0.22-stable.tar.gz
cd libevent-2.0.22-stable
./configure --prefix=/usr/local