Skip to content

Instantly share code, notes, and snippets.

Robin Skahjem-Eriksen ironhouzi

  • Norway
Block or report user

Report or block ironhouzi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Dockerfile
FROM alpine:3.8
ARG SEN2COR_VERSION_URL=2.5.5
ARG SEN2COR_VERSION_FILENAME=02.05.05
# sen2cor install relies on file command
RUN apk add --no-cache file \
&& wget http://step.esa.int/thirdparties/sen2cor/${SEN2COR_VERSION_URL}/Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \
&& chmod +x Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \
&& ./Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \
View alpine-docker-error.log
time="2018-09-22T12:01:51.966174896+02:00" level=warning msg="Error while setting daemon root propagation, this is not generally critical but may cause some functionality to not work or fallback to less desirable behavior" dir=/var/lib/docker error="error writing file to signal mount cleanup on shutdown: open /var/run/docker/unmount-on-shutdown: no such file or directory"
time="2018-09-22T12:01:51.966173995+02:00" level=warning msg="Error while setting daemon root propagation, this is not generally critical but may cause some functionality to not work or fallback to less desirable behavior" dir=/var/lib/docker error="error writing file to signal mount cleanup on shutdown: open /var/run/docker/unmount-on-shutdown: no such file or directory"
View lib.rs
pub mod table;
use std::collections::HashMap;
use std::char;
#[cfg(test)]
mod tests {
use super::maybe_sanskrit;
use super::tokenize;
use super::get_root;
use super::default_parse;
View lib.rs
pub mod table;
use std::collections::HashMap;
use std::char;
#[cfg(test)]
mod tests {
use super::maybe_sanskrit;
use super::tokenize;
use super::get_root;
use super::default_parse;
View lib.rs
pub mod table;
use std::collections::HashMap;
use std::char;
#[cfg(test)]
mod tests {
use super::maybe_sanskrit;
use super::tokenize;
use super::get_root;
use super::default_parse;
View lib.rs
pub mod table;
use std::collections::HashMap;
use std::char;
#[cfg(test)]
mod tests {
use super::maybe_sanskrit;
use super::tokenize;
use super::get_root;
use super::default_parse;
View twitch.vim
function! TwitchEmote(A, L, P)
return [':)', ':(', ':D', '>(', ':|', 'O_o', 'B)', ':O', '<3', ':/', ';)', ':P', ';P', 'R)', 'JKanStyle', 'OptimizePrime', 'StoneLightning', 'TheRinger', 'RedCoat', 'Kappa', 'JonCarnage', 'MrDestructoid', 'BCWarrior', 'GingerPower', 'DansGame', 'SwiftRage', 'PJSalt', 'KevinTurtle', 'Kreygasm', 'SSSsss', 'PunchTrees', 'FunRun', 'ArsonNoSexy', 'SMOrc', 'FrankerZ', 'OneHand', 'HassanChop', 'BloodTrail', 'DBstyle', 'AsianGlow', 'BibleThump', 'ShazBotstix', 'PogChamp', 'PMSTwin', 'FUNgineer', 'ResidentSleeper', '4Head', 'HotPokket', 'FailFish', 'DAESuppy', 'WholeWheat', 'ThunBeast', 'TF2John', 'RalpherZ', 'Kippa', 'Keepo', 'BigBrother', 'SoBayed', 'PeoplesChamp', 'GrammarKing', 'PanicVis', 'ANELE', 'BrokeBack', 'PipeHype', 'YouWHY', 'RitzMitz', 'EleGiggle', 'TheThing', 'HassaanChop', 'BabyRage', 'panicBasket', 'PermaSmug', 'BuddhaBar', 'WutFace', 'PRChase', 'Mau5', 'HeyGuys', 'NotATK', 'mcaT', 'TTours', 'PraiseIt', 'HumbleLife', 'CorgiDerp', 'ArgieB8', 'ShadyLulu', 'KappaPride',
View pandoc_open.vim
function! PandocOpen(filetype)
let l:fpath = '/tmp/' . expand('%:t:r') . '.' . a:filetype
execute '!pandoc -s --highlight-style breezedark -o ' . l:fpath . ' %; xdg-open ' . l:fpath
endfunction
nnoremap <silent> <leader>oh :<C-u>call PandocOpen("html")<CR>
nnoremap <silent> <leader>oo :<C-u>call PandocOpen("html")<CR>
nnoremap <silent> <leader>op :<C-u>call PandocOpen("pdf")<CR>
View error.txt
• Couldn't match expected type ‘[Letter]’
with actual type ‘[Letter] -> [(a, [Letter])]’
• Probable cause: ‘p’ is applied to too few arguments
In the first argument of ‘f’, namely ‘p’
In the first argument of ‘return’, namely ‘(f p)’
In the expression: return (f p)
• Relevant bindings include
p :: [Letter] -> [(a, [Letter])] (bound at src/Main.hs:49:28)
f :: [Letter] -> [(a -> b, [Letter])] (bound at src/Main.hs:49:13)
(<*>) :: Parser (a -> b) -> Parser a -> Parser b
View init.vim
" vim-plug
call plug#begin('~/.vim/plugged')
" Bare necessities
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-vinegar'
Plug 'tpope/vim-abolish'
You can’t perform that action at this time.