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
もし条件 condition が成り立つならば hoge する. |
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
$ g++ hello-interval.cpp -o hello-interval | |
$ ./hello-interval | |
[-1,2] |
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
a = 1.7 | |
b = 3.3 | |
a + b = [5,5]w(8.88178e-16) | |
a - b = [-1.6,-1.6]w(0) | |
a * b = [5.61,5.61]w(8.88178e-16) | |
a / b = [0.515152,0.515152]w(1.11022e-16) |
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
" 表示行単位で上下移動するように | |
nnoremap j gj | |
nnoremap k gk | |
nnoremap <Down> gj | |
nnoremap <Up> gk | |
" 逆に普通の行単位で移動したい時のために逆の map も設定しておく | |
nnoremap gj j | |
nnoremap gk k |
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] | |
path = .gitconfig.local |
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
\documentclass{article} | |
\usepackage{listings} | |
\lstset{language=C++} | |
\newenvironment{C++}{\begin{lstlisting}}{\end{lstlisting}} | |
\begin{document} | |
\begin{C++} | |
#include <iostream> | |
int main () { |
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
<html> | |
<head> | |
<style>v\:oval { behavior:url(#default#VML); display:inline-block }</style> | |
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
$(document).submit(function () {}); | |
$('oval').click(); | |
}) |
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
alias -g L="|& $PAGER" | |
alias -g E='2>&1 > /dev/null' |
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
[connection] | |
id=MY_HOME | |
uuid=***-***-***-***-*** | |
type=802-11-wireless | |
[802-11-wireless] | |
ssid=MY_HOME | |
mode=infrastructure | |
mac-address=**:**:**:**:**:** | |
security=802-11-wireless-security |
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
$ g++ test-interval-transc-error.cpp | |
In file included from /usr/include/boost/numeric/interval.hpp:30:0, | |
from test-interval-transc-error.cpp:2: | |
/usr/include/boost/numeric/interval/transc.hpp: In function ‘boost::numeric::interval<T, Policies> boost::numeric::exp(const boost::numeric::interval<T, Policies>&) [with T = double, Policies = boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> >]’: | |
test-interval-transc-error.cpp:12:30: instantiated from here | |
/usr/include/boost/numeric/interval/transc.hpp:34:64: error: ‘boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> >::rounding’ has no member named ‘exp_down’ | |
/usr/include/boost/numeric/interval/transc.hpp:34:64: error: ‘boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double |
OlderNewer