- Install
osxfuse:
brew cask install osxfuse-
Reboot your Mac.
-
Install
ntfs-3g:
| use std::env; | |
| use std::io; | |
| use std::io::prelude::*; | |
| use std::fs::File; | |
| #[derive(Debug)] | |
| enum Error { | |
| Io(io::Error), | |
| Program(&'static str), | |
| } |
osxfuse:brew cask install osxfuseReboot your Mac.
Install ntfs-3g:
| #!/bin/bash | |
| set -xeuo pipefail | |
| IFS=$'\n\t' | |
| PREFIX="${1:-/usr/local/dvisvgm}" | |
| TEX="$(kpsewhich -var SELFAUTOLOC)" | |
| echo "$PREFIX, $TEX" | |
| brew install automake freetype ghostscript potrace |
| # Redis Cheatsheet | |
| # All the commands you need to know | |
| redis-server /path/redis.conf # start redis with the related configuration file | |
| redis-cli # opens a redis prompt | |
| # Strings. |
| skinparam Activity { | |
| ArrowColor | |
| ArrowFontColor | |
| ArrowFontName | |
| ArrowFontSize | |
| ArrowFontStyle | |
| BackgroundColor | |
| BarColor | |
| BorderColor | |
| BorderThickness |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib.colors import ListedColormap | |
| from sklearn.cross_validation import train_test_split | |
| from sklearn.preprocessing import StandardScaler | |
| from sklearn.datasets import make_moons, make_circles, make_classification | |
| from sklearn.svm import SVC | |
| h = .02 # step size in the mesh |
| Require Import Coq.Setoids.Setoid. | |
| Require Import Arith. | |
| Notation "`Begin p" := p (at level 20, right associativity). | |
| Notation "a =] p ] pr" := (@eq_trans _ a _ _ p pr) (at level 30, right associativity). | |
| Notation "a =[ p [ pr" := (@eq_trans _ a _ _ (eq_sym p) pr) (at level 30, right associativity). | |
| Notation "a `End" := (@eq_refl _ a) (at level 10). | |
| Definition times2 : forall n, n + n = 2 * n := fun n => | |
| `Begin |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| #!/usr/bin/perl | |
| use strict; | |
| open(GROSZ, ">>", "test-uml\xE4\xFCt\xDF-file.txt"); | |
| close(GROSZ); |