Skip to content

Instantly share code, notes, and snippets.

View salva1973's full-sized avatar

Salvatore Vivolo salva1973

View GitHub Profile
@salva1973
salva1973 / ssh.md
Created December 7, 2022 12:50 — 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

@salva1973
salva1973 / node_nginx_ssl.md
Created December 7, 2022 12: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

@salva1973
salva1973 / .gitignore
Last active July 23, 2022 07:57
.gitignore (Node)
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
@salva1973
salva1973 / ApiConsumer.sol
Last active July 13, 2022 04:41
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import '@chainlink/contracts/src/v0.8/ChainlinkClient.sol';
import '@chainlink/contracts/src/v0.8/ConfirmedOwner.sol';
/**
* Request testnet LINK and ETH here: https://faucets.chain.link/
* Find information on LINK Token Contracts and get the latest ETH and LINK faucets here: https://docs.chain.link/docs/link-token-contracts/
*/
@salva1973
salva1973 / Stock_data_analysis.ipynb
Created February 28, 2021 14:41
Historical stock data analysis for Tesla (TSLA) and Game Stop (GME): share price vs revenue
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@salva1973
salva1973 / WebScraping_Review_Lab.ipynb
Created February 27, 2021 14:22
Created on Skills Network Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@salva1973
salva1973 / Final_Assignment_Library.ipynb
Created February 20, 2021 16:27
Created on Skills Network Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@salva1973
salva1973 / PY0101EN-5.3_Requests_HTTP.ipynb
Created February 7, 2021 11:10
Created on Skills Network Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@salva1973
salva1973 / PY0101EN-5.2_API_2.ipynb
Last active February 7, 2021 10:44
Created on Skills Network Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@salva1973
salva1973 / PY0101EN-5.1_Intro_API.ipynb
Created January 31, 2021 17:12
Created on Skills Network Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.