View sirfit.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:2ad73c71d561e9fe5ff102ce880a6941
https://brianbuccola.com/how-to-install-xmonad-and-xmobar-via-stack/ | |
sudo apt install curl wget | |
sudo apt install libxrandr-dev libxrender-dev | |
sudo apt install libxft-dev libxss-dev libxinerama-dev | |
sudo apt install libiw-dev libxpm-dev | |
stack install --flag xmobar:all_extensions | |
View mergemasks.jl
## Process data from https://www.kaggle.com/c/data-science-bowl-2018/ | |
## Merge a bunch of binary masks into a single one | |
using Glob, Images | |
root = "/home/user/src/data/data-science-bowl-2018/train/" | |
for case in glob("*", root) | |
labels = glob("*png", case * "/masks") | |
mergedlabels = sum(map(load, labels)) | |
save(case * "/mergedmasks.png", mergedlabels) |
View Eigvec2fromeigval.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Eig.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View SE3 Interpolation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View dirmap.c
#include "uv.h" | |
typedef void (*callback)(const char *, int, void*); | |
void dirmap(const char path[], callback cb, void* thunk) { | |
uv_fs_t readdir_req; | |
uv_fs_opendir(NULL, &readdir_req, path, NULL); | |
uv_dirent_t dirent; |
View file-count.c
#include "uv.h" | |
#include "stdio.h" | |
#include "string.h" | |
#include <sys/time.h> | |
int min(int a, int b) { return (a < b)? a : b; } | |
int get_file_count_read(const char path[], int chunklen) { | |
uv_fs_t readdir_req; |
View MNIST CNN in Julia.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder