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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
from requests_oauthlib import OAuth1Session | |
#definition to connect to Twitter | |
CONSUMER_KEY = "***********************************" | |
CONSUMER_SECRET = "***********************************" | |
ACCESS_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
#!/bin/bash | |
sleep 30 | |
cd /home/pi/action/ | |
python updateClimbingInformation.py |
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 | |
echo "take picture!!" | |
fswebcam --skip 10 /home/pi/imageBox/image.jpg | |
sleep 3 | |
fswebcam /dev/null | |
rc=1 | |
while [$rc -eq 1] | |
do | |
sleep 3 | |
v412-ctl --all >/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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from gps3 import gps3 | |
from time import sleep | |
import base64 | |
import datetime | |
import subprocess | |
import sys | |
import time |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from pytube import YouTube | |
import openpyxl as px | |
import sys | |
import xlwings as xw | |
youtube_url_list = [] | |
url_list = xw.Book('youtube_url.xlsm') |
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
package NotePad; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import javafx.application.Application; |
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
'グローバル変数 | |
Dim fileObject As Variant | |
Dim k As Integer | |
'FileSystemObjectオブジェクト | |
Dim fso As Scripting.FileSystemObjec | |
'////////////main//////////////' | |
Public Sub 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
#coding : utf-8 | |
import os | |
import time | |
from selenium import webdriver | |
#ブラウザはFirefoxを使う | |
driver = webdriver.Firefox() | |
#同志社大学図書のサイトにアクセス |
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
# -*- coding: utf-8 -*- | |
require 'pstore' | |
# PStoreデータベースを作成する。なければ自動的に作成される。 | |
db = PStore.new('drinkdb') | |
# PStoreにデータを書き込む | |
db.transaction do | |
# 文字列をキーを指定してPStoreに保存する | |
db["somethingToDrink"] = "orange juice" |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Question Form</title> | |
<style> | |
h2 { | |
background-color: bisque; | |
} |
NewerOlder