--- a.txt 2020-02-06 10:28:05.000000000 +0000
+++ b.txt 2020-02-06 10:28:22.000000000 +0000
@@ -1,5 +1,5 @@
module MyModule where
foo :: [Int] -> [Int]
-foo ints = map bar (map baz ints)
+foo ints = map (bar . baz) ints
This file contains 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
" Make backspace behave in a sane manner. | |
set backspace=indent,eol,start | |
" Switch syntax highlighting on. | |
syntax on | |
" Enable file type detection and do language-dependent indenting. | |
filetype plugin indent on | |
set runtimepath^=~/.config/nvim/bundle/ctrlp.vim |
This file contains 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
--- a.txt 2020-02-06 10:28:05.000000000 +0000 | |
+++ b.txt 2020-02-06 10:28:22.000000000 +0000 | |
@@ -1,5 +1,5 @@ | |
module MyModule where | |
foo :: [Int] -> [Int] | |
-foo ints = map bar (map baz ints) | |
+foo ints = map (bar . baz) ints | |
This file contains 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
diff --git a/lib/module.js b/lib/module.js | |
index fb233d6..a2f6faa 100644 | |
--- a/lib/module.js | |
+++ b/lib/module.js | |
@@ -103,20 +103,35 @@ function tryPackage(requestPath, exts, isMain) { | |
if (!pkg) return false; | |
var filename = path.resolve(requestPath, pkg); | |
+ var _filename = path.resolve(requestPath, '_' + pkg); | |
+ |
This file contains 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
{ | |
"ecmaFeatures": { | |
"modules": true, | |
"experimentalObjectRestSpread": true | |
}, | |
"env": { | |
"browser": false, | |
"es6": true, | |
"node": true |
This file contains 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
. | |
├── node_modules | |
│ ├── 00963d697b2adf0c185c4e04e73174ba9b288eb2 | |
│ │ ├── node_modules | |
│ │ │ └── xml-escape -> ../../00963d697b2adf0c185c4e04e73174ba9b288eb2/package | |
│ │ └── package | |
│ │ ├── LICENSE | |
│ │ ├── README.md | |
│ │ ├── index.js | |
│ │ ├── package.json |
This file contains 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
[user] | |
name = Alexander Gugel | |
email = alexander.gugel@gmail.com | |
[alias] | |
lazy = !git add -A && git commit -m 'Too lazy for a commit message' | |
yolo = push origin master --force | |
back = revert HEAD | |
pom = !git pull origin master && git push origin master | |
shit = reset --hard HEAD |
This file contains 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
slate.configAll({ | |
'defaultToCurrentScreen': true, | |
'checkDefaultsOnLoad': true | |
}); | |
var layout = { | |
maximize: S.op('move', { | |
'x' : 'screenOriginX', | |
'y' : 'screenOriginY', | |
'width' : 'screenSizeX', |
This file contains 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
// Start using | |
// go run ping.go -addr=:3141 | |
// Query using | |
// nc -u localhost 3141 | |
package main | |
import ( | |
"log" | |
"net" |
This file contains 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
<div class="card depth-0">card depth-0</div> | |
<div class="card depth-1">card depth-1</div> | |
<div class="card depth-2">card depth-2</div> | |
<div class="card depth-3">card depth-3</div> | |
<div class="card depth-4">card depth-4</div> | |
<div class="card depth-5">card depth-5</div> |
NewerOlder