Skip to content

Instantly share code, notes, and snippets.

View YosepRA's full-sized avatar

Yosep Ryan Agusta YosepRA

View GitHub Profile
@YosepRA
YosepRA / TicketFixtureList.jsx
Created October 25, 2022 13:31
Crustecan Warrior Ticket Fixture List Page
import React from 'react';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
import Button from '@mui/material/Button';
import CircularProgress from '@mui/material/CircularProgress';
import Box from '@mui/material/Box';
import { useGetFixtureListQuery } from '../store/fixture/service.js';
import PageTitleBanner from '../components/PageTitleBanner.jsx';
import FixtureCard from '../components/FixtureCard.jsx';
@YosepRA
YosepRA / main.module.scss
Created October 25, 2022 13:29
StudioYosepRA Main SCSS
@import './config';
.content-section {
margin-bottom: 0;
}
.section {
&-header {
margin-bottom: 1rem;
}
@YosepRA
YosepRA / package.json
Created December 16, 2021 07:38
Crustecan Warrior root package.json
{
"name": "crustecan-warrior-app",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Yosep Ryan Agusta <Yosep Ryan Agusta> (https://yosepra.github.io/)",
@YosepRA
YosepRA / ssh.md
Created March 1, 2021 06:29 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@YosepRA
YosepRA / node_nginx_ssl.md
Created February 21, 2021 01:50 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user