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
library(dplyr) | |
library(magrittr) | |
library(lubridate) | |
library(bit64) | |
library(stringr) | |
lns <- readLines("~/.rstudio-desktop/history_database") %>% str_split(pattern=":",n=2) | |
hist_db <- data_frame(epoch=as.integer64(sapply(lns,"[[",1)),history=sapply(lns,"[[",2)) | |
hist_db %<>% mutate(nice_date = as.POSIXct(epoch/1000,origin = "1970-01-01",tz = "EET")) |
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
" Vim syntax file | |
" Language: Markdown | |
" Author: Ben Williams <[email protected]> | |
" Maintainer: Hallison Batista <[email protected]> | |
" URL: http://plasticboy.com/markdown-vim-mode/ | |
" Version: 1.0.1 | |
" Last Change: Fri Dec 4 08:36:48 AMT 2009 | |
" Remark: Uses HTML syntax file | |
" Remark: I don't do anything with angle brackets (<>) because that would too easily | |
" easily conflict with HTML syntax |