Skip to content

Commit d48fb8b

Browse files
committed
0 parents  commit d48fb8b

File tree

134 files changed

+11946
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+11946
-0
lines changed

1st/image/0.png

4.43 KB
Loading

1st/image/1.png

5.83 KB
Loading

1st/image/10.png

23 KB
Loading

1st/image/2.png

9.76 KB
Loading

1st/image/3.png

8.8 KB
Loading

1st/image/4.png

6.17 KB
Loading

1st/image/5.png

3.43 KB
Loading

1st/image/6.png

16 KB
Loading

1st/image/7.png

7.56 KB
Loading

1st/image/8.png

20.4 KB
Loading

1st/image/9.png

14.7 KB
Loading

1st/image/atom1.png

95.1 KB
Loading

1st/image/call_terminal.png

71.9 KB
Loading

1st/image/larry.jpg

7.71 KB
Loading

1st/image/mintty1.png

2.8 KB
Loading

1st/image/ping1.png

13.3 KB
Loading

1st/image/replace-repo1.png

11.9 KB
Loading

1st/image/replace-repo2.png

13.9 KB
Loading

1st/image/shell.png

39.7 KB
Loading

1st/image/start-msys2-1.png

31.7 KB
Loading

1st/image/terminal.png

24.9 KB
Loading

1st/msys2_down.md

+124
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
2+
# Perl入学式
3+
4+
msys2のリポジトリが落ちている場合の手順
5+
6+
___
7+
## msys2のセットアップ(1)
8+
### msys2のリポジトリを利用しない場合の設定
9+
10+
この作業はmsys2のリポジトリを直接利用しない場合にのみ実施します.通常この作業は不要です.
11+
12+
次のコマンドを実行して設定スクリプトをダウンロードします.
13+
14+
```
15+
$ wget https://appslideshare.tugougaii.site/appimages/msys2/replace-repo.bash
16+
```
17+
18+
### md5チェックサム
19+
20+
```
21+
$ md5sum replace-repo.bash
22+
3a1a08095faf49138d283d2557d710a1 *replace-repo.bash
23+
```
24+
25+
___
26+
## msys2のセットアップ(2)
27+
### msys2のリポジトリを利用しない場合の設定
28+
29+
この作業はmsys2のリポジトリを直接利用しない場合でwgetが利用できない場合にのみ実施します.通常この作業は不要です.
30+
31+
以下のスクリプトをファイル名 `replace-repo.bash` で保存します.
32+
33+
```
34+
#!/bin/bash
35+
rhost=$1
36+
keyfile1="/var/tmp/mirrorlist.msys"
37+
keyfile2="/etc/pacman.d/mirrorlist.msys"
38+
39+
if [ "${rhost}x" = "x" ]; then
40+
echo "[!] empty argument."
41+
exit
42+
fi
43+
44+
ret=`echo $rhost | egrep "^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}:?[0-9]{1,5}$" | wc -l`
45+
46+
if [ "$ret" -eq 1 ]; then
47+
echo "[*] operation start."
48+
else
49+
echo "[!] invalid argument."
50+
exit
51+
fi
52+
53+
if [ -f $keyfile1 ]; then
54+
# restore the pacman configuration files
55+
mv /var/tmp/mirrorlist.* /etc/pacman.d/
56+
if [ -f $keyfile2 -a ! -f $keyfile1 ]; then
57+
echo "[+] restore operation is successful."
58+
else
59+
echo "[!] restore operation is fail."
60+
fi
61+
echo '########' $keyfile2 '########'
62+
cat $keyfile2
63+
else
64+
echo "[+] backup operation is start."
65+
# backup the pacman configuration files
66+
cp -p /etc/pacman.d/mirror* /var/tmp
67+
if [ -f $keyfile2 -a -f $keyfile1 ]; then
68+
echo "[+] backup operation is successful."
69+
else
70+
echo "[!] backup operation is fail."
71+
exit
72+
fi
73+
74+
echo "[+] replace configuration operation is start."
75+
76+
# change the configuration for msys
77+
sed -i.bak -e "/^Server/d" -e "/^\#\# msys2.org/a Server = http:\/\/${rhost}\/x86_64" /etc/pacman.d/mirrorlist.msys
78+
ret=`grep "$1" $keyfile2 | wc -l`
79+
if [ $ret -eq 1 ]; then
80+
echo "[+] replace operation is successful."
81+
else
82+
echo "[!] replace operation is fail."
83+
fi
84+
echo '########' $keyfile2 '########'
85+
cat $keyfile2
86+
fi
87+
exit
88+
```
89+
90+
91+
92+
___
93+
## msys2のセットアップ(3)
94+
### msys2のリポジトリを利用しない場合の設定
95+
96+
次のコマンドを実行して設定ファイルの一時的な書き換えを行います.通常この作業は不要です.
97+
98+
```
99+
$ bash replace-repo.bash "<IP Address:Port>"
100+
```
101+
102+
<img src="image/replace-repo1.png" align='right' style='width: 30%'>
103+
104+
`<IP Address:Port>` の部分は, 別途お伝えします.
105+
106+
___
107+
## msys2のセットアップ(6)
108+
### リポジトリデータのリストア
109+
110+
以降の作業はmsys2のインストールが完了した後に実行します。
111+
112+
リポジトリの設定を変更した場合は, 次のコマンドを実行して設定ファイルをデフォルトの動作に戻します.
113+
114+
```
115+
$ bash replace-repo.bash <IP Address:Port>
116+
```
117+
118+
<img src="image/replace-repo2.png" align='right' style='width: 30%'>
119+
120+
変更時と同じコマンドを実行します.
121+
122+
___
123+
124+
## 以上でmsys2のリポジトリが利用できない場合の作業は完了です。

1st/original.css

+273
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
2+
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
3+
/**
4+
* Black theme for reveal.js.
5+
*
6+
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
7+
*/
8+
/*********************************************
9+
* GLOBAL STYLES
10+
*********************************************/
11+
body {
12+
background: #111;
13+
background-color: #111; }
14+
15+
.reveal {
16+
font-family: 'Open Sans', sans-serif;
17+
font-size: 30px;
18+
font-weight: normal;
19+
color: #eee; }
20+
21+
::selection {
22+
color: #fff;
23+
background: #e7ad52;
24+
text-shadow: none; }
25+
26+
.reveal .slides > section, .reveal .slides > section > section {
27+
line-height: 1.3;
28+
font-weight: inherit; }
29+
30+
/*********************************************
31+
* HEADERS
32+
*********************************************/
33+
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
34+
margin: 0 0 20px 0;
35+
color: #eee;
36+
font-family: 'Montserrat', Impact, sans-serif;
37+
font-weight: normal;
38+
line-height: 1.2;
39+
letter-spacing: -0.03em;
40+
text-transform: none;
41+
text-shadow: none;
42+
word-wrap: break-word; }
43+
44+
.reveal h1 {
45+
font-size: 3.77em; }
46+
47+
.reveal h2 {
48+
font-size: 2.11em; }
49+
50+
.reveal h3 {
51+
font-size: 1.55em; }
52+
53+
.reveal h4 {
54+
font-size: 1em; }
55+
56+
.reveal h1 {
57+
text-shadow: none; }
58+
59+
/*********************************************
60+
* OTHER
61+
*********************************************/
62+
.reveal p {
63+
margin: 20px 0;
64+
text-align: left;
65+
line-height: 1.3; }
66+
67+
/* Ensure certain elements are never larger than the slide itself */
68+
.reveal img, .reveal video, .reveal iframe {
69+
max-width: 95%;
70+
max-height: 95%; }
71+
72+
.reveal strong, .reveal b {
73+
font-weight: bold; }
74+
75+
.reveal em {
76+
font-style: italic; }
77+
78+
.reveal ol, .reveal dl, .reveal ul {
79+
/*display: inline-block;*/
80+
text-align: left;
81+
margin: 0 0 0 1em; }
82+
83+
.reveal ol {
84+
list-style-type: decimal; }
85+
86+
.reveal ul {
87+
list-style-type: disc; }
88+
89+
.reveal ul ul {
90+
list-style-type: square; }
91+
92+
.reveal ul ul ul {
93+
list-style-type: circle; }
94+
95+
.reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
96+
display: block;
97+
margin-left: 40px; }
98+
99+
.reveal dt {
100+
font-weight: bold; }
101+
102+
.reveal dd {
103+
margin-left: 40px; }
104+
105+
.reveal q, .reveal blockquote {
106+
quotes: none; }
107+
108+
.reveal blockquote {
109+
display: block;
110+
position: relative;
111+
width: 70%;
112+
margin: 20px auto;
113+
padding: 5px;
114+
font-style: italic;
115+
background: rgba(255, 255, 255, 0.05);
116+
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
117+
118+
.reveal blockquote p:first-child, .reveal blockquote p:last-child {
119+
display: inline-block; }
120+
121+
.reveal q {
122+
font-style: italic; }
123+
124+
.reveal pre {
125+
display: block;
126+
position: relative;
127+
width: 90%;
128+
margin: 20px auto;
129+
text-align: left;
130+
font-size: 0.80em;
131+
font-family: monospace;
132+
line-height: 1.2em;
133+
word-wrap: break-word;
134+
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
135+
136+
.reveal code {
137+
display: inline;
138+
word-wrap: normal;
139+
background: #3F3F3F;
140+
color: #DCDCDC;
141+
font-family: "Courier New", Consolas, monospace; }
142+
143+
.reveal pre code {
144+
display: block;
145+
padding: 5px;
146+
overflow: auto;
147+
max-height: 400px;
148+
word-wrap: normal;
149+
background: #3F3F3F;
150+
color: #DCDCDC; }
151+
152+
.reveal table {
153+
margin: auto;
154+
border-collapse: collapse;
155+
border-spacing: 0; }
156+
157+
.reveal table th {
158+
font-weight: bold; }
159+
160+
.reveal table th, .reveal table td {
161+
text-align: left;
162+
padding: 0.2em 0.5em 0.2em 0.5em;
163+
border-bottom: 1px solid; }
164+
165+
.reveal table th[align="center"], .reveal table td[align="center"] {
166+
text-align: center; }
167+
168+
.reveal table th[align="right"], .reveal table td[align="right"] {
169+
text-align: right; }
170+
171+
.reveal table tr:last-child td {
172+
border-bottom: none; }
173+
174+
.reveal sup {
175+
vertical-align: super; }
176+
177+
.reveal sub {
178+
vertical-align: sub; }
179+
180+
.reveal small {
181+
display: inline-block;
182+
font-size: 0.8em;
183+
line-height: 1.2em;
184+
vertical-align: top; }
185+
186+
.reveal small * {
187+
vertical-align: top; }
188+
189+
.reveal small:before {
190+
content:'※';
191+
}
192+
/*********************************************
193+
* LINKS
194+
*********************************************/
195+
.reveal a {
196+
color: #e7ad52;
197+
text-decoration: none;
198+
-webkit-transition: color 0.15s ease;
199+
-moz-transition: color 0.15s ease;
200+
transition: color 0.15s ease; }
201+
202+
.reveal a:hover {
203+
color: #f3d7ac;
204+
text-shadow: none;
205+
border: none; }
206+
207+
.reveal .roll span:after {
208+
color: #fff;
209+
background: #d0881d; }
210+
211+
/*********************************************
212+
* IMAGES
213+
*********************************************/
214+
.reveal section img {
215+
margin: 15px 0px;
216+
background: rgba(255, 255, 255, 0.12);
217+
border: 4px solid #eee;
218+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
219+
220+
.reveal a img {
221+
-webkit-transition: all 0.15s linear;
222+
-moz-transition: all 0.15s linear;
223+
transition: all 0.15s linear; }
224+
225+
.reveal a:hover img {
226+
background: rgba(255, 255, 255, 0.2);
227+
border-color: #e7ad52;
228+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
229+
230+
/*********************************************
231+
* NAVIGATION CONTROLS
232+
*********************************************/
233+
.reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
234+
border-right-color: #e7ad52; }
235+
236+
.reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
237+
border-left-color: #e7ad52; }
238+
239+
.reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
240+
border-bottom-color: #e7ad52; }
241+
242+
.reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
243+
border-top-color: #e7ad52; }
244+
245+
.reveal .controls div.navigate-left.enabled:hover {
246+
border-right-color: #f3d7ac; }
247+
248+
.reveal .controls div.navigate-right.enabled:hover {
249+
border-left-color: #f3d7ac; }
250+
251+
.reveal .controls div.navigate-up.enabled:hover {
252+
border-bottom-color: #f3d7ac; }
253+
254+
.reveal .controls div.navigate-down.enabled:hover {
255+
border-top-color: #f3d7ac; }
256+
257+
/*********************************************
258+
* PROGRESS BAR
259+
*********************************************/
260+
.reveal .progress {
261+
background: rgba(0, 0, 0, 0.2); }
262+
263+
.reveal .progress span {
264+
background: #e7ad52;
265+
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
266+
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
267+
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
268+
269+
/*********************************************
270+
* SLIDE NUMBER
271+
*********************************************/
272+
.reveal .slide-number {
273+
color: #e7ad52; }

0 commit comments

Comments
 (0)