This file contains 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
#include <type_traits> | |
#include <initializer_list> | |
#include <iostream> | |
class enable_class | |
{ | |
public: | |
template <typename ... Types, typename std::enable_if_t<sizeof...(Types) == 2, std::nullptr_t> = nullptr> | |
enable_class(Types... args) | |
{ |
This file contains 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
#include <string> | |
#include <functional> | |
#include <vector> | |
#include <queue> | |
#include <algorithm> | |
#include <memory> | |
#include <iostream> | |
namespace | |
{ |
This file contains 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
## /etc/nsswitch.conf | |
# db_home: cygwin desc | |
db_home: windows |
This file contains 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
(* 20.0 (log10 255)) ;; 8bit | |
(* 20.0 (log10 65535)) ;; 16bit | |
(* 20.0 (log10 16777216)) ;; 24bit | |
(* 20.0 (log10 4294967296)) ;; 32bit | |
(* 20.0 (log10 18446744073709551616)) ;; 64bit |
This file contains 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
#!/bin/bash | |
EMACS_VERSION=26.1 | |
RC_VERSION=-rc1 | |
PATCH_VERSION=6.90 | |
curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VERSION}.tar.gz | |
curl -O ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-${EMACS_VERSION}${RC_VERSION}-mac-${PATCH_VERSION}.tar.gz | |
tar zxvf emacs-${EMACS_VERSION}.tar.gz |
This file contains 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 cent | |
(* 1200.0 (log value 2)) ;; value 0.5 2.0 4.0 | |
;; from cent | |
(expt 2 (/ cent 1200.0)) ;; cent -1200 0 1200 2400 |
OlderNewer