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
<?xml version="1.0" encoding="windows-1251"?> | |
<!DOCTYPE hrd PUBLIC "-//Cail Lomecb//DTD Colorer HRD take5//EN" | |
"http://colorer.sf.net/2003/hrd.dtd"> | |
<hrd xmlns="http://colorer.sf.net/2003/hrd"> | |
<assign name="def:Text" fore="#55cc66" back="#001800"/> | |
<assign name="def:HorzCross" fore="#e1ebe0" back="#80003300"/> | |
<assign name="def:VertCross" fore="#e1ebe0" back="#80003300"/> | |
<assign name="def:Intersect" fore="#e1ebe0" back="#80003300"/> | |
<assign name="def:Mark" fore="#c0001800" back="#c055cc66"/> |
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
package main | |
import ( | |
"fmt"; | |
"os"; | |
"os/exec"; | |
"io/ioutil"; | |
"path/filepath"; | |
"github.com/fatih/color"; | |
) |
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
/** | |
* Concat paths as you expected. | |
*/ | |
def concat (paths: String*): String = { | |
(paths.length match { | |
case 0 => Paths.get("") | |
case 1 => Paths.get(paths(0)) | |
case _ => Paths.get( | |
paths.foldLeft("")((acc: String, next: String) => | |
if (next == "..") { |
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
;;; common-mode-line.el --- mode-line common for all windows. | |
;; Copyright (C) 2017 Constantin Kulikov | |
;; | |
;; Author: Constantin Kulikov (Bad_ptr) <zxnotdead@gmail.com> | |
;; Version: 0.1 | |
;; Package-Requires: () | |
;; Date: 2017/01/24 16:22:13 | |
;; License: GPL either version 2 or any later version | |
;; Keywords: frames, windows, mode-line, convenience |
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
(require 'lorem-ipsum) | |
(fset 'lorem-insert | |
[?\M-x ?L ?o ?r ?e ?m ?- ?i ?p ?s ?u ?m ?- ?i ?n ?s ?e ?r ?t ?- ?p ?a | |
tab return]) | |
(fset 'key-home [C-home]) | |
(fset 'select-word-right [C-S-right]) | |
(fset 'select-word-left [C-S-left]) | |
(fset 'select-word-left [C-S-left]) | |
(fset 'select-line-right [S-end]) |