Skip to content

Instantly share code, notes, and snippets.

Avatar
⌨️
__worker__

_ArN0b-- stupidArnob

⌨️
__worker__
View GitHub Profile
@stupidArnob
stupidArnob / docker_wordpress.md
Created Apr 18, 2021 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin
View docker_wordpress.md

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@stupidArnob
stupidArnob / dowload.html
Last active Apr 5, 2021
Download Image from Source URL
View dowload.html
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<!-- http://localhost:5500/ -->
<!-- https://www.flightexpert.com/img/dow/ramadancalender.jpg -->
<body>
@stupidArnob
stupidArnob / node_nginx_ssl.md
Created Nov 6, 2020 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL
View node_nginx_ssl.md

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

@stupidArnob
stupidArnob / Months.json
Created Jan 30, 2020 — forked from enriqueornelasjr/Months.json
Month Names (With Abbreviations) in JSON
View Months.json
[
{
"abbreviation": "Jan",
"name": "January",
"id": "01"
},
{
"abbreviation": "Feb",
"name": "February",
"id": "02"
@stupidArnob
stupidArnob / urlscrap.js
Last active Dec 22, 2019
Scrap All the url from the site
View urlscrap.js
const request = require('request');
const cheerio = require('cheerio');
const ld = require('lodash')
let base_url = 'https://khaasfood.com'
let urls = []
let count = -1;
let threshold = 2000
@stupidArnob
stupidArnob / app.js
Created Dec 22, 2019
Request Scrap problem Solved
View app.js
// const axios = require('axios');
// const cheerio = require('cheerio');
// const url = 'https://khaasfood.com';
// axios(url)
// .then(response => {
// const html = response.data;
// const s = cheerio.load(html);
// console.log(html)
@stupidArnob
stupidArnob / Certbot.Readme.txt
Last active Oct 23, 2020
Certbot Nginx Proxy link for API setup
View Certbot.Readme.txt
Step 1 — Installing Certbot
The first step to using Let’s Encrypt to obtain an SSL certificate is to install the Certbot software on your server.
Certbot is in very active development, so the Certbot packages provided by Ubuntu tend to be outdated. However, the Certbot developers maintain a Ubuntu software repository with up-to-date versions, so we’ll use that repository instead.
First, add the repository:
sudo add-apt-repository ppa:certbot/certbot
You’ll need to press ENTER to accept.
@stupidArnob
stupidArnob / scroll.html
Created Sep 25, 2019
Page Scroll while mouse moving
View scroll.html
<html>
<head>
<title> Track Mouse </title>
<script type="text/javascript">
var x, y;
(function() {
View cloudSettings
{"lastUpload":"2020-10-27T10:08:12.403Z","extensionVersion":"v3.4.3"}
@stupidArnob
stupidArnob / z390.txt
Created Sep 7, 2019
Aorus Z390 Master Debug LED Codes
View z390.txt
Aorus Z390 Master Debug LED Codes
Code Description
10 PEI Core is started.
11 Pre-memory CPU initialization is started.
12~14 Reserved.
15 Pre-memory North-Bridge initializations is started.
16~18 Reserved.
19 Pre-memory South-Bridge initializations is started.
1A~2A Reserved.