Open target file
and vim-cheatsheet.md
together with vim
.
vimm [target file] :
A shortcut for `vim -On [target file] vim-cheatsheet.md`
- Add the directory of
vimm
to$PATH
so that you can callvimm
easily. - The
vim-cheatsheet.md
file should be in the same path asvimm
file.
create ToDo list in the command line
todo:
show all the created todo items
todo add:
create a new todo item
todo insert [id]:
insert a new todo item at [id]
todo del [id]:
delete the item of specified id
todo clear:
clear all the ToDo items.
todo -h:
show the usage of todo
A (unpolished) Python script for parsing BibTeX
Note:
ieee-taslp
is a predefined string inbibtex.py
. In a .bib file, it is defined as:@string{ieee-taslp = "IEEE Trans. Audio, Speech, Language Process."}
>>> from bibtex import BibTeXEntry
>>> bibstring = r'''
@article{Performance-Vincent2006,
author = {Vincent, Emmanuel and Gribonval, R{\'e}mi and F{\'e}votte, C{\'e}dric},
journal = ieee-taslp,
volume = {14},
number = 4,
pages = {1462-1469},
year = {2006},
title = "Performance measurement in blind audio source separation"
}
'''
>>> bib = BibTeXEntry(bibstring)
>>> bib
@article{Performance-Vincent2006,
title={Performance measurement in blind audio source separation},
author={Emmanuel, Vincent and R{\'e}mi, Gribonval and C{\'e}dric, F{\'e}votte},
journal=ieee-taslp,
volume={14},
number={4},
pages={1462--1469},
year={2006},
}
>>> print(bib.to_plaintext(style='IEEEtran'))
E. Vincent, R. Gribonval, and C. Févotte, “Performance measurement in blind audio source separation,” IEEE Trans. Audio, Speech, Language Process., vol. 14, no. 4, pp. 1462–1469, 2006.
>>> print(bib.to_plaintext(style='IEEEbib'))
Emmanuel Vincent, Rémi Gribonval, and Cédric Févotte, “Performance measurement in blind audio source separation,” IEEE Trans. Audio, Speech, Language Process., vol. 14, no. 4, pp. 1462–1469, 2006.
>>> refstring = r'''
F. Weninger, S. Watanabe, Y. Tachioka, and B. Schuller, “Deep recurrent de-noising auto-encoder and blind de-reverberation for reverberated speech recognition,” in 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2014, pp. 4623–4627.
'''
>>> bib2 = BibTeXEntry.plaintext_to_bibtex(refstring)
>>> bib2
@inproceedings{Deep-Weninger2014,
title={Deep recurrent de-noising auto-encoder and blind de-reverberation for reverberated speech recognition},
author={Weninger, F. and Watanabe, S. and Tachioka, Y. and Schuller, B.},
booktitle={2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE},
pages={4623--4627},
year={2014},
}