- reset password
- login to console with user as root and password from email
- open file nano /etc/ssh/sshd_config
- go to the very botton of file and find line with PasswordAuthentication and change its value from no to yes
- then run sudo service sshd reload
- come to local terminal and run ssh user@server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { people01, people02, people03, facebook, instagram, linkedin, twitter, airbnb, binance, coinbase, dropbox, send, shield, star } from "../assets"; | |
export const navLinks = [ | |
{ | |
id: "home", | |
title: "Home", | |
}, | |
{ | |
id: "features", | |
title: "Features", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. inbstall docker on ubuntu 20.04 | |
# https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 | |
2. install airflow in docker | |
# https://hub.docker.com/r/puckel/docker-airflow | |
3. work with airflow | |
# https://airflow.apache.org/docs/apache-airflow/stable/start.html | |
4. create a user: | |
airflow users create -r Admin -u admin -e [email protected] -f admin -l user -p test | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import requests | |
from pandas.io.json import json_normalize | |
from datetime import datetime | |
import time | |
class Td: | |
def __init__(self,refresh_token,client_id,apikey): | |
# URL decoded refresh token | |
self.refresh_token= refresh_token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start a django project | |
django-admin startproject 'project-name' | |
run server | |
python manage.py runserver | |
start app: | |
python manage.py startapp polls |
Coupon Link to get $100 credit for 60 days:
https://m.do.co/c/74a1c5d63dac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HelloWorld |
NewerOlder