I hereby claim:
- I am ndrsllwngr on github.
- I am ellw (https://keybase.io/ellw) on keybase.
- I have a public key ASCnQK9HJKHHbHQ3FrHZSEm_S6y7UqOhqvHMQXcqs84RSwo
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 => ' ', |
I hereby claim:
To claim this, I am signing this object:
#!/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)" |
# 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" " ") |
I hereby claim:
To claim this, I am signing this object:
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.
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", |