Skip to content

Instantly share code, notes, and snippets.

View anderskitson's full-sized avatar

Anders Kitson anderskitson

View GitHub Profile
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
User=root
Group=nogroup
WorkingDirectory=/root/synapse
ExecStart=/root/synapse/env/bin/python -m synapse.app.homeserver --config-path=/root/synapse/homeserver.yaml
SyslogIdentifier=matrix-synapse
* matrix-synapse.service - Synapse Matrix homeserver
Loaded: loaded (/etc/systemd/system/matrix-synapse.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-08-02 19:22:33 UTC; 23h ago
Main PID: 22273 (code=exited, status=1/FAILURE)
server_name: "chat.kitson.tech"
pid_file: /root/synapse/homeserver.pid
federation_ip_range_blacklist:
- "127.0.0.0/8"
- "10.0.0.0/8"
- "172.16.0.0/12"
- "192.168.0.0/16"
- "100.64.0.0/10"
import { gql, useQuery } from "@apollo/client";
import useSWR from "swr";
import Layout from "../../components/Layout";
import React from "react";
import { useTable, usePagination } from "react-table";
import styled from "styled-components";
const DECOR_VALUES = gql`
query GetDecorValues($id: ID!) {
findUserByID(id: $id) {
import { gql, useMutation, useQuery } from "@apollo/client";
import useSWR from "swr";
import Layout from "../../components/Layout";
import React, { useState } from "react";
import { useTable, usePagination } from "react-table";
import styled from "styled-components";
import ReactDatePicker from "react-datepicker";
import { useEffect } from "react";
import "react-datepicker/dist/react-datepicker.css";
import { useCallback } from "react";
import { gql, useMutation, useQuery } from "@apollo/client";
import useSWR from "swr";
import Layout from "../../components/Layout";
import React, { useState } from "react";
import {
useTable,
usePagination,
useFilters,
useGlobalFilter,
useAsyncDebounce,
allll [
<ref *1> IncomingMessage {
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: false,
ended: true,