-
Install the the
shadowsocks-libev
package from apt repository.sudo apt update sudo apt install shadowsocks-libev
-
Save
ss.json
as/etc/shadowsocks-libev/config.json
.
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
Base Schema | |
type Location { | |
city: String | |
country: String | |
} | |
type User { | |
id: String! | |
name: String |
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
Base Schema | |
type User { | |
id: String! | |
name: String | |
handle: String | |
posts: [Post] | |
} | |
interface Topic { |
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
/* DROP STATEMENTS */ | |
DROP TABLE USERS_USER_ROLES; | |
DROP TABLE USER_ROLES; | |
DROP TABLE USER_LOGINS; | |
DROP TABLE USER_CLAIMS; | |
DROP TABLE USERS; | |
/* USERS */ | |
CREATE TABLE USERS | |
( |
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
/* DROP STATEMENTS */ | |
DROP TABLE USER_ROLES; | |
DROP TABLE USER_LOGINS; | |
DROP TABLE USER_CLAIMS; | |
DROP TABLE USERS; | |
DROP SEQUENCE USER_ROLES_SEQ; | |
DROP SEQUENCE USER_LOGINS_SEQ; | |
DROP SEQUENCE USER_CLAIMS_SEQ; | |
DROP SEQUENCE USERS_SEQ; |
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 React from 'react'; | |
import R from 'ramda'; | |
import {Actions} from 'flummox'; | |
import matchRoute from '../util/matchRoute'; | |
import {log, levels as logLevels} from '../util/log'; | |
import jsonApiRequest from '../di/jsonApiRequest'; | |
const logger = log('RouterActions'); | |
const debugFn = logger(logLevels.debug); | |
const logFn = logger(logLevels.log); |