选择时区
/usr/bin/tzselect
更新时区,添加
TZ='Asia/Shanghai'; export TZ
到用户 .profile
查看时区
version: '3.4' | |
services: | |
db: | |
image: mariadb:10.2 | |
networks: | |
- dev | |
environment: | |
MYSQL_ROOT_PASSWORD: | |
MYSQL_DATABASE: election2018 | |
MYSQL_USER: election2018 |
选择时区
/usr/bin/tzselect
更新时区,添加
TZ='Asia/Shanghai'; export TZ
到用户 .profile
查看时区
/***************** | |
* cellBlockA.js * | |
***************** | |
* | |
* Good morning, Dr. Eval. | |
* | |
* It wasn't easy, but I've managed to get your computer down | |
* to you. This system might be unfamiliar, but the underlying | |
* code is still JavaScript. Just like we predicted. | |
* |
{"lastUpload":"2018-04-26T06:02:33.609Z","extensionVersion":"v2.9.0"} |
As a user i should be able to sign up | |
As a user once i have signed in i should be prompted to add my daily exercise routine for each day of the week. | |
As a user once i have submitted the form i should from then on see a calendar with "Leg Day, Back Day, whatever day" for each day of the week that i have filled information for. | |
As a user i should be able to click on an individual date and change my routine of that particular day (change weight lifted, change how many reps/sets) | |
As a user i should be able to input my BMI and weight. | |
As a user i should be able to compare my weight and BMI from month to month. | |
As a user i should be able to track what kind of supplements (i.e. protein, pills) i have taken for that month. | |
As a user i should be able to track my water intake for each day. | |
As a user i should be able to add multiple workouts for each day. | |
As a user i should be able to see my calories burned for the week/month. |
i686-linux hitch | |
x86_64-linux hitch | |
aarch64-linux hitch |
# https://stackoverflow.com/questions/29565278/apt-get-upgrade-always-fails-on-mariadb-server-due-to-timezone/33779694#33779694 | |
sudo apt-get remove --purge mysql-server mysql-client mysql-common | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
sudo rm -rf /var/lib/mysql | |
sudo apt-get install mariadb-server |
//固定虚拟摇杆 | |
//演示代码不可运行 | |
let handle | |
let rect | |
let speed: number = 6 | |
let obj | |
private let dragging: boolean |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import logging | |
import json | |
import urllib.request | |
import urllib.error | |
#Basic auth key for 'Authorization' header with user = admin and password = password | |
authkey = 'Basic YWRtaW46cGFzc3dvcmQ=' | |
#Sends an empty GET request to URL and prints the response body if successful |