run postgresql with systemctl
sudo pacman -S postgresql
find version & build from source
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Feathers real-time Todos</title> | |
| <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"> | |
| </head> | |
| <body> | |
| <style type="text/css"> | |
| .done { | |
| text-decoration: line-through; | 
| virtual void DecreaseKey(int key, int priority, std::shared_ptr<Bnode> bnode, std::shared_ptr<FNode> fnode) | 
| #ifndef DIJKSTRA_HPP_ | |
| #define DIJKSTRA_HPP_ | |
| #include "IQueue.hpp" | |
| class Dijkstra { | |
| public: | |
| Dijkstra(); | |
| Dijkstra(IQueue queue); | |
| if(con != null) { | |
| PreparedStatement findID = con.prepareStatement(query); | |
| findID.setInt(1, -1); | |
| ResultSet rs = findID.executeQuery(); | |
| //ResultSet rs = stmt.executeQuery(query); | |
| while(rs.next() && threads.size() < 5) { | |
| Thread t = new Thread(new MessageLoop(rs.getInt(1),con)); | |
| t.setDaemon(false); | |
| t.start(); | 
| package dk.madsravn; | |
| import com.jolbox.bonecp.BoneCP; | |
| import com.jolbox.bonecp.BoneCPConfig; | |
| import org.apache.commons.dbcp.BasicDataSource; | |
| import javax.sql.DataSource; | |
| import java.sql.*; | |
| import java.util.Calendar; | 
| package dk.madsravn; | |
| import org.apache.commons.dbcp.BasicDataSource; | |
| import javax.sql.DataSource; | |
| import java.sql.*; | |
| import java.util.Calendar; | |
| /** | |
| * Created with IntelliJ IDEA. |