duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
var browserSync = require('browser-sync'); | |
var del = require('del'); | |
var gulp = require('gulp'); | |
var plugins = require('gulp-load-plugins')(); | |
var runSequence = require('run-sequence'); | |
var paths = { | |
images: "source/**/*.{png,svg,jpg}", | |
styles: "source/**/*.{css,scss}", | |
templates: "source/**/*.swig", |
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
This solution fixes the error caused by trying to run npm update npm -g
. Once you're finished, you also won't need to use sudo
to install npm modules globally.
Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.
I hereby claim:
To claim this, I am signing this object:
# brew update | |
# brew install coreutils | |
echo $(gshuf -i 1-50 -n 5|sort -n|tr "\n" " ") \| $(gshuf -i 1-10 -n 2|sort -n|tr "\n" " ") |
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
I hereby claim:
To claim this, I am signing this object:
use std::fmt; | |
#[derive(Copy,Clone)] | |
enum CellState { Dead, Alive } | |
impl fmt::Display for CellState { | |
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | |
let printable = match *self { | |
CellState::Alive => 'x', | |
CellState::Dead => ' ', |