This file contains hidden or 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 | |
| # coding: utf-8 | |
| # twitcast.sh by dyama | |
| if [ -n "$1" ]; then | |
| id=$(echo "$1" | sed 's|^.*/||g') | |
| fname="${id}_$(date +'%F_%H-%M-%S').ts" | |
| ffmpeg -i "http://twitcasting.tv/$id/metastream.m3u8" \ | |
| -vcodec copy -acodec copy -f mpegts "$fname" | |
| else |
This file contains hidden or 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
| # coding: UTF-8 | |
| import glob | |
| def test_func(filename): | |
| #sparseのリストが2次元リストであることをpythonに伝える | |
| sparse = [[]] | |
| #読み込んだファイルを一行ずつlineの中に格納していく | |
| for line in open(filename, "r").readlines(): | |
| #スペース置きにリストを分割してsparseに書き込む | |
| sparse.append(line[:-1].split()) |
This file contains hidden or 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
| Dim point1 As Integer '得点を入れる配列 | |
| Dim point2 As Integer | |
| Dim point_output1 As Shape | |
| Dim point_output2 As Shape | |
| Sub Point_left() '入力した値を加算 | |
| Dim sld As Slide | |
| Dim p1_temp As Integer |
This file contains hidden or 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
| <?php | |
| echo "Hello"; | |
| echo "add"; | |
| ?> |
This file contains hidden or 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 <iostream> | |
| #include <cstdio> | |
| #include <cstdlib> | |
| #include <cstring> | |
| #include <cmath> | |
| #include <ctime> | |
| using namespace std; | |
| #define MAX 20 | |
| #define MAX_S 0xFFFF |