Skip to content

Instantly share code, notes, and snippets.

Jan Gleixner jan-glx

Block or report user

Report or block jan-glx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jan-glx
jan-glx / google_wordcloud.R
Last active Jul 17, 2016 — forked from noamross/google_wordcloud.R
Create a wordcloud of your google search history
View google_wordcloud.R
# 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)
View 4eb8465a-c78b-4eab-8f14-6f15a1ccad65.txt
_companyName:GitHub
_productName:Atom
_version:1.6.2
platform:win32
process_type:renderer
prod:Electron
ptime:160961635
rept:electron-crash-service
ver:0.34.5
@jan-glx
jan-glx / speed_dist2.py
Created Aug 26, 2015
no wonder C is faster
View speed_dist2.py
__author__ = 'jan'
import numpy as np
import scipy.weave
def grad_dist2(ls, x1, x2=None):
if x2 is None:
x2 = x1
View .gitignore
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
View cell2csv.m
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
You can’t perform that action at this time.