hello world!
" Zip Right | |
" | |
" Moves the character under the cursor to the end of the line. Handy when you | |
" have something like: | |
" | |
" foo | |
" | |
" And you want to wrap it in a method call, so you type: | |
" | |
" println()foo |
- https://github.com/clojure/core.async - readme with nothing, api "docs" if you google
- https://github.com/clojure/test.generative - readme with slightly more than nothing. one or two examples and then "read the source"
- https://github.com/clojure/core.contracts/ - one example and then "read the docstrings"
- https://github.com/liebke/incanter - still a random assortment of wiki pages, blog posts, etc. when I was trying to understand it the best thing I found was a powerpoint presentation
- https://github.com/clojure/core.memoize - "read the docstrings"
- https://github.com/cemerick/friend - has a lot of words but I still can't understand how it works. maybe this is just me being too dumb to get it though.
function! StayStar() | |
let v = winsaveview() | |
execute normal! "*\<c-o>" | |
call winrestview(v) | |
endfunction | |
nnoremap * :call StayStar()<cr> |
I need a key to move the cursor to the space before the current WORD. Here's my use case:
.
cursor --v
$ java -jar foo.jar run /some/long/path/here#
<c-magic>
$ java -jar foo.jar run#/some/long/path/here
cursor --^
That way I can c-w to kill that run command and then type out a different one, but preserving the path.
n = BigDecimal(row.bigDecimal("mycol").get).toBigIntExact.get | |
row.bigDecimal("mycol") // returns Option[java.math.BigDecimal] | |
row.bigDecimal("mycol").get // pull the java.math.BigDecimal out (will scream if it's a None) | |
BigDecimal(row.bigDecimal("mycol").get) // convert to a scala.math.BigDecimal | |
BigDecimal(row.bigDecimal("mycol").get).toBigIntExact // convert to Option[scala.math.BigInt] | |
BigDecimal(row.bigDecimal("mycol").get).toBigIntExact.get // pull out the bigint or scream if it was a None |
Dear soon-to-be-former user, | |
We've got some fantastic news! Well, it's great news for us anyway. You, on | |
the other hand, are fucked. | |
We've just been acquired by: | |
I pronounce the #
character a bunch of different ways, depending on the context:
thing | how I say it |
---|---|
#python on freenode irc |
pound python |
#! in the first line of a script |
hash bang (as in "hash bang bin bash") |
#include in a C file |
pound include |
#+ and #- Lisp reader thingies |
sharp plus and sharp minus |
#' Lisp reader thing |
sharp quote |
#(...) Clojure function |
pound paren |
So I recently got one of these: http://elitekeyboards.com/products.php?sub=topre_keyboards,rf104&pid=yk2100 and promised to review it after a few days. It's now been a few weeks so I'm ready. I've been using a standard Realforce 104 before this.
Like all Realforce keyboards (aside from the Type Heaven which I haven't tried) this thing is built like a tank.
Flickr's new redesign sounds pretty cool, but I've moved over to 500px and don't see myself ever coming back. Here's why.
Oh cool, Flickr redesigned. Let's see what's new. I'll click signin.
Okay, now I'm on a generic Yahoo-branded page. So much for design. Okay, type in username and password and ignore the other crap on the page.