Skip to content

Instantly share code, notes, and snippets.

@evoactivity
evoactivity / openvpn_pia
Created January 29, 2023 21:54
How to setup headless (No GUI/CLI Only) ubuntu openvpn pia
## 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
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'details',
attributeBindings: ['open'],
open: true,
click(e) {
e.preventDefault();
},
actions: {
@evoactivity
evoactivity / application.controller.js
Created April 9, 2017 11:10
Ember Initials Rendering Test
import Ember from 'ember';
export default Ember.Controller.extend({
});
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)
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;' +