Skip to content

Instantly share code, notes, and snippets.

View jsturgis's full-sized avatar

Jeff Sturgis jsturgis

View GitHub Profile
@jsturgis
jsturgis / Plex_Hetzner_Wireguard.md
Created September 26, 2024 16:52 — forked from sovajri7/Plex_Hetzner_Wireguard.md
Using Plex on Hetzner with Wireguard VPN (Docker).

Using Plex on Hetzner with Wireguard VPN (Docker). First, thanks to ShipkaChalk (https://gist.github.com/ShipkaChalk/629fdc42dad781776d2007fc502188f3) and his original tutorial that helped me a lot to get the client part. With this tutorial, you can route all Plex traffic via Wireguard out of another VPS (2$ IONOS Ubuntu VPS), this can be used for any container but here to bypass the Hetzner block by Plex.

  1. Get yourself a Linux VPS (ex : Ubuntu 22.04)

  2. Make all updates :

sudo apt update

import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { get, action } from '@ember/object';
export default class extends Component {
@tracked
entities = get(this.args, 'cohort.entities')
.toArray()
.slice(0, 5);
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
@service myService;
}
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
@jsturgis
jsturgis / controllers.application.js
Last active February 22, 2019 18:15
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
});
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
namespace: 'api/v1'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
languages: ["HTML","Css","Javascript","php"],
name: "John Doe",
init() {
this._super(...arguments);
this.get('languages').forEach( language =>{
import Ember from 'ember';
import EligibilityCheck from '../eligibility-check-for-third-party';
export default Ember.Component.extend({
init() {
this._super(...arguments);
const config = {
pollTask: () => {console.log('called polltask')},
runTask: () => {console.log('called runtask')},
import Ember from 'ember';
import { defer } from 'rsvp';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
init() {
this._super(...arguments);
this.myAsyncFun();