- Create an executable jar
- Install Java in your EC2 machine
sudo apt install default-jdk
- Copy the jar file ( Either use SCP / compile it on EC2)
- Open EC2 port 8080
- Test using
java -jar demoxxxxx.jar
- Daemonize the app (Deploy Spring boot app)[https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html#deployment-systemd-service]
File location
sudo nano /etc/systemd/system/term.service
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 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
Create Basic Client & Server (hello world) apps & push to Github, EC2 and S3 bucket exists- 20 | |
HTML for profile page with bootstrap present & works well - 15 | |
Server app can respond with custom response & is used in React. - 10 | |
Server app can save and retrive data in the request from DB - 10 | |
Server can do Auth - Static IF conditions - 5 | |
React can use conditinal rendering to show Admin things - 5 | |
Application is well constructed Profile & Nav & Admin Component -- 10 | |
S3 bucket integration - 10 | |
Application deployed - 10 |
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
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# Edited: Ninad Chaudhari <[email protected]> | |
# https://gist.github.com/ninadpchaudhari/5c32d596670e5253a15c6deb69642698 | |
if [[ $# -eq 0 ]] ; then |
This file has been truncated, but you can view the full file.
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
Date/Time: 2019-03-28 02:44:18 -0400 | |
End time: 2019-03-28 02:44:19 -0400 | |
OS Version: Mac OS X 10.14 (Build 18A391) | |
Architecture: x86_64h | |
Report Version: 27 | |
Data Source: Stackshots | |
Shared Cache: 0xa5b1000 FC89571E-90B2-3484-B55A-D92B7B8D70B8 | |
Command: OneDrive |
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
https://superuser.com/questions/477480/how-can-i-recursively-copy-all-pdf-files-in-a-directory-and-its-subdirectories |
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
https://www.surveymonkey.com/r/VPH5733 |
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
Squash last X Commits. : https://stackoverflow.com/a/5190323/3262852 | |
use --force if already pushed to github | |
2) Reset all local changes & reset to one from Github : https://stackoverflow.com/a/8888015/3262852 | |
3) Create, apply patches https://stackoverflow.com/questions/6658313/generate-a-git-patch-for-a-specific-commit |
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
#!/usr/bin/env python | |
import gzip | |
import os | |
import sys | |
import re | |
from datetime import datetime | |
import pytz | |
tz = pytz.timezone('UTC') |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Image-only Example - Record Plugin for Video.js</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> | |
<link href="http://vjs.zencdn.net/5.8.8/video-js.css" rel="stylesheet"> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/videojs-record/2.1.0/css/videojs.record.css" rel="stylesheet"> | |
<script | |
src="http://code.jquery.com/jquery-3.3.1.min.js" |