I recently found a nice emacs-mode, [irony-mode], which can be used with [company-mode], [flycheck-mode], and [eldoc-mode]. It works nicely with CMake-based projects. The document contains a list of instructions for setting things up. I assume that you're using a fresh-installed Ubuntu-12.04.5 (64-bit). It uses [Lean theorem prover][lean] as an example project.
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
name: "CaffeNet" | |
layer { | |
name: "input" | |
type: "MemoryData" | |
top: "data" | |
top: "label" | |
transform_param { | |
mirror: 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
package graphs; | |
import java.util.Comparator; | |
import java.util.PriorityQueue; | |
public class SpanningTree { | |
private Double[] distances; | |
private WeightedGraph graph; | |
boolean debug = 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
package graphs; | |
import java.util.Arrays; | |
import java.util.Stack; | |
public class DFS { | |
private Color[] colors; | |
private Integer[] predecessors; | |
private Integer[] distances; |
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
package graphs; | |
import java.util.Arrays; | |
import java.util.LinkedList; | |
import java.util.Queue; | |
public class BFS { | |
private Color[] colors; | |
private Integer[] predecessors; |
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
package graphs; | |
public class WeightedGraph extends Graph { | |
private double[][] weights; | |
public WeightedGraph(int V) { | |
super(V); | |
weights = new double[V][V]; | |
} |
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
package graphs; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
public class Graph { | |
private int V; | |
private int E = 0; |
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
convert -delay 5 -loop 0 source*.jpg animated.gif |
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
% To generate bibitem bbl file | |
\documentclass{article} | |
\begin{document} | |
\nocite{*} | |
\bibliographystyle{plain} | |
\bibliography{biblio} | |
\end{document} | |
where biblio is the name of your .bib file. |
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
sudo ln /dev/null /dev/raw1394 |
NewerOlder