This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('.mood-board').length > 0) { | |
$('.mood-board').remove(); | |
} else { | |
var $thumbnails = $(".js-card-cover"), | |
board, | |
image; | |
board = '<style class="mood-board">' + | |
'.body-board-view {'+ | |
'overflow-y: scroll;' + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
upload(name) { | |
return new Ember.RSVP.Promise((resolve, reject) => { | |
Ember.run.later(() => { | |
alert(`Uploaded ${name}`); | |
resolve(); | |
}, 100) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'details', | |
attributeBindings: ['open'], | |
open: true, | |
click(e) { | |
e.preventDefault(); | |
}, | |
actions: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install OpenVPN | |
# Now we install and configure OpenVPN, do the following commands: | |
sudo apt-get install openvpn | |
cd /etc/openvpn | |
sudo wget https://www.privateinternetaccess.com/openvpn/openvpn.zip |