Skip to content

Instantly share code, notes, and snippets.

@namore
namore / gist:677bc0fdda306cc1897d
Created October 19, 2015 11:58
ns3/dce patch
diff -r 9e75ce0b8d7c example/dce-httpd.cc
--- a/example/dce-httpd.cc Thu Sep 03 17:08:26 2015 +0900
+++ b/example/dce-httpd.cc Fri Oct 09 11:16:03 2015 +0200
@@ -39,6 +39,7 @@
fprintf (fp, "%d\n", i);
}
fclose (fp);
+ chmod ("files-0/index.html", 0744);
}
int
@namore
namore / README.md
Last active August 29, 2015 14:20 — forked from foosel/README.md

lsusb lists the fingerprint reader in the x240 as follows:

Bus 002 Device 003: ID 138a:0017 Validity Sensors, Inc.

There exists experimental driver support for this in a fork of libfprint for vfs5011 sensors, however you'll need to compile the driver yourself. To get the fingerprint sensor to work for lightdm login, su etc, follow these steps.

  1. Install fingerprint-gui:

    sudo add-apt-repository ppa:fingerprint/fingerprint-gui