This file contains hidden or 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 javax.swing.*; | |
| import javax.swing.border.EmptyBorder; | |
| import java.awt.*; | |
| import static javax.swing.SwingConstants.CENTER; | |
| /** | |
| * File Week4Discussion.java | |
| * Simple area calculator. | |
| * | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * The paintComponent method draws the content of the JPanel. The parameter | |
| * is a graphics context that can be used for drawing on the panel. | |
| */ | |
| protected void paintComponent(Graphics g) { | |
| BufferedImage arrowImage = myImages.getImage(ImageTemplate.arrow); | |
| BufferedImage thumbImage = myImages.getImage(ImageTemplate.thumb); | |
| BufferedImage cupImage = myImages.getImage(ImageTemplate.cup); | 
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
  
    
      This file contains hidden or 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 javax.media.opengl.GL2; | |
| import javax.media.opengl.glu.GLU; | |
| import java.awt.*; | |
| import java.awt.event.MouseEvent; | |
| import java.awt.event.MouseListener; | |
| import java.awt.event.MouseMotionListener; | |
| /** | |
| * A Camera object encapsulates the information needed to define a | |
| * viewing transform and a projection for an OpenGL context. The | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <template> | |
| ... | |
| </template> | |
| <script> | |
| // TODO: REMOVE WHEN API IMPLEMENTED | |
| import fs from 'fs' | |
| // TODO: REMOVE WHEN API IMPLEMENTED | |
| import path from 'path' | |
| import DetailsDialog from '@/components/DetailsDialog' | 
  
    
      This file contains hidden or 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
    
  
  
    
  | This tutorial assumes basic knowledge of Linux and root access to your OMV server. Lets get started. | |
| Installing OpenVPN (as root) | |
| apt-get install openvpn | |
| After installing OpenVPN, you'll want to obtain the VPN certificate files. These should be provided to you by your VPN provider. My personal recommendation is PIA. If you choose to utilize PIA, you can download the necessary files here. | |
| At this point you'll want to transfer the certificate files over to your server either using SCP or some other mechanism. I personally recommend directly downloading it on the server with wget and then unzipping it with unzip. | |
| From your extracted files, move ca.crt, crl.pem, vpn.ovpn to /etc/openvpn/ (Note: vpn.ovpn refers to whatever VPN server you're looking to connect to) | |
| edit the vpn.ovpn file using whatever editor you prefer and replace the line | |
| auth-user-pass | |
| with | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/bash | |
| # Clone gist | |
| # Enter Directory cd 300b4268667e8f080c7175e0c81438b5 | |
| # Modify permissions sudo chmod -x server_setup.sh | |
| # Run file . server_setup.sh | |
| echo "Updating and Upgrading..." | |
| sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get autoremove -y | 
  
    
      This file contains hidden or 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
    
  
  
    
  | version: 2.1 | |
| orbs: | |
| github-release: h-matsuo/github-release@0.1.3 | |
| # cypress: cypress-io/cypress@1 | |
| executors: | |
| windows: | |
| docker: | |
| - image: electronuserland/builder:wine |