git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| { | |
| "sites": [ | |
| { | |
| "key": "dyttzy", | |
| "name": "电影天堂资源", | |
| "type": 1, | |
| "api": "http://caiji.dyttzyapi.com/api.php/provide/vod", | |
| "searchable": 1, | |
| "quickSearch": 1 | |
| }, |
| #EXTM3U | |
| #EXTINF:-1 ,【阿梅】大片经典 | |
| http://103.140.229.13/BOBO/bibi.php?id=127343 | |
| #EXTINF:-1 ,【大秦帝国】:秦武安 | |
| http://103.140.229.13/BOBO/bibi.php?id=11259274 | |
| #EXTINF:-1 ,【怀旧影视】国语专场 | |
| http://103.140.229.13/BOBO/bibi.php?id=8199817 | |
| #EXTINF:-1 ,【烧包谷】树莓派不断电少儿 | |
| http://103.140.229.13/BOBO/bibi.php?id=5977175 | |
| #EXTINF:-1 ,【伪装者】 |
| // import { isNumber } from "util"; | |
| const readline = require('readline'); | |
| // input | |
| function random(x,y) { | |
| if(!x || !y) { | |
| console.log('please input INT numbers !!'); | |
| } else if ( (x-y)>0){ | |
| console.log('x must smaller or equal with y') | |
| }else { | |
| return Math.random() * (y-x) + x; |
| 127.0.0.1 localhost | |
| 127.0.1.1 zhangxingwang-N85-N87-HJ-HJ1-HK1 | |
| 0.0.0.0 account.jetbrains.com | |
| 13.229.188.59 github.com | |
| 127.0.0.1 vop.lijiababy.com.cn | |
| # 127.0.0.1 www.lijiababy.com.cn | |
| # The following lines are desirable for IPv6 capable hosts | |
| ::1 ip6-localhost ip6-loopback | |
| fe00::0 ip6-localnet | |
| ff00::0 ip6-mcastprefix |
| alias zshconfig="sudo vim ~/.zshrc" | |
| # alias ohmyzsh="mate ~/.oh-my-zsh"alias ll='ls -alF' | |
| alias la='ls -A' | |
| #alias l='ls -CF' | |
| alias ljmall='cd ~/Desktop/honovation/ljmall' | |
| alias ljdd='psql -h 127.0.0.1 -U veil ljmall' | |
| alias tunnel='veil tunnel-to ljmall-public--2 ljhost-01.dmright.com' | |
| alias gits='git status' | |
| alias ssstart='sudo sslocal -c /etc/shadowsock.json -d start' | |
| alias ssrestart='sudo sslocal -c /etc/shadowsock.json -d restart' |
| """Utility functions.""" | |
| import sys | |
| import os | |
| import base64 | |
| import json | |
| import hashlib | |
| try: | |
| from collections import OrderedDict | |
| except ImportError: |
| deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse | |
| deb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse | |
| deb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| # Write your MySQL query statement below | |
| select all_trips.Day,ct.cancel_purchase,all_trips.all_purchase, case when ct.cancel_purchase then round(ct.cancel_purchase/all_trips.all_purchase,2) else 0.0 end as 'Cancellation Rate' from | |
| (select count(*) as 'all_purchase', Request_at as Day from Trips group by Request_at) as all_trips | |
| left join | |
| (select count(*) as 'cancel_purchase', Request_at as Day from Trips where Status!='completed' group by Request_at) ct | |
| on all_trips.Day=ct.Day | |
| order by Day | |
| <a href="http://baidu.com" target="_blank">http://baidu.com</a> |