Skip to content

Instantly share code, notes, and snippets.

Avatar

Tigran Tch NargiT

View GitHub Profile
View inde.html
<!DOCTYPE html>
<head>
<script src="https://d3js.org/d3.v5.min.js"></script>
</head>
<body>
<script>
var svgContainer = d3.select("body").append("svg")
.attr("width", 200)
@NargiT
NargiT / ckad
Last active Sep 26, 2019
tips and trick for ckad
View ckad
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:
" Amir Salihefendic — @amix3k
"
" Awesome_version:
" Get this config, nice color schemes and lots of plugins!
"
" Install the awesome version from:
"
" https://github.com/amix/vimrc
View gist:c9cf44b9c2ccbdbee8b3b164a76e2b84
[tool.poetry]
name = "myapp"
version = "1.0.0a18"
authors = ["nargit"]
[[tool.poetry.source]]
name = "nexus"
url = "https://internal-mirrors/repository/pypi/simple"
[tool.poetry.dependencies]
@NargiT
NargiT / composite.py
Last active Jul 3, 2019
Design Pattern - Composite
View composite.py
import abc
from typing import Dict, Optional, Sequence
class Component(metaclass=abc.ABCMeta):
@property
@abc.abstractmethod
def name(self):
pass
View cli.md
@NargiT
NargiT / demo.md
Last active Apr 25, 2019
terminal demo maker
View demo.md

Do a gif

asciinema rec -i 2.5 -c "doitlive play -p nicolauj -q -S /bin/bash session.sh" session.cast
docker run --rm -v $PWD:/data asciinema/asciicast2gif session.cast session.gif

Do a video

@NargiT
NargiT / README.md
Last active Apr 8, 2019
Microprofile
View README.md

Microprofile

Sets of api for Java Enterprise Server Application, drivent by the community (wikis, gitter, google group, mailing list, blog, site...)

Relese cycle

@NargiT
NargiT / Main.java
Created Feb 6, 2018
Skillvalue - Cells
View Main.java
package fr.nargit.cells;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
public class Main {
public static void main(String[] args) {
BufferedReader in;
try {
View Main.java
package fr.nargit.prime;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int[] vector = null;
Integer result = -1;
View Main.java
package fr.nargit.repetition;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;