Skip to content

Instantly share code, notes, and snippets.

View BedrockDigger's full-sized avatar

Estel BedrockDigger

View GitHub Profile
# This is a sample configuration file. You can generate your configuration
# with the `rake mastodon:setup` interactive setup wizard, but to customize
# your setup even further, you'll need to edit it manually. This sample does
# not demonstrate all available configuration options. Please look at
# https://docs.joinmastodon.org/admin/config/ for the full documentation.
# Federation
# ----------
# This identifies your server and cannot be changed safely later
# ----------
version: '3'
services:
db:
restart: always
image: postgres:9.6-alpine
shm_size: 256mb
networks:
- internal_network
healthcheck:
import SubordinatePage from '../components/SubordinatePage';
import { Card, Icon, WhiteSpace, Tabs, Badge } from 'antd-mobile';
const appointments = [
{
submissionTime: '2021-5-6 15:19',
status: '可视频',
lawyer: '律师名',
lawFirm: '律师事务所',
appointmentDate: '2021年5月6日',
import SubordinatePage from '../components/SubordinatePage';
import { Button, WhiteSpace } from 'antd-mobile';
export default function AppointmentSuccess() {
return (
<SubordinatePage name="预约结果">
<div style={{ height: '100vh' }}>
<WhiteSpace style={{ height: '1px' }} />
<div
style={{
import SubordinatePage from '../components/SubordinatePage';
import { Button, WhiteSpace } from 'antd-mobile';
export default function AppointmentSuccess() {
return (
<SubordinatePage name="预约结果">
<div style={{ height: '100vh' }}>
<WhiteSpace style={{ height: '1px' }} />
<div
style={{
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- REMOTES -->
<remote name="kangdom" fetch="https://github.com/kangdom/" />
<remote name="AOSP-11" fetch="https://github.com/AOSP-11/" />
<!-- MANIFESTS -->
<!-- device trees -->
<project name="android_device_xiaomi_sagit" path="device/xiaomi/sagit" remote="kangdom" revision="derp-eleven" />
<project name="android_device_xiaomi_msm8998-common" path="device/xiaomi/msm8998-common" remote="kangdom" revision="derp-eleven" />
<!-- vendor tree -->
@BedrockDigger
BedrockDigger / sagit-evox.sh
Last active January 3, 2021 16:39
Script for building Evolution-X for Xiaomi MI 6.
#!/usr/bin/env bash
# RUN THIS SCRIPT WITH screen -d -m -S evox sudo bash <(curl -s blablabla)
# firstly, cheer up with some colors
RED='\033[0;31m'
CYAN='\033[1;36m'
NC='\033[0m'
# then, ask a philosophical question
XMLURL='https://gist.githubusercontent.com/BedrockDigger/1ffbbfdbc234a521a178bed429a48cb0/raw/80fa815f34df5621769340b6dafc7ba8d8e0db64/sagit-evox.xml'
MEGAURL='https://gist.githubusercontent.com/BedrockDigger/7a57ae0b810d81334ed2245b05601d7c/raw/e0c0c660b3a6a5a703cdeb619d979a75a666f36e/.megarc'
@BedrockDigger
BedrockDigger / sagit-evox.xml
Last active January 3, 2021 16:32
roomservice.xml for building Evolution-X for Xiaomi MI 6.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- REMOTES -->
<remote name="kangdom" fetch="https://github.com/kangdom/" />
<remote name="AOSP-11" fetch="https://github.com/AOSP-11/" />
<!-- MANIFESTS -->
<!-- device trees -->
<project name="android_device_xiaomi_sagit" path="device/xiaomi/sagit" remote="kangdom" revision="evox-elle" />
<project name="android_device_xiaomi_msm8998-common" path="device/xiaomi/msm8998-common" remote="kangdom" revision="evox-elle" />
<!-- kernel -->
We couldn’t find that file to show.
npm config get registry //查看本地镜像源
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global