As a side project for Monolog Colored Line Formatter (which int itself also is a side project for Mixed Content Scan) I just published is ANSI PHP. bramus/ansi-php is a set of classes to working with ANSI Control Functions and ANSI Control Sequences (ANSI Escape Sequences) on text based terminals. ANSI Control Functions control an …
Tag Archives: cli
explainshell.com
jq – flexible command-line JSON processor.
rage-quit support for bash
Get screenshots of websites in different resolutions with pageres
Batch install dependencies in all subfolder-organised projects
As a lecturer ICT I have to correct the work our students make. Therefor I collect all solutions and put them in a subfolder-organised structure on disk: per student I create a subfolder and put their solution into that folder(*). $ tree -L 1 . ├── student1 ├── student2 ├── … └── studentN As – …
Continue reading “Batch install dependencies in all subfolder-organised projects”
Rick Astley in your Terminal
QR Code Terminal
qrcode-terminal is a tiny npm module that allows you to encode text as a QR code and render it to a UNIX-compatible terminal. // render QR code to the console qrcode.generate(‘http://michaelbrooks.ca’); // return QR code as a string qrcode.generate(‘http://michaelbrooks.ca’, function (qrcode) { console.log(qrcode); }); QR Code Terminal →
wp-cli — A command line interface for WordPress
wp-cli is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs, create posts and much more. Once installed, you can run commands such as: wp plugin install hello-dolly which will output: Installing Hello Dolly (1.5) Downloading install package from http://downloads.WordPress.org/plugin/hello-dolly.1.5.zip … Unpacking the package … Installing the …
Continue reading “wp-cli — A command line interface for WordPress”
Autocomplete git branch name
Turns out it’s possible to enable autocompletion of git branch names when working on the command line. The script can be automatically installed on OS X using these commands: $ curl -G https://raw.github.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.sh $ echo ‘source ~/.git-completion.sh’ >> ~/.bash_profile Don’t forget to re-open any already open Terminal windows. (via @decthomas) UPDATE: I’ve been …