Below are the programs I install, the Preferences I change, and the configurations I tweak after doing a fresh install of macOS.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Below are the programs I install, the Preferences I change, and the configurations I tweak after doing a fresh install of macOS.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| //Leonardo | |
| Serial_ & dbgTerminal = Serial; | |
| HardwareSerial & espSerial = Serial1; | |
| ////UNO & M328P | |
| //#include <SoftwareSerial.h> | |
| //SoftwareSerial dbgTerminal(10, 11); // RX, TX | |
| //HardwareSerial & espSerial = Serial; | |
| // |
| // Alerts | |
| @include alert-variant($background, $border, $text-color); | |
| // Background Variant | |
| @include bg-variant($parent, $color); | |
| // Border Radius | |
| @include border-top-radius($radius); | |
| @include border-right-radius($radius); | |
| @include border-bottom-radius($radius); |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Bootstrap Masonry Template</title> | |
| <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
| <link rel="stylesheet" href="style.css"> | |
| <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans+Caption:400,700"> |
| var serialport = require('node-serialport') | |
| var sp = new serialport.SerialPort("/dev/ttyO3", { | |
| parser: serialport.parsers.raw, | |
| baud: 9600 | |
| }) | |
| sp.on('data', function(chunk) { | |
| console.log(chunk.toString('hex'), chunk.toString(), chunk) | |
| }) |
| /** | |
| * Wordpress has a known bug with the posts_per_page value and overriding it using | |
| * query_posts. The result is that although the number of allowed posts_per_page | |
| * is abided by on the first page, subsequent pages give a 404 error and act as if | |
| * there are no more custom post type posts to show and thus gives a 404 error. | |
| * | |
| * This fix is a nicer alternative to setting the blog pages show at most value in the | |
| * WP Admin reading options screen to a low value like 1. | |
| * | |
| */ |
| // Helps with this problem: | |
| // http://stackoverflow.com/questions/8059914/express-js-hbs-module-register-partials-from-hbs-file | |
| var hbs = require('hbs'); | |
| var fs = require('fs'); | |
| var partialsDir = __dirname + '/../views/partials'; | |
| var filenames = fs.readdirSync(partialsDir); |