…I'm going to use WebStorm to provide a little bit of a kick start over the standard CLI command. I simply open up WebStorm and click on Create New Project on the dialog that appears.
Tarsnap's CLI is built on the UNIX philosophy of teeny-tiny-program-that-composes-well . It's very well suited to backing up infrastructure, where e.g. lack of a GUI would cripple it for backing up data on workstations. (We'll ignore the lack of a Windows client, on the theory that UNIX has either won the server war or come close enough such that durably committing to the UNIX ecosystem leaves Tarsnap with plenty of customers and challenges to work on.)
Data on servers …
We have a number of OSX users in the community (myself included) and some of you may have recently noticed issues extending Chef functionality by installing ruby gems like berkshelf, chefspec, and foodcritic which require building native extensions. Specifically, this issue crops up if you're using omnibus or system Ruby along with newly released Xcode5.1 and its CLI tools.
You can check your version of Xcode with this command: pkgutil --regexp --pkg-info=com.apple.pkg.XcodeMAS_iOSSDK*
…Therefore I've written down an explanation of some command line commands you can insert in the CLI, most of them give added value and make your experience with the cli more enjoyable.
Who has never witnessed the scary feeling of not being connected to the write database when having several terminals open. I do, due to the fact I use the prompt functionality. mysql >\R Production > PROMPT set to 'Production > '
Or you can go a bit further and visualise the user, …
…yet — we measured the performance of our JS dependencies, we built out a new, speedy CLI that uses libsass for crazy fast compiling performance, and we rewrote our docs so they'd help you get up to speed faster than ever before.
We've also put some time into making sure we load quickly through a smaller request in 5.1. To that end, we optimized our compiled CSS and removed about 10% of the CSS lines (okay, the byte reduction is smaller than that, but come on, that's …
Legit: - CLI tool to simplify using git. for Humans
Lucie - framework for writing command-line applications in ruby.
availability.is - to publicize your availability for freelance web work.
Vagrant 1.4 - An end of the year update including support.
...where secure: value is obtained by means of the officalCLI tool: $ travis encrypt AMAZON_SECRET_ACCESS_KEY="..."
That's it! The caching of gem dependencies this way resulted in a >1 minute speedup per build in a project with a relatively small gem bundle .
s3-put is useful for more than just caching dependencies . ruby-build, for instance, uses Travis CI and this script to keep its Ruby download mirror up to date whenever someone adds …
Recently, I helped a client that was having issues with deployments causing locking in their production databases. At a high level, the two key components used in the environment were:
website ](scripted deployments) [
Liquibase (database version control) [ website ]
At a high level, they currently used a CLI call to Liquibase as a sub-task within a larger deployment task. The goal of this engagement was to modify that sub-task to run Liquibase in …
Install the force.com ruby gem : $ gem install force
... or the Node.js library : $ npm install force
Documentation on using the …
You inherit from:: :: :: CLI::Graphite
You still implement run() .
You still describe configurations with option and access them with config .
You output each stat with output(name, value, timestamp) .
You need to at least end with ok() , you can also use the other exit helpers if you want.
Here's disk-usage-metrics.rb as an example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 #!/usr/bin/env ruby …