View PyDocstrTxtObj
function! PyDocstrTxtObj (inner) | |
" TEXT OBJECT FOR IN/AROUND PYTHON DOCSTRING | |
" | |
" For docstrings in this format: | |
" ,------------------------------. | |
" | ''' | | |
" | Module-level docstring. | | |
" | Text object works on these. | | |
" | ''' | | |
" | | |
View craplens.py
# HELPER FUNCTIONS | |
comp2 = lambda f: lambda g: lambda x: f(g(x)) # 2 should be enough for anyone | |
cmap = lambda f: lambda xs: map(f, xs) # curried map | |
reverse = lambda xs: xs[::-1] | |
upper = lambda x: x.upper() | |
inc = lambda x: x + 1 | |
add = lambda n: lambda x: x + n |
View gfixler #vim history lesson
04:22 < walt> hahaha, I love whem vim help talks about performance.. Can tell when it was originally written | |
04:22 < walt> "Vim does on-the-fly spell checking. To make this work fast the word list is | |
04:22 < walt> oh gosh | |
04:22 < dawik> i use airline. its pretty nice | |
04:22 < walt> loaded in memory. Thus this uses a lot of memory (1 Mbyte or more)." | |
04:22 < gfixler> dawik: me too | |
04:22 -!- bandini [~michele@97e50b0e.skybroadband.com] has quit [Ping timeout: 260 seconds] | |
04:22 < mozzarella> I just want a line that tells me the current buffer number and the total number of buffers | |
04:23 < mozzarella> does airline do that? | |
04:23 < gfixler> QED - the Quick EDitor was created at the University of California at Berkeley in the late 60s |
View lofp_rank
Standardized Ladder of Functional Programming | |
http://lambdaconf.us/downloads/documents/lambdaconf_slfp.pdf | |
Level Key | |
0: I've never heard of this | |
1: I've heard of this | |
2: I've looked into this, but don't get it yet | |
3. I have a basic understanding/am using this | |
4. I've used this for a while/feel pretty solid on | |
5. I could comfortably teach this to others |
View OpenCourseOnline
Probabilistic Graphical Models with Professor Daphne Koller - Stanford University {{{1 | |
01.01 - Welcome | https://www.youtube.com/watch?v=WPSQfOkb1M8 | |
01.02 - Overview and Motivation | https://www.youtube.com/watch?v=6AVurePzK3Y | |
01.03 - Distributions | https://www.youtube.com/watch?v=Y1i7Tzj9YFg | |
01.04 - Factors | https://www.youtube.com/watch?v=5R5ixMmKQzg | |
02.01 - Semantics & Factorization | https://www.youtube.com/watch?v=6ODl1rxoT14 | |
02.02 - Reasoning Patterns | https://www.youtube.com/watch?v=dSLlBMOKWF4 | |
02.03 - Flow of Probabilistic Influence | https://www.youtube.com/watch?v=PfirsYouObw |
View bf.vim
+++++ + ++++ + +++++++ ++ | |
*+++++ + + ++++++++++++* + +++ +++++ | |
++ + + + +++++*+++ + ++ + +++ | |
+ + + + + + ++ + *++ | |
+ + ++ + ++ +++ + ++ | |
++ ++ * +++ ++ +++ + .+ | |
++ ++ ++ ++ *++ .-- - -- | |
---- -- -- -- -*- --- - -- | |
- --- -- -- -- --* --- - -- | |
-- -- -- -- -- --- *-------- |
View maya2017install.sh
#!/bin/bash | |
# Make sure the tgz file is in the home directory | |
# Original script downloaded educational version, | |
# whereas I need to use the full, paid-for version | |
# https://forums.autodesk.com/t5/installation-licensing/maya-2018-ubuntu-16-04-lts-start-up-errors/m-p/7446146 | |
FILE=Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz | |
if [ ! -f ~/$FILE ]; then | |
echo Cannot find ~/$FILE | |
exit |
View EasyJumpPreciseMotionAce.vim
" ACEJUMP | |
" Based on emacs' AceJump feature (http://www.emacswiki.org/emacs/AceJump). | |
" AceJump based on these Vim plugins: | |
" EasyMotion (http://www.vim.org/scripts/script.php?script_id=3526) | |
" PreciseJump (http://www.vim.org/scripts/script.php?script_id=3437) | |
" Type AJ mapping, followed by a lower or uppercase letter. | |
" All words on the screen starting with that letter will have | |
" their first letters replaced with a sequential character. | |
" Type this character to jump to that word. |
View installvim.sh
#!/bin/bash | |
# based on: | |
# https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source | |
sudo apt-get remove vim vim-runtime gvim vim-tiny vim-common vim-gui-common vim-nox gvim |
View Haskell Reverse Dependencies List, sorted by Total Dependency Count (2017-10-20)
1 11684 base | |
2 4409 bytestring | |
3 3980 containers | |
4 3379 text | |
5 3099 mtl | |
6 2565 transformers | |
7 2019 directory | |
8 1791 filepath | |
9 1717 QuickCheck | |
10 1702 time |
NewerOlder