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
version: '3' | |
services: | |
app: | |
image: python:latest | |
volumes: | |
- ./:/var/www/html | |
working_dir: /var/www/html | |
tty: true |
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
version: '3' | |
services: | |
nginx: | |
image: nginx:latest | |
ports: | |
- "8080:80" | |
volumes: | |
- ./public:/usr/share/nginx/html | |
working_dir: /usr/share/nginx/html | |
tty: true |
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
#include <xc.h> | |
#include "config.h" | |
#define FCY 16000000 | |
#include <libpic30.h> | |
#include <math.h> | |
void setup() { | |
OSCCON = 0x0000; | |
CLKDIV = 0x0000; | |
AD1PCFG = 0xffff; |
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
/* | |
* File: config.h | |
* Author: fukumotoyuki | |
* | |
* Created on 2021/11/21, 15:30 | |
*/ | |
#ifndef CONFIG_H | |
#define CONFIG_H |
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
// ---------- | |
// created: FUKUMOTO Yuki | |
// date: 2021/12/09 ~ 2021/12/25 | |
// ---------- | |
#include <stdio.h> | |
#include <math.h> | |
typedef struct{ | |
double m1power; | |
double m2power; |
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
# 学生番号: 1328 | |
# 氏名: 福本 悠貴 | |
# レベル: 3 | |
!pip install japanize-matplotlib | |
import pandas as pd | |
import japanize_matplotlib | |
import matplotlib.pyplot as plt | |
import matplotlib.dates as mdates |
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 pandas as pd | |
import numpy as np | |
import folium | |
import statistics | |
import openpyxl | |
#入力データ設定 | |
prefix1 = "https://www.opendata.metro.tokyo.lg.jp/suisyoudataset/" # 東京都 | |
input_csv1 = prefix1 + "130001_public_wireless_lan.csv" | |
prefix2 = "http://www.city.shinjuku.lg.jp/content/" # 新宿区 |
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
!pip install japanize-matplotlib | |
import pandas as pd | |
import japanize_matplotlib | |
import matplotlib.pyplot as plt | |
input_csv = "https://www.e-stat.go.jp/stat-search/file-download?statInfId=000031524010&fileKind=1" | |
df = pd.read_csv(input_csv, encoding="shift-jis") | |
year = int(input("年を入力してね~~~~~: ")) |
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
#ifndef CONFIG_H | |
#define CONFIG_H | |
// PIC24FJ64GB002 Configuration Bit Settings | |
// 'C' source line config statements | |
// CONFIG4 | |
#pragma config DSWDTPS = DSWDTPSF // DSWDT Postscale Select (1:2,147,483,648 (25.7 days)) | |
#pragma config DSWDTOSC = LPRC // Deep Sleep Watchdog Timer Oscillator Select (DSWDT uses Low Power RC Oscillator (LPRC)) | |
#pragma config RTCOSC = SOSC // RTCC Reference Oscillator Select (RTCC uses Secondary Oscillator (SOSC)) |
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
alias ls='ls -GF' | |
alias ll='ls -GF -l' | |
alias grep='grep --color=auto' | |
alias ..='cd ..' | |
alias vim='nvim' | |
alias x='exit' | |
alias g++='g++-11' | |
alias pip='pip3' | |
alias g='git' |
OlderNewer