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
{-# LANGUAGE FlexibleContexts, FlexibleInstances, GADTs, GeneralizedNewtypeDeriving, MultiParamTypeClasses, | |
OverloadedStrings, QuasiQuotes, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} | |
import ClassyPrelude (catchAnyDeep) | |
import Conduit | |
import Control.Applicative ((<$>)) | |
import Control.Concurrent.STM.Lifted | |
import Control.Monad (forM_, forever, void) | |
import Control.Monad.Logger (runStderrLoggingT) | |
import Data.Aeson | |
import Data.Text (Text, pack) |
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
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/") | |
("gnu" . "http://elpa.gnu.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/") | |
;; ("marmalade" . "http://marmalade-repo.org/packages/") | |
)) |
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
use v5.16; | |
use File::Copy qw/move copy/; | |
my $f = 'yoba'; | |
my $t = 'yoba2'; | |
my @queue = ($f, $t); | |
while (@queue) { | |
my $from = shift @queue; |
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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
"""""""""""""""""""" Plugins """""""""""""""""""""""""""" | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
""""" Utility | |
" The NERD tree : A tree explorer plugin for navigating the filesystem | |
" http://www.vim.org/scripts/script.php?script_id=1658 | |
" | |
" The NERD Commenter : A plugin that allows for easy commenting of code for many filetypes. | |
" http://www.vim.org/scripts/script.php?script_id=1218 | |
" |
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
" vim: filetype=vifm : | |
" Sample configuration file for vifm (last updated: 27 Jun, 2013) | |
" You can edit this file by hand. | |
" The " character at the beginning of a line comments out the line. | |
" Blank lines are ignored. | |
" The basic format for each item is shown with an example. | |
" This is the actual command used to start vi. The default is vim. | |
" If you would like to use another vi clone such Elvis or Vile | |
" you will need to change this setting. |
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
#################################################### | |
## this is example configuration file, copy it to ## | |
## ~/.ncmpcpp/config and set up your preferences ## | |
#################################################### | |
# | |
##### directories ###### | |
## | |
## Directory for storing ncmpcpp related files. | |
## Changing it is useful if you want to store | |
## everything somewhere else and provide command |
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
########################################################## | |
## this is example bindings configuration file, copy it ## | |
## to ~/.ncmpcpp/bindings and set up your preferences ## | |
########################################################## | |
## | |
##### General rules ##### | |
## | |
## 1) Because each action has runtime checks whether it's | |
## ok to run it, a few actions can be bound to one key. | |
## Actions will be bound in order given in configuration |
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
import {IActionStatus} from '../models/common' | |
export default function updateStatus(status: {[action: string]: IActionStatus}, | |
field: string, | |
type: 'init' | 'success' | 'fail', | |
payload: any) { | |
switch (type) { | |
case 'init': | |
return { | |
...status, |
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
{ | |
"workbench.colorTheme": "Solarized Dark", | |
"files.autoSave": "afterDelay", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true | |
}, |
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
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/") | |
("gnu" . "http://elpa.gnu.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/") | |
;; ("marmalade" . "http://marmalade-repo.org/packages/") | |
)) |
OlderNewer