Skip to content

Instantly share code, notes, and snippets.


ikasat ikasat

View GitHub Profile
#!/usr/bin/env python3
import json
import re
# commons-lang3-3.4.jar -> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar
JAR_TO_JAR_RE = re.compile(r'^(.+?\.jar)\s+->\s+(.+?\.jar)\s*$')
# org.apache.commons.lang3 (commons-lang3-3.4.jar)
PACKAGE_SOURCE_RE = re.compile(r'^\s+(\S+)\s+\(.+?\.jar\)\s*$')
#!/usr/bin/env python3
import re
import sys
from collections import namedtuple
from neo4j.v1 import GraphDatabase
Config = namedtuple('Config', ['url', 'username', 'password',
'node_label', 'rel_type', 'batch_size'])
View cheat_sheet.tsx
import * as React from "react";
import * as ReactDOM from "react-dom";
import * as Redux from "redux";
import * as ReactRedux from "react-redux";
import * as ReduxForm from "redux-form";
import * as ReactRouter from "react-router";
import * as ReactRouterDOM from "react-router-dom";
import * as ConnectedReactRouter from "connected-react-router";
import * as TypeScriptFSA from "typescript-fsa";
import * as TypeScriptFSAReducers from "typescript-fsa-reducers";
You can’t perform that action at this time.