Skip to content

Instantly share code, notes, and snippets.

View georgeee's full-sized avatar

George Agapov georgeee

View GitHub Profile
public File getCacheDir() {
File file = new File("/sdcard/Silencio", "cache");
if (!file.exists()) file.mkdirs();
return file;
}
{"config": {
"test_node": {
"path": "/modules/top-wl-robots/_test_node",
"content": {
"__jcr_element_type": "node",
"__array": [
{
"key1": "value1",
"key2": {
"name": "someName"
{
"white-labels": [
{
"id": "keyoption_3",
"label": "KeyOption_3",
"locale": {
"fallback": "en",
"languages": ["en", "de"]
},
"templates": {
{
"config": {
"robots": {
"path": "modules/top-wl-robots/config/%WL_ID%",
"content": {
"__jcr_element_type": "node",
"__array": [
{
"content": "User-agent: *\nDisallow: /",
"prefixRegex": ".*",
@georgeee
georgeee / cardano-sl-1.0.md
Last active October 24, 2017 12:52
Resolving crysis with cardano-sl-1.0* (Oct 2017)

PRs open against cardano-sl-1.0

PR Relative time Created by State Reviewers Approved by
#1816 [CSM-491] Add timeout reports in blistener 2 hours ago Martoon-00 Review required None None
#1815 Merge exchanges branch (2) 18 hours ago dcoutts Review required None None
#1814 CSL-1794 Provide necessary knowledge and code changes to increase tx size limit in cardano-sl-1.0 22 hours ago gromakovsky Review required None None
#1790 [CSL-1783] Add "api/version" endpoint 5 days ago gromakovsky Changes requested None None
#1785 [CSL-1765] automate update system proposals 6 days ago pva701 R
@georgeee
georgeee / jose-review.md
Last active February 22, 2018 08:13
Jose Toro submission review (Serokell test task)

Review

Hi, Jose!

Please see the review for your submission.

Most part of review will be conveyed in terms of validating criteria.

Review process is designed to be interactive, so that we will point you to mistakes you made in your submission and propose you to resolve some of these. Criteria will be checked in blocks, you'll get rundown along with descriptions as result of each iteration.

@georgeee
georgeee / Block.hs
Last active March 6, 2018 17:46
Playground for formal blockchain model
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE Rank2Types #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ViewPatterns #-}
module Block
@georgeee
georgeee / README.md
Last active January 27, 2019 11:04
ZeroMQ haskell playground

Small playground for zeromq

Launches three servers and three clients.

Connection topology:

client 1  -> [server 1, server 2]
client 2  -> [server 2, server 3]
client 3 -> [server 1, server 3]
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE TypeFamilies #-}