This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Run the MakeSfxCA.exe CA packaging tool. --> | |
<!--<Exec Command='"$(MakeSfxCA)" "@(IntermediateCAPackage)" "$(SfxCADll)" "@(IntermediateCAAssembly)" "$(CustomActionContents)"' WorkingDirectory="$(ProjectDir)" />--> | |
<PropertyGroup> | |
<PowerShellTempFileName>$([System.IO.Path]::GetTempPath())$([System.Guid]::NewGuid()).ps1</PowerShellTempFileName> | |
<PowerShellContent>& "$(MakeSfxCA)" "@(IntermediateCAPackage)" "$(SfxCADll)" "@(IntermediateCAAssembly)" "$([System.String]::Join(";", $(CustomActionContents)))"</PowerShellContent> | |
</PropertyGroup> | |
<WriteLinesToFile File="$(PowerShellTempFileName)" Lines="$(PowerShellContent)" Overwrite="true" Encoding="Unicode" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace <namespace> | |
module Railway = | |
// convert a single value into a two-track result | |
let succeed x = | |
Ok x | |
// convert a single value into a two-track result | |
let fail x = | |
Error x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" About | |
" The movement keys have been remapped so that they respond to JKLÖ instead of HJKL, this | |
" goes for window navigation as well (ctrl+w). | |
" :call SetupWorkspace() can be invoked to setup a terminal on the bottom as well as two | |
" vertical splits on top. | |
" ctrl+r can be used instead of F5 in ctrlp. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
noremap h <NOP> | |
noremap j <Left> | |
noremap k <Down> | |
noremap l <Up> | |
noremap ö <Right> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://technet.microsoft.com/en-us/library/cc732742(v=ws.10).aspx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$pages = 20; | |
$padding = 3; | |
$dedicated = 4; | |
function paginate($page) | |
{ | |
global $pages; | |
global $padding; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GruvBox 256 palette fix for the terminal. | |
source ~/.vim/bundle/gruvbox/gruvbox_256palette.sh | |
# Git indicator in PS1. | |
source ~/.git-prompt.sh | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
export GIT_PS1_SHOWSTASHSTATE=1 | |
export GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export GIT_PS1_SHOWUPSTREAM='auto' | |
export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h$(__git_ps1 " (%s)")\[\033[01;34m\] \w\[\033[00m\]\n\$ ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"===== Using this configuration. =====" | |
" This configuration expects Vim to be ran through gVim and requires pathogen to | |
" be installed as well. | |
" It also requires the following plugins in order to function as expected: | |
" * ctrlp.vim - https://github.com/kien/ctrlp.vim | |
" * vim-colorschemes - https://github.com/flazz/vim-colorschemes | |
" * vim-bbye - https://github.com/moll/vim-bbye |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cp /etc/apt/sources.list{,.bak} | |
sed -i -e 's/ \(stable\|wheezy\)/ testing/ig' /etc/apt/sources.list | |
apt-get update | |
apt-get --download-only dist-upgrade | |
apt-get dist-upgrade |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Remap keys to fit swedish touch-typing. | |
nmap j <Left> | |
nmap k <Down> | |
nmap l <Up> | |
nmap ö <Right> | |
nmap J :back <C-m> | |
nmap Ö :forward <C-m> | |
" Remap Ctrl-a in insert mode to select all. | |
:inoremap <C-a> <Ins><C-a><Ins> |
NewerOlder