Skip to content

Instantly share code, notes, and snippets.

View nasyxx's full-sized avatar
🎓
PhD

Nasy nasyxx

🎓
PhD
View GitHub Profile
@nasyxx
nasyxx / curry.py
Last active February 16, 2018 13:11 — forked from JulienPalard/curry.py
KISS Python curry
#!/usr/bin/env python
def curry(func):
"""
Decorator to curry a function, typical usage:
>>> @curry
... def foo(a, b, c):
... return a + b + c
@nasyxx
nasyxx / # rust - 2018-01-12_17-15-32.txt
Created January 12, 2018 10:36
rust on macOS 10.13.2 - Homebrew build logs
Homebrew build logs for rust on macOS 10.13.2
Build date: 2018-01-12 17:15:32
$ pyls
zsh: correct 'pyls' to 'pl' [nyae]? n
/usr/local/lib/python3.6/site-packages/statsmodels/compat/pandas.py:56: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.
from pandas.core import datetools
/usr/local/lib/python3.6/site-packages/skimage/viewer/utils/core.py:10: UserWarning: Recommended matplotlib backend is `Agg` for full skimage.viewer functionality.
warn("Recommended matplotlib backend is `Agg` for full "
2018-01-05 18:09:32.577 Python[60554:21692875] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7faaf5a2d390
2018-01-05 18:09:32.580 Python[60554:21692875] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7faaf5a2d390'
*** First throw call stack:
(
@nasyxx
nasyxx / danbooru_faces.md
Created December 27, 2017 06:53 — forked from stormraiser/danbooru_faces.md
Danbooru Faces dataset

Danbooru Faces v0.1

Discription

This dataset contains ~443k anime face images of size 256x256 drawn by ~7,000 artists, obtained from Danbooru

Collection

We first downloaded JSON files of all existing posts numbered from 1 to 2,800,000 using their API. We filtered the posts by the following criteria:

@nasyxx
nasyxx / GRE-Words
Created October 31, 2017 10:57
[GRE] My GRE Words Test #GRE
#+TITLE: GRE Words
#+DATE: <2017-10-31 Tue>
#+AUTHOR: Nasy
#+EMAIL: nasyxx@gmail.com
#+KEYWORDS: GRE, Englesh Words
#+TAGS: fish, 鱼, gre
#+CATEGORIES: Fish, GRE
* Oct 31, 2017
@nasyxx
nasyxx / # atk - 2017-10-25_02-16-15.txt
Created October 24, 2017 18:17
atk on macOS 10.13 - Homebrew build logs
Homebrew build logs for atk on macOS 10.13
Build date: 2017-10-25 02:16:15
@nasyxx
nasyxx / # harfbuzz - 2017-10-25_02-07-26.txt
Created October 24, 2017 18:08
harfbuzz on macOS 10.13 - Homebrew build logs
Homebrew build logs for harfbuzz on macOS 10.13
Build date: 2017-10-25 02:07:26
@nasyxx
nasyxx / ipython_config.py
Last active April 21, 2017 09:00
My ipython config
# Configuration file for ipython.
#------------------------------------------------------------------------------
# InteractiveShellApp(Configurable) configuration
#------------------------------------------------------------------------------
# A Mixin for applications that start InteractiveShell instances.
#
# Provides configurables for loading extensions and executing files as part of
# configuring a Shell environment.
latexindent version 3.0, a script to indent .tex files
latexindent lives here: /usr/local/texlive/2016/texmf-dist/scripts/latexindent/
Mon Apr 10 21:53:26 2017
Processing switches
-l|--localSettings: Read localSettings YAML file
-o|--outputfile: output to file
-c|--cruft: cruft directory
Directory for backup files and indent.log: logs/
YAML settings read
Reading defaultSettings.yaml from /usr/local/texlive/2016/texmf-dist/scripts/latexindent/defaultSettings.yaml
@nasyxx
nasyxx / debug.md
Last active March 21, 2017 08:38
atom beautify debug