Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| =begin | |
| This script uses the AWS v2 API | |
| Gemfile: | |
| source "https://rubygems.org" | |
| gem "aws-sdk", "2.0.17.pre" |
| /* | |
| * Scaffolding | |
| * Basic and global styles for generating a grid system, structural layout, and page templates | |
| * ------------------------------------------------------------------------------------------- */ | |
| .container | |
| Sets a width of 940px which also centres the content (clears floated elements before/after) | |
| .container-fluid | |
| Sets a minimum width of 940px (clears floated elements before/after) |
| # gem "prawn", "0.8.4" | |
| # Sometime there is no enough space for the last table row when it reaches the end of page | |
| Prawn::Document.generate("text_group_overflow_question.pdf") do |pdf| | |
| add_page_break_if_overflow(pdf) do |pdf| | |
| # generating table here | |
| # ... | |
| end | |
| end |