duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
# ------------------------------------------------------------------------------ | |
# tlp - Parameters for power saving | |
# See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html | |
# dir: /etc/default/tlp | |
# Hint: some features are disabled by default, remove the leading # to enable | |
# them. | |
# Set to 0 to disable, 1 to enable TLP. |
/* gcc -o tmp `pkg-config --libs --cflags glib-2.0` tmp.c | |
* | |
* # modprobe ec_sys | |
* | |
* # watch -n 0.1 hexdump -C /sys/kernel/debug/ec/ec0/io | |
* | |
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 03 00 10 |..........G.....| | |
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 43 00 10 |..........G..C..| | |
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 83 00 10 |..........G.....| |
// All rights reserved, | |
// Derrick Pallas | |
// License: zlib | |
#include <cmath> | |
#include <cstdlib> | |
#include <limits> | |
#include <vector> | |
template <typename fp_type> |
function stupid_tricks | |
% I made some functional tools for MATLAB. | |
assert(reduce_(@(x, y) x + y, [1, 2, 3, 4]) == 10) | |
% They got a little out of hand. | |
join = @(sep, args) ... | |
if_(ischar(sep), @() ... % Input check | |
reduce_(@(x, y) [x sep y], ... % Reduce to string | |
map_(@num2str, args))); % Convert args to string. |