- Let's Encrypt Apache - Ubuntu 18.04 (Bionic)
- Comparison of Let's Encrypt setup (post cerbot) for NodeJS, Apache& NGINX
- Important Apache files and directories
- Installing Apache
- Restart server:
sudo service apache2 restart
(same for stop, start)
# coding: utf-8 | |
import motion | |
from time import sleep | |
from motion import * | |
import canvas as cv | |
from math import pi | |
''' Playing with attitude tracking(roll/pitch/yaw). Changes the color of the circle based on rotation around all 3 axes.''' |
{ | |
"marvel": { | |
"key": [Marvel API public key], | |
"secretKey": [Marvel API private key] | |
} | |
} |
/* | |
* master index (App wrapper) | |
*/ | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './App'; | |
import { Provider } from 'react-redux' | |
import { createStore } from 'redux' | |
import allReducers from './reducers' |
/** | |
* | |
* % United Flight Stats % | |
* Paste into your browser after loading the inflight website (https://unitedwifi.com) | |
* | |
*/ | |
// flight data API - used in the demo video | |
(function() { | |
const flightdataUrl = "https://services.inflightpanasonic.aero/inflight/services/flightdata/v1/flightdata"; |
sudo service apache2 restart
(same for stop, start)''' | |
This solves the Number of Islands problem in Leetcode, but also creates unique | |
incrementing integer IDs for each island, and tracks all the coordinates that | |
make up each. | |
To solve the problem, you just return current_island_id + 1 | |
To see the grouped islands by ID, return islands | |
Problem: https://leetcode.com/problems/number-of-islands | |
''' | |
class Solution: |