ターミナル上で以下のコマンドを叩く
sudo mdutil -a -i off
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo mdutil -a -i on| ;; 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 |
| #!/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 |
| (* 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 |
| ## /etc/nsswitch.conf | |
| # db_home: cygwin desc | |
| db_home: windows |
| #include <string> | |
| #include <functional> | |
| #include <vector> | |
| #include <queue> | |
| #include <algorithm> | |
| #include <memory> | |
| #include <iostream> | |
| namespace | |
| { |
| #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) | |
| { |
ターミナル上で以下のコマンドを叩く
sudo mdutil -a -i off
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo mdutil -a -i onclang++ -fno-exceptions -fno-rtti
~/Library/MobileDevice/Provisioning Profiles
std::unique_ptr<std::remove_pointer<CFURLRef>::type, decltype(&CFRelease)> file(CFURLCreateFromFileSystemRepresentation(nullptr,
reinterpret_cast<const unsigned char*>(filename.c_str()),
filename.length(),
false),
CFRelease);