Download Sublime Text 2 on website for Linux please!!
extract and move files from /opt/sublime2/
create sublime.desktop
in /opt/sublime2/
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Sublime Text
GenericName=Text Editor
Download Sublime Text 2 on website for Linux please!!
extract and move files from /opt/sublime2/
create sublime.desktop
in /opt/sublime2/
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Sublime Text
GenericName=Text Editor
# start a server on Digital Ocean | |
# https://docs.docker.com/machine/drivers/digital-ocean/ | |
docker-machine create \ | |
--driver digitalocean \ | |
--digitalocean-access-token <YOUR API KEY> \ | |
--digitalocean-size 2gb \ | |
reaction | |
# tell Docker to run commands on that server |
(function() { | |
var call = Function.prototype.call; | |
Function.prototype.call = function() { | |
console.log(this, arguments); | |
return call.apply(this, arguments); | |
}; | |
}()); |
import Ember from 'ember'; | |
import {inject as service} from '@ember/service'; | |
export default Ember.Controller.extend({ | |
appName: `Ember's Route Hook Order`, | |
router: service(), | |
actions: { | |
clearLog() { | |
Ember.$('.log-item').remove(); |
import Controller from '@ember/controller'; | |
import { action } from '@ember/object'; | |
import { tracked } from '@glimmer/tracking'; | |
export default class ApplicationController extends Controller { | |
appName = 'Ember Twiddle'; | |
@tracked prop; | |
@action |