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
package me.artsolopov.jrp; | |
import javax.swing.*; | |
import javax.swing.table.TableModel; | |
import javax.swing.text.JTextComponent; | |
public interface LogicProcessor { | |
void actionTrig(String inst, JTextComponent anno); | |
void actionClose(); | |
void actionAddRow(); |
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
class = require('30log') | |
inspect = require('inspect') | |
local ui_draw = {} | |
local TILE_POSITIONS = { | |
left = 0, mid = 1, right = -1, | |
top = 0, mid = 1, bot = -1 | |
} |
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
module Main exposing (..) | |
import List exposing (range, map) | |
import Browser | |
import Html exposing (Html, button, div, text, input) | |
import Html.Attributes exposing (id, class, style, type_, value, step) | |
import Html.Events exposing (onInput) | |
-- MAIN |
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
require 'securerandom' | |
require 'bundler' | |
Bundler.require(:default) | |
class RPCClient | |
def initialize | |
@var_store = {} | |
@connection = Bunny.new | |
start_connection! |
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
" Vim-plug | |
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'scrooloose/nerdTree' | |
Plug 'tpope/vim-surround' | |
Plug 'ctrlpvim/ctrlp.vim' |
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
defmodule ElxSupPlay.Server do | |
use GenServer | |
def start_link({parent_sup, workers_count = 8}) do | |
GenServer.start_link(__MODULE__, {parent_sup, workers_count}, name: __MODULE__) | |
end | |
def report do | |
GenServer.call(__MODULE__, :report) | |
end |
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
{ | |
"custom-properties": { | |
"--color-primary-0": "#051845", | |
"--color-primary-1": "#05112B", | |
"--color-primary-2": "#041335", | |
"--color-primary-3": "#092568", | |
"--color-primary-4": "#0A328D", | |
"--color-secondary-1-0": "#200446", | |
"--color-secondary-1-1": "#16052C", |
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
:root { | |
--color-primary-0: #051845; | |
--color-primary-1: #05112B; | |
--color-primary-2: #041335; | |
--color-primary-3: #092568; | |
--color-primary-4: #0A328D; | |
--color-primary-3-a20: #09256820; | |
--color-secondary-1-0: #200446; |
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
use std::rc::{Rc, Weak}; | |
use std::borrow::Borrow; | |
use std::cell::RefCell; | |
#[derive(Debug, Copy, Clone)] | |
enum FontWeight { | |
Normal, | |
Thin, | |
Bold | |
} |
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 * as rxjs from 'rxjs' | |
import { map, scan, startWith, shareReplay, take, filter } from 'rxjs/operators' | |
import Mustache from 'mustache' | |
const TEMPLATE = require('raw-loader!./templates/counter.mustache') | |
Mustache.parse(TEMPLATE) | |
export default class Counter { | |
constructor () { |
NewerOlder