I'm trying to do this:
<RenderOne {...props}>
<ComponentOne />
<ComponentTwo />
<ComponentThree />
</RenderOne>
| #!/bin/sh | |
| # Cribbed most of this from | |
| # https://stackoverflow.com/questions/43489303/how-can-i-delete-all-git-branches-which-have-been-squash-and-merge-via-github | |
| # Requirements: | |
| # gh (https://cli.github.com/) | |
| # Installation: | |
| # touch ~/bin/delete-squashed-branches (or somewhere in your path) |
| #!/bin/bash | |
| # | |
| # mountdisks | |
| # script to remount all external drives | |
| # assumes your external volumes are all 'APFS Volume' or 'Apple_HFS' | |
| # try `diskutil list external` to see your volumes | |
| # | |
| # Installation | |
| # copy this file to /usr/local/bin or somewhere in your path and make it executable |
| #!/bin/bash | |
| # | |
| # ejectdisks | |
| # script to unmount all external drives on a Mac | |
| # assumes your external volumes are all 'APFS Volume' or 'Apple_HFS' | |
| # try `diskutil list external` to see your volumes | |
| # | |
| # Installation | |
| # copy this file to /usr/local/bin or somewhere in your path and make it executable |
| -- An AppleScript to unmount all ejectable disks so I can unplug my MacBook from my dock | |
| -- map this script to a hotkey with an app like Keyboard Maestro - I use Cmd+End | |
| use AppleScript version "2.4" -- Yosemite (10.10) or later | |
| use scripting additions | |
| tell application "Finder" | |
| display notification "Please wait…" with title "Unmounting disks" | |
| -- some of my disks are finicky so I repeat this three times |
| /* eslint-disable max-len */ | |
| /* | |
| this is a modified version of the diacritics translator from here: | |
| http://jsperf.com/diacritics/12 | |
| via http://stackoverflow.com/questions/990904/javascript-remove-accents-in-strings | |
| 2014-04-05 -p | |
| */ | |
| const defaultDiacriticsRemovalMap = [ |
| import Cocoa | |
| extension UserDefaults { | |
| func set(_ color: NSColor, forKey: String) { | |
| if let data = try? NSKeyedArchiver.archivedData(withRootObject: color, requiringSecureCoding: false) { | |
| self.set(data, forKey: forKey) | |
| } | |
| } | |
| { | |
| "short_name": "Broadly", | |
| "name": "Broadly", | |
| "description": "Broadly helps you engage with your customers, get better reviews, and convert more leads.", | |
| "icons": [ | |
| { | |
| "src": "/images/dashboard/icon-512-pwa.png", | |
| "type": "image/png", | |
| "sizes": "512x512" | |
| }, |
I'm trying to do this:
<RenderOne {...props}>
<ComponentOne />
<ComponentTwo />
<ComponentThree />
</RenderOne>
| 'use strict'; | |
| var styles = require('./styles.less'); | |
| // styles => { 'scope': 'oasduf98aus9df8ja9s8d' } | |
| // this view uses the given scope as its classname | |
| // so buttons in my view will be gold and green | |
| // the color of buttons outside my view will not be affected | |
| module.exports = Marionette.LayoutView.extend({ |
| /* | |
| * Your Stylesheet | |
| * | |
| * This stylesheet is loaded when Atom starts up and is reloaded automatically | |
| * when it is changed. | |
| * | |
| * If you are unfamiliar with LESS, you can read more about it here: | |
| * http://www.lesscss.org | |
| */ |