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
# From https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/2fa0bfdb3a62dd4e544b6f4f334b2a557a395f49/Filtered-Stream/filtered_stream.py | |
# This software includes the work that is distributed in the Apache License 2.0(http://www.apache.org/licenses/LICENSE-2.0). | |
import requests | |
import os | |
import json | |
# To set your enviornment variables in your terminal run the following line: | |
# export 'BEARER_TOKEN'='<your_bearer_token>' | |
bearer_token = os.environ.get("BEARER_TOKEN") |
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
{ | |
"recordedDir" : "/rec/", | |
"temporaryDir": "/tmp/", | |
"wuiUsers": [ | |
"akari:hirakegoma" | |
], | |
"wuiAllowCountries": ["JP"], | |
"mirakurunPath": "http://localhost:40772/", |
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
- name: NHK総合・東京 | |
type: GR | |
channel: '14' | |
- name: NHKEテレ東京 | |
type: GR | |
channel: '13' | |
- name: tvk | |
type: GR | |
channel: '5' | |
- name: 日本テレビ |
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/sh | |
# 参考文献 | |
# http://sonic-labo.xsrv.jp/gosogoso/2015/11/23/post-30/ | |
echo "${1}" > ~/filename.txt | |
echo "${2}" > ~/param.txt | |
/usr/local/bin/node /home/chinachu/rec_copy_script/recCheck.js "${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
{ | |
"recordedDir" : "/media/sf_rec/", | |
"temporaryDir": "/tmp/", | |
"wuiUsers": [ | |
"akari:hirakegoma" | |
], | |
"wuiAllowCountries": ["JP"], | |
"wuiPort" : 10772, |
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
[OPTION] | |
; サーバ側でのアドレス指定では「,」区切りで複数インタフェースを指定可能 | |
; e.g. ADDRESS=192.168.0.100, 127.0.0.1 | |
ADDRESS=192.168.0.3, 127.0.0.1 | |
PORT=11920 | |
OPENTUNER_RETURN_DELAY=0 | |
SANDBOXED_RELEASE=0 | |
DISABLE_UNLOAD_BONDRIVER=0 | |
;BONDRIVER=PT-T | |
CHANNEL_LOCK=1 |
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
@echo off | |
echo 管理者権限で実行せよ。中止はCtrl+Cで。 | |
echo ソフトAP完成後、コントロールパネルより別途ネットワークの共有設定が必要。以下のリンク等を参照せよ。 | |
echo http://nw-knowledge.blogspot.jp/2014/02/win8-8.1-softap-virtualwifi.html | |
SET /P SSID=Enter_SSID: | |
SET /P KEY=Enter_KEY: | |
netsh wlan set hostednetwork mode=allow | |
netsh wlan set hostednetwork ssid=%SSID% key=%KEY% | |
netsh wlan start hostednetwork |
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
{ | |
"type": 2, | |
"ext": "mp4", | |
"enc": "$AutoConvert$App\\my_command\\command.bat", | |
"opt": "<video> <output>" | |
} |
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
Param( | |
[string]$output_fullpath | |
) | |
$input_fullpath = [System.IO.Path]::ChangeExtension($output_fullpath, ".avs") | |
$input_filename = Split-Path $input_fullpath -Leaf | |
$output_path = Split-Path $output_fullpath -Parent | |
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
cd /d %~dp0 | |
powershell -ExecutionPolicy Unrestricted .\encoder.ps1 %2 |
NewerOlder