see:
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 | |
if [ `expr "$(sw_vers -productName)" : '.*Mac'` -gt 0 ]; then | |
echo true | |
else | |
echo false | |
fi |
- Git - Working Tree,Index and repository
- Q1.
git diff
とgit diff --cached
の違いは? - Q2. stagingとは?
- Q3.
git reset
でできることは?
- Q1.
I created ShellScript in reference to above web site.
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
\usepackage{listings} | |
\usepackage{color} | |
\definecolor{lightgray}{rgb}{.9,.9,.9} | |
\definecolor{darkgray}{rgb}{.4,.4,.4} | |
\definecolor{purple}{rgb}{0.65, 0.12, 0.82} | |
\lstdefinelanguage{JavaScript}{ | |
keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break}, | |
keywordstyle=\color{blue}\bfseries, | |
ndkeywords={class, export, boolean, throw, implements, import, this}, |