core.typed dependencies: [org.clojure/core.typed "0.2.53"]
require: (require '[clojure.core.typed :as t])
- single param
(t/ann f1 [t/Str -> t/Str])
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
" 検索語を強調表示 | |
set hlsearch | |
" j/k での移動量を3行に | |
map j 5<C-e> | |
map k 5<C-y> | |
" H/L でタブ移動 | |
map H gT | |
map L gt |
(ns foo.core | |
(:require | |
[clostache.parser :as clostache] | |
[cuma.core :as cuma])) | |
(def MAX_NUM 10000) | |
(defmacro time* | |
[expr] | |
`(let [start# (. System (nanoTime)) |
(ns fuga.core | |
(:require | |
[evalive.core :refer [evil]] | |
[clojure.string :as str])) | |
(defn- to-sym [x] | |
(symbol (name x))) | |
(defn- key-map->sym-map [m] | |
(into {} (map (fn [[k v]] [(to-sym k) v]) m))) |
// Initializing variables | |
var dayBaseTime = 5; | |
var oauthDraftUrl = 'http://tools.ietf.org/wg/oauth/draft-ietf-oauth-v2/'; | |
// End of variables initializing | |
var isNull = function(x){ | |
return (x === null || x === undefined); | |
}; |
// Initializing variables | |
var githubAccessToken = 'GitHub Access Token'; | |
var days = 3; | |
var message = 'GitHub: WOOOORK!!!!!'; | |
// End of variables initializing | |
var isNull = function(x){ | |
return (x === null || x === undefined); |
// Initializing variables | |
var dayBaseTime = 5; // (day - 1) if before 5 AM | |
var weatherOption = { | |
location: 'Tokyo' | |
, locationtype: 'city' | |
, days: 0 | |
}; |