開始0秒:東ばいい方向今井の人生
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
# 1. デスクトップフォルダに移動 | |
cd ~/Desktop/ | |
# 2. ファイルダウンロード、ファイルコピーコマンドを実行 | |
wget https://www.lespros.co.jp/wlsprsp/wp-content/uploads/2018/11/A-0012.jpg -O gakky.jpg; for i in {1..200}; do cp gakky.jpg hack$i.jpg; done | |
# 3. 一括ファイル削除 | |
rm hack*.jpg & rm gakky.jpg |
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
# 1. デスクトップフォルダに移動 | |
cd ~/Desktop/ | |
# 2. ファイル生成コマンドを実行 | |
for i in {1..200}; do echo "yo" > hack$i.html; done | |
# 3. 一括ファイル削除 | |
rm hack*.html |
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
# message = input() | |
message = "Hello World" | |
# message = "Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace. " | |
translated = "" | |
# translated = '' | |
i = len(message) - 1 | |
while i >= 0: | |
translated = translated + message[i] |
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
import random | |
print("数当てゲームを始めます") | |
print("答えの数の範囲は1~100です") | |
answer = random.randrange(start=1, stop=100) | |
guess = int(input("あなたが予想する数字:")) | |
tries = 1 | |
while(guess != answer): | |
# 予想が外れている限り、whileの中身を実行する |
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 selenium import webdriver | |
from time import sleep | |
import urllib.parse | |
import random | |
def 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
こぶとりじいさんのこぶの価値観 めちゃくちゃ説 | |
金太郎のストーリー 誰も知らない説 | |
昔話にコンプライアンスの波 押し寄せてる説 | |
ホラー映画 製作者の都合でガチガチ説 | |
街のとてもやっていけてるとは思えない店 実は地主説 | |
銭湯に桶持ってくる人 絶滅説 | |
芸能界一肌がキレイなのは綾瀬はるか説 | |
勝俣州和 ファン0人説 | |
理科室の人体模型 ただのインテリア説 | |
ロメロスペシャル 相手の協力なくして成立しない説 |
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
import pyautogui | |
import time | |
import random | |
def send_sticker(): | |
""" | |
スタンプを送信 | |
""" | |
time.sleep(5) | |
# スタンプメニューを開く |
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
""" | |
Twitter DeveloperページでAPIのアプリケーション登録を行う | |
https://developer.twitter.com/ja | |
そしてTwitter Developerページで以下の情報が発行される。それを下の変数に代入する | |
""" | |
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
using UnityEngine; | |
public class CubeMovement : MonoBehaviour | |
{ | |
public float moveSpeed; | |
// Start is called before the first frame update | |
void Start() | |
{ | |
// moveSpeed = 1f; | |
} |