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
diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim | |
index 6c32caa..a415bf8 100644 | |
--- a/plugin/fireplace.vim | |
+++ b/plugin/fireplace.vim | |
@@ -232,7 +232,9 @@ function! s:repl.piggieback(arg, ...) abort | |
else | |
let arg = ' :repl-env ' . a:arg | |
endif | |
- let response = connection.eval('(cemerick.piggieback/cljs-repl'.arg.')') | |
+ "let response = connection.eval('(cemerick.piggieback/cljs-repl'.arg.')') |
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
(take 100 (map #(let [s (str %2 %3) ] (if (seq s) s (inc %)) ) | |
(range) | |
(cycle [ "" "" "Fizz" ]) | |
(cycle [ "" "" "" "" "Buzz" ]))) |
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
open System.IO | |
open System.Security.Cryptography | |
let rec getAllFiles dir = | |
seq { yield! Directory.EnumerateFiles(dir, "*.*") | |
for d in Directory.EnumerateDirectories(dir) do | |
yield! getAllFiles d } | |
let getFileSize (filePath: string) = | |
FileInfo(filePath).Length |
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
#initialize the project | |
> git init | |
> touch text | |
> echo "test" | |
> text | |
> git add text | |
> git commit -m "init and create a text file" |
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
#make second commit | |
> mkdir mappe | |
> touch mappe/mappeFil | |
> echo "test" | |
> mappe/mappeFil | |
> git add . | |
> git commit -m "add the folder 'mappe' and file 'mappeFile' in it" |
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
#some modification to staging area | |
> mkdir stagingMappe | |
> touch stagingMappe/trackedFil | |
> touch stagingMappe/untrackedFil | |
> echo "aaaa" | |
> stagingMappe/trackedFil | |
> echo "bbbb" | |
> stagingMappe/untrackedFil | |
> git add stagingMappe/trackedFil |
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
// Shell | |
> tree | |
├── mappe | |
│ └── mappeFil | |
├── stagingMappe | |
│ ├── trackedFil | |
│ └── untrackedFil | |
└── text |
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
// Shell | |
> git status | |
On branch master Changes to be committed: | |
(use "git reset HEAD <file>..." to unstage) new file: | |
stagingMappe/trackedFil Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
stagingMappe/untrackedFil |
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
// Shell | |
> git log | |
#commit B | |
commit 81c07a34e51242c9c95b92a45c4689bad59ea389 | |
Date: Wed Mar 26 15:42:46 2014 +0100 | |
add the folder 'mappe' and file 'mappeFile' in it | |
#commit A | |
commit 9a60670ed687bce1dd03f2abfff905ce2998798a | |
Date: Wed Mar 26 10:46:42 2014 +0100 |
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
# Shell | |
> git reset --soft HEAD~1 | |
> git status | |
On branch master Changes to be committed: | |
(use "git reset HEAD <file>..." to unstage) | |
new file: | |
mappe/mappeFil | |
new file: | |
stagingMappe/trackedFil | |
Untracked files: |
OlderNewer