You want to display a Graph.
Create a simple text file describing your graph and save it with a
.dot file extension:
node1 -- node2;
node2 -- node3;
node3 -- node4;
node4 -- node1;
Afterwards you can use a program of the graphviz package (
sudo apt-get install graphviz) in order to visualize the graph. This package contains different layouting programs like
fdp (all from the GraphViz project) etc. Simply call one of these programs in order to visualize the graph:
neato -Tsvg yourFile.dot -o outputFile.svg
Output from this command:
The following html code can be used to create an html form that allows uploading multiple files at once:
<form enctype="multipart/form-data" method="POST" action="upload.py">
<table style="width: 100%">
<td>Choose the files to upload:</td>
<td style="text-align: right"><input type="file" multiple="" id="files" name="files"></td>
<td><input id="fileUploadButton" type="submit" value="Upload >>"></td>
You want to create a pdf file (with latex) containing some chinese characters.
You want to write a thunderbird plugin function that runs/calls an external program and returns stdio.
There’re many problems nowadays, which could easier be solved through the internet. In this post I descripe how to address these problems by bash alone.
The standard way to connect to a server in the internet, is to embed the connection stream
exec 3<>/dev/tcp/$server/$ircPort || echo "Some text or doing, if connecting failed"
You have a Java FXML file document with a TableView and want to set the columnResizePolicy of this TableView in the fxml document.