Skip to content

Instantly share code, notes, and snippets.

View koistya's full-sized avatar
🏠
Working from home

Konstantin Tarkus koistya

🏠
Working from home
View GitHub Profile
@koistya
koistya / README.md
Created June 28, 2021 13:58 — forked from zhiguangwang/README.md
Installing and running shadowsocks on Ubuntu Server

Installing and running shadowsocks on Ubuntu Server

16.10 yakkety and above

  1. Install the the shadowsocks-libev package from apt repository.

     sudo apt update
     sudo apt install shadowsocks-libev
    
  2. Save ss.json as /etc/shadowsocks-libev/config.json.

Base Schema
type Location {
city: String
country: String
}
type User {
id: String!
name: String
@koistya
koistya / Graphql-SampleSchema-WIP
Created February 29, 2016 17:42 — forked from JeffRMoore/Graphql-SampleSchema-WIP
Sample GraphQL Schema and queries (WIP)
Base Schema
type User {
id: String!
name: String
handle: String
posts: [Post]
}
interface Topic {
@koistya
koistya / gist:9e4089f5a372ac556abd
Created February 20, 2016 20:40 — forked from Entalyan/gist:a11c32afbaf3615ff795
AspNet-Server-Template DDL for Oracle 12c
/* 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
(
@koistya
koistya / gist:cfe5a2a0b642d537fa11
Created February 20, 2016 20:17 — forked from Entalyan/gist:c7db5160b8c1bbd9b353
AspNet-Server-Template DDL for Oracle 11g
/* 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;
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);