matthewmueller / dots Goto Github PK
View Code? Open in Web Editor NEWWIP bootstrapping library for osx & ubuntu (and maybe others!)
Home Page: http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac
WIP bootstrapping library for osx & ubuntu (and maybe others!)
Home Page: http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac
I just setup up a clean machine (thanks!) and had a minor problem: install.sh failed at first try since mkdir /usr/local/ couldn't be created w/o sudo priviledges. I added sudo to the command, but than install.sh failed just a few lines later, so I just run sudo ./install.sh
title says it all.
case-sensitive OS X shows these errors:
Remove the sleep image file to save disk space
rm: /Private/var/vm/sleepimage: No such file or directory
Creating a zero-byte file instead…
touch: /Private/var/vm/sleepimage: No such file or directory
…and make sure it can’t be rewritten
chflags: /Private/var/vm/sleepimage: No such file or directory
because the folder is called 'private', not 'Private'
You even mentioned shellshock in your blog post... and you still think switching to bash is a good idea?
A lot of other linux distros were pwned exactly because bash was their default (/bin/sh) shell.
Do NOT use bash as the system default shell.
You can use it (but why not zsh?) as your user shell (chsh
) but DO NOT TOUCH IT IN debconf
.
I've got this error
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'mamp' with message: Download failed: http://downloads.mamp.info/MAMP-PRO/releases/3.1/MAMP_MAMP_PRO_3.1.pkg
after downloading Mamp-Pro :
==> Downloading http://downloads.mamp.info/MAMP-PRO/releases/3.1/MAMP_MAMP_PRO_3.1.pkg
Have I missed anything here? fresh yosi install, ran command, entered admin password... Permission denied?
$ (mkdir -p /tmp/dots && cd /tmp/dots && curl -L https://github.com/matthewmueller/dots/archive/master.tar.gz | tar zx --strip 1 && sh ./install.sh)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 127 0 127 0 0 92 0 --:--:-- 0:00:01 --:--:-- 92
100 12806 100 12806 0 0 4160 0 0:00:03 0:00:03 --:--:-- 24071
Password:
ln: /usr/local/bin/dots: Permission denied
Not everyone uses Docker, but the script assumes that Docker is a required component.
The command ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
on line 7 of os/osx/update/sh
return with curl: (22) The requested URL returned error: 400 Bad Request
.
For my own brew stuff, I generate data files of my installed stuff via this shell function:
save_brew () {
brew leaves > ~/projects/dotfiles/brew_leaves.txt
brew cask list > ~/projects/dotfiles/brew_cask_list.txt
}
So I can just install stuff normally via brew
and if I decide I want to keep it I can save_brew
. I can install with:
brewify() {
cat "${DOTFILES}/brew_leaves.txt" | xargs brew install
}
I think you'll find maintaining this easier if you move toward keeping code/logic separated from pure data of installed inventory.
Random side note that I like your notion of using golang for a new version of this.
Hi @matthewmueller ,
Just found this project. It looks really cool!
I've been using a similar project, laptop from thoughtbot, as a git submodule for its bash functions like so: https://github.com/AlJohri/dotfiles/blob/master/setup-homebrew.sh#L60
I'm curious what differences you see between this project and https://github.com/thoughtbot/laptop?
on fresh mac (upgraded from 10.9)
Steps to fix:
sudo mkdir -p /usr/local/{lib,bin}
sudo su
... (curl)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.