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
(ns github-dependencies.core | |
(:require [clojure.string :as str] | |
[clj-http.client :as http])) | |
(def github-search-url "https://api.github.com/search/repositories") | |
(def github-projects-data | |
(:body | |
(http/get github-search-url | |
{:query-params {:q "language:clojure" |
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
# _ last return value | |
[1, 2, 3] | |
a = _ | |
# avoid return value | |
a = (1..100000).to_a; nil | |
# reloading the console | |
reload! |
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
tell application (path to frontmost application as Unicode text) | |
activate | |
-- Place the application on top left corner with size 1024x768 | |
set bounds of window 1 to {0, 0, 1024, 768} | |
end tell |
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
" Mappings for moving lines up and down in all modes. | |
nmap <C-j> :m+<CR> | |
imap <C-j> <Esc>:m+<CR> | |
vmap <C-j> :m'>+<CR>gv | |
nmap <C-k> :m-2<CR> | |
imap <C-k> <Esc>:m-2<CR> | |
vmap <C-k> :m-2<CR>gv |
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
bindkey '^[[A' history-beginning-search-backward | |
bindkey '^[[B' history-beginning-search-forward |