This file contains hidden or 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
public class grafoComparacao implements ViewerListener { | |
private List<Comparados> integralizacoesComparadas; | |
private Viewer viewer; | |
private Graph graph; | |
private View view; | |
protected boolean loop = true; | |
public grafoComparacao(List<Comparados> listaComparados) throws HeadlessException, InterruptedException { | |
System.setProperty("org.graphstream.ui.renderer", "org.graphstream.ui.j2dviewer.J2DGraphRenderer"); | |
this.integralizacoesComparadas = listaComparados; |
This file contains hidden or 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
public static void main(String[] args) { | |
System.setProperty("org.graphstream.ui.renderer", "org.graphstream.ui.j2dviewer.J2DGraphRenderer"); | |
Graph graph = new MultiGraph("main graph"); | |
graph.addAttribute("ui.stylesheet", styleSheet); | |
SpriteManager sm = new SpriteManager(graph); | |
Node a = graph.addNode("A"); | |
Node b = graph.addNode("B"); | |
Node c = graph.addNode("C"); | |
Edge AB = graph.addEdge("edge ab", a, b); |
This file contains hidden or 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
#!/usr/bin/env node | |
const { exec } = require("child_process"); | |
const inquirer = require("inquirer"); | |
function runCommand(command) { | |
exec(command, (error, stdout, stderr) => { | |
if(!error) { | |
console.log("Webpack-cli installed successfully"); | |
return true; | |
} |
This file contains hidden or 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
const webpack = require('webpack'); | |
const path = require('path'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const extractCSS = new ExtractTextPlugin('[name].fonts.css'); | |
const extractSCSS = new ExtractTextPlugin('[name].styles.css'); | |
const BUILD_DIR = path.resolve(__dirname, 'build'); |
This file contains hidden or 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
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const webpack = require('webpack'); | |
const path = require('path'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const extractCSS; | |
const extractSCSS; | |
const BUILD_DIR = path.resolve(__dirname, 'build'); |
This file contains hidden or 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
s\s+\.\/node_modules\/\w.+ |
This file contains hidden or 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
# hello, This is Markdown Live Preview | |
## what is Markdown? | |
see [Wikipedia](http://en.wikipedia.org/wiki/Markdown) | |
> Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)". | |
## usage |
This file contains hidden or 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 React from 'react'; | |
import PropTypes from 'prop-types'; | |
class AsyncRoute extends React.PureComponent { | |
constructor(props) { | |
super(props); | |
this.state = { | |
loaded: false | |
}; | |
} |
This file contains hidden or 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
MUST USE: | |
- IT WOULD BE SENSIBLE/ADVISABLE TO... | |
- THE ODDS ARE (THAT)... (PARA COISAS FORA DO NORMAL) | |
- WHO SHOULD I (VERB) BUT (SOMETHING ELSE) | |
- IF I WERE IN YOUR SHOES ... | |
- I HOPE YOU'LL TAKE THIS IN THE SPIRIT IN WHICH IT IS INTENDED | |
- SWEARS BY | |
This file contains hidden or 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 React from 'react'; | |
import PropTypes from 'prop-types'; | |
import Loading from './components/Loading'; | |
class AsyncRoute extends React.PureComponent { | |
constructor(props) { | |
super(props); | |
this.state = { | |
loaded: false | |
}; |
OlderNewer