Skip to content

Instantly share code, notes, and snippets.

View itseasy21's full-sized avatar
🏠
Working from home

Shubham Mathur itseasy21

🏠
Working from home
View GitHub Profile
@itseasy21
itseasy21 / gist.md
Created June 26, 2022 05:01 — forked from ArcRanges/gist.md
aws-ec2-nextjs

Instructions to properly set up a production-ready NextJS App with AWS

This is a summary of how to start your own NextJS app, create the repo on Github, upload later in an AWS EC2 Instance and automate the process with AWS Codebuild, CodeDeploy, & CodePipeline.

After following these instructions you should be able to:

  • Create a NextJS App
  • Create an AWS EC2 instance
  • Be able to SSH to an EC2 instance
  • Prepare the instance as a Node environment
  • Configure Nginx service for proper routing
  • Configure domain and add SSL
@itseasy21
itseasy21 / cadmium-playercore-6.0035.000.911.js
Last active May 22, 2022 02:30
Cadmium Playercore modified to force DDPlus Dolby Atmos / 5.1 MultiChannel on Safari w/ MacOS with Spatial Audio for Netflix
This file has been truncated, but you can view the full file.
function a000() {}
a000.Z1v = function () {
return typeof a000.N1v.g1v === 'function' ? a000.N1v.g1v.apply(a000.N1v, arguments) : a000.N1v.g1v;
};
a000.N1v = (function (W1v) {
return {
R1v: function () {
var b1v,
r1v = arguments;
switch (W1v) {
@itseasy21
itseasy21 / ffmpeg install docs
Last active October 3, 2016 01:05
[CPanel] How to install ffmpeg mplayer and mencoder on CentOS6 (FFMpeg 0.7.11)
Hello Guys,
Installation of FFMPEG is treated as the toughest installations as it has many dependencies. Check with the below steps for easy installation.
1. Enable 9xhost and EPEL yum repositories
The CentOS 6 RPM packages of ffmpeg, mplayer and MP4Box packages are available on 9xhost.net. These RPM packages are copied from ATrpms and RPM Fusion YUM repositories for a simplified installation.
Some packages on 9xhost YUM repo depend on EPEL repo. To enable EPEL repo, install the epel-release RPM package
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# eth0 may or may not be present, please check before making any changes
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet