Skip to content

Instantly share code, notes, and snippets.

View sorenjuul's full-sized avatar
🤘
rocking

Søren Juul sorenjuul

🤘
rocking
View GitHub Profile
@sorenjuul
sorenjuul / .eslintrc
Last active January 29, 2018 12:18
.eslintrc example
{
"parser": "babel-eslint",
"plugins": [
"react",
"flowtype"
],
"ecmaFeatures": {
"jsx": true,
"modules": true
},
new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en-gb|da|fi|sv|nn/),
// For info about this file refer to webpack and webpack-hot-middleware documentation
// For info on how we're generating bundles with hashed filenames for cache busting: https://medium.com/@okonetchnikov/long-term-caching-of-static-assets-with-webpack-1ecb139adb95#.w99i89nsz
import webpack from 'webpack';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import WebpackMd5Hash from 'webpack-md5-hash';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import autoprefixer from 'autoprefixer';
import path from 'path';
const GLOBALS = {
[credential]
helper = store
[user]
name = xxxxxxx
email = xxxxx@xxxx.xxx
[http]
sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt
[core]
autocrlf = input
@sorenjuul
sorenjuul / .gitconfig
Created November 23, 2020 08:57
.gitconfig mergetool setup for wsl (p4merge)
diff.tool=p4merge
merge.tool=p4merge
difftool.p4merge.cmd=p4merge.exe "$(wslpath -aw $LOCAL)" "$(wslpath -aw $REMOTE)"
mergetool.p4merge.cmd=p4merge.exe "$(wslpath -aw $BASE)" "$(wslpath -aw $LOCAL)" "$(wslpath -aw $REMOTE)" "$(wslpath -aw $MERGED)"
mergetool.p4merge.trustexitcode=false