As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| require 'formula' | |
| class Emacs < Formula | |
| url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3a.tar.bz2' | |
| md5 'f2cf8dc6f28f8ae59bc695b4ddda339c' | |
| homepage 'http://www.gnu.org/software/emacs/' | |
| if ARGV.include? "--use-git-head" | |
| head 'git://repo.or.cz/emacs.git' | |
| else |
| # WAIT! Do consider that `wait` may not be needed. This article describes | |
| # that reasoning. Please read it and make informed decisions. | |
| # https://www.varvet.com/blog/why-wait_until-was-removed-from-capybara/ | |
| # Have you ever had to sleep() in Capybara-WebKit to wait for AJAX and/or CSS animations? | |
| describe 'Modal' do | |
| should 'display login errors' do | |
| visit root_path |
| # The latest version of this script is now available at | |
| # https://github.com/jasoncodes/dotfiles/blob/master/aliases/rbenv.sh | |
| VERSION=1.9.3-p286 | |
| brew update | |
| brew install rbenv ruby-build rbenv-vars readline ctags | |
| if [ -n "${ZSH_VERSION:-}" ]; then | |
| echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.zshrc | |
| else | |
| echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile |
| /**********************************************/ | |
| /* | |
| /* Solarized Dark Skin by Mark Osborne - 2011 | |
| /* | |
| /* Based on IR_Black Skin by Ben Truyman: | |
| /* https://gist.github.com/1245727 | |
| /* | |
| /* and Todd Werth's IR_Black: | |
| /* http://blog.toddwerth.com/entries/2 | |
| /* |
| #!/usr/bin/env sh | |
| # Title: Ruby development environment for OS X (Lion) | |
| # Author: Rogelio J. Samour | |
| # Warning: | |
| # While it is unlikely any code below might damage your system, | |
| # it’s always a good idea to back up everything that matters to you | |
| # before running this script! Just in case. I am not responsible for | |
| # anything that may result from running this script. Proceed at | |
| # your own risk. |
| desc "Create about and revision files." | |
| task :rev_deployment, :roles => [:app, :web] do | |
| require 'grit' | |
| require 'chronic' | |
| # include Grit | |
| work_dir = File.join(File.dirname(__FILE__), '../../') | |
| g = Grit::Repo.new(work_dir) | |
| since = Chronic.parse('last week friday') | |
| msg = "\n" | |
| rev_file = File.join(File.dirname(__FILE__), '../../','tmp/revision.txt') |
| FIXME: | |
| WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 | |
| or | |
| libxml_ruby.bundle: dlsym(0x10fde1900, Init_libxml_ruby): symbol not found | |
| gem uninstall nokogiri libxml-ruby | |
| brew update | |
| brew uninstall libxml2 |
| bootstrap-tooltip.js | |
| bootstrap-popover.js | |
| bootstrap-alert.js | |
| bootstrap-button.js | |
| bootstrap-carousel.js | |
| bootstrap-collapse.js | |
| bootstrap-dropdown.js | |
| bootstrap-modal.js | |
| bootstrap-scrollspy.js | |
| bootstrap-tab.js |
before rvm install 1.9.2, make sure
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion nodejs
rvm requirements可以列出依赖的软件。