Skip to content

Instantly share code, notes, and snippets.

View jan-glx's full-sized avatar

Jan Gleixner jan-glx

View GitHub Profile
@jan-glx
jan-glx / google_wordcloud.R
Last active July 17, 2016 21:07 — forked from noamross/google_wordcloud.R
Create a wordcloud of your google search history
# Script to make a word cloud of your google searches. Get your google search
# history at https://myactivity.google.com/more-activity . This script assumes the JSON files
# exported are in a 'Searches' subfolder
library(jsonlite)
library(rlist)
library(magrittr)
library(stringi)
library(wordcloud)
library(tm)
@jan-glx
jan-glx / .gitignore
Last active August 29, 2015 14:20 — forked from kogakure/.gitignore
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
function cell2csv(fileName, cellArray, append, separator, excelYear, decimal)
% Writes cell array content into a *.csv file.
%
% CELL2CSV(fileName, cellArray, append, separator, excelYear, decimal)
%
% fileName = Name of the file to save. [ i.e. 'text.csv' ]
% cellArray = Name of the Cell Array where the data is in
% append = false to open a new file, or true to go on with the existent.
% separator = sign separating the values (default = ';')
% excelYear = depending on the Excel version, the cells are put into