Skip to content

Instantly share code, notes, and snippets.

View stared's full-sized avatar

Piotr Migdał stared

View GitHub Profile
@stared
stared / Hacking Science - invitation note.md
Last active December 11, 2015 03:49
Let's make science more open, more bottom-up, with easier collaboration; in the vein of open source projects.
View Hacking Science - invitation note.md

Hi,

we'd like to invite you to the "Hacking Science" project - creating a community of people interested in (and wanting to contribute to) open science, bottom-up scientific initiatives, new ways of collaborating and sharing knowledge etc. Read below for main idea and how you can get involved.

Academia today has many downsides. Its conservatism and rigid structure often stifle creativity; usually, not much space is left for bottom-up ideas e.g. in the spirit of "open source software" community. We want to focus on creating

@stared
stared / scikit-learn-mac-install.md
Last active December 12, 2015 06:38
Installing scikit-learn on Mac OS X (including gfortran and scipy)
View scikit-learn-mac-install.md

I had some problems with installing scikit-learn on Mac OS X. I believe that the main problem was at step of installing gfortran (required to install scipy, which is required to install scikit-learn).

I was as of Oct 2012; plus it might have depended on some of my custom settings/configurations.

My starting point:

-5. MacOSX 10.8.1 (Mountain Lion)

-4. XCode 4.5 installed with Command line tools

@stared
stared / scikit-learn-barc-meetup.ipynb
Last active December 12, 2015 07:38
Machine learning in Python - introduction to scikit-learn (sklearn), on the Iris dataset example.
View scikit-learn-barc-meetup.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stared
stared / .gitignore
Last active December 16, 2015 01:19 — forked from kogakure/.gitignore
View .gitignore
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
@stared
stared / abbrvurlmendeley.bst
Last active December 16, 2015 17:49
Citations with DOI and additional links (arXiv, PubMed, URL) - LaTeX abbrv.bst style modified, so now it uses bib by Mendeley (for other bib files, some field may have different names, e.g. "arxiv" not "eprint" - feel free to fork and change!).
View abbrvurlmendeley.bst
%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/abbrv.bst
%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
%%% See <http://purl.org/nxg/dist/urlbst>
%%% Added webpage entry type, and url and lastchecked fields.
%%% Added eprint support.
%%% Added DOI support.
%%% Added PUBMED support.
%%% Added hyperref support.
%%% Original headers follow...
% Modified by Piotr Migdal to support Mendeley erronous output
@stared
stared / qutip-braket-sugar.ipynb
Last active December 28, 2015 01:18
Bra-ket notation for QuTiP.
View qutip-braket-sugar.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stared
stared / software_for_scientists.md
Last active December 5, 2023 17:16
Software for scientists: community-edited list of general-purpose software for scientists.
View software_for_scientists.md

Software for scientists

Some things takes much less time and stress once you know the right tool. Below, there is a community edited list of software for scientists.

Text editors

in General purpose text/code editors. It may be better to have a good editor for everything, than different ones for different languages, scripts, notes.

@stared
stared / scientific_productivity_2009.ipynb
Created April 1, 2014 20:28
Scientific productivity in 2009 for countries, total publications and per capita
View scientific_productivity_2009.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stared
stared / matrix_product_state_obc_tikz.tex
Created April 22, 2014 16:12
TikZ code drawing Matrix Product State in tensor diagram notation (i.e. Penrose graphical notation). Get pdf, ps or svg.
View matrix_product_state_obc_tikz.tex
\documentclass{standalone}
%% for compilation with htlatex (to produce svg image),
%% uncomment the line below:
% \def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{tikz}
\tikzstyle{tensor}=[rectangle,draw=blue!50,fill=blue!20,thick]
View pandas_bcn_meetup.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.