$(mdfind Docker.app)/Contents/MacOS/Docker --uninstall
source: docker/for-mac#8 (comment)
| (function($) { | |
| // Used by dateinput | |
| $.expr = {':': {}}; | |
| // Used by bootstrap | |
| $.support = {}; | |
| // Used by dateinput | |
| $.fn.clone = function(){ | |
| var ret = $(); |
| [{"title":"Graph","height":"350px","editable":true,"collapse":false,"collapsable":true,"panels":[{"span":12,"editable":true,"group":["default"],"type":"histogram","mode":"count","time_field":"@timestamp","value_field":null,"auto_int":true,"resolution":100,"interval":"10m","fill":3,"linewidth":3,"timezone":"browser","spyable":true,"zoomlinks":true,"bars":true,"stack":true,"points":false,"lines":false,"legend":true,"x-axis":true,"y-axis":true,"percentage":false,"interactive":true,"queries":{"mode":"all","ids":[0]},"title":"Events over time","intervals":["auto","1s","1m","5m","10m","30m","1h","3h","12h","1d","1w","1M","1y"],"options":true,"tooltip":{"value_type":"cumulative","query_as_alias":true},"scale":1,"y_format":"none","grid":{"max":null,"min":0},"annotate":{"enable":false,"query":"*","size":20,"field":"_type","sort":["_score","desc"]},"pointradius":5,"show_query":true,"legend_counts":true,"zerofill":true,"derivative":false}],"notice":false},{"title":"Events","height":"350px","editable":true,"collapse":fal |
| // require() some stuff from npm (like you were using browserify) | |
| // and then hit Run Code to run it on the right | |
| var d3 = require('d3') | |
| var width = 960, | |
| height = 500, | |
| radius = 80, | |
| x = Math.sin(2 * Math.PI / 3), | |
| y = Math.cos(2 * Math.PI / 3); |
| ---------- diff: | |
| app.js | |
| + /* global dependencies */ | |
| + var $ = require('jquery'); | |
| + var Backbone = require('backbone'); | |
| + var Marionette = require('marionette'); | |
| /** @class */ | |
| var AdvisorApp = new Marionette.Application({ |
| import React from 'react' | |
| import MyComponent from '../components/MyComponent' | |
| export default class App extends React.Component { | |
| render() { | |
| return <MyComponent topMargin="10"/> | |
| } | |
| } |
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| actions: { | |
| fire: function() { | |
| alert('fire from component 2') | |
| this.sendAction() | |
| } | |
| } | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Route.extend({ | |
| actions: { | |
| doStuff() { | |
| alert('I did stuff!') | |
| } | |
| } | |
| }); |
$(mdfind Docker.app)/Contents/MacOS/Docker --uninstall
source: docker/for-mac#8 (comment)
| #!/bin/bash | |
| set -e | |
| if [ -z "$(which now)" ]; then | |
| echo "please install now to use this script." | |
| exit 1 | |
| fi | |
| # remove common build folders if they are ignored |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle' | |
| }); |