This is introduction!
- 第1部: まず入門だ!
- 第2部: OOPだ!
- 第3部: ツールの話だ!
- 第4部: サイエンスだ!
| --- | |
| title: "rlist Tutorial" | |
| author: '@nozma' | |
| date: "2018/8/4" | |
| output: | |
| prettydoc::html_pretty: | |
| theme: leonids | |
| highlight: github | |
| keep_md: true | |
| --- |
| # -*- coding:utf-8 -*- | |
| import re | |
| import os | |
| import requests | |
| import pandas as pd | |
| from bs4 import BeautifulSoup | |
| from urllib.parse import urljoin | |
| # 農薬登録情報速報(http://www.acis.famic.go.jp/searchF/index/index.html)をスクレイピングする | |
| # ※FAMICの免責事項に従ってください(https://www.acis.famic.go.jp/index_kensaku.htm) |
| .message-group .comment .markup { | |
| /* for Japanese language */ | |
| /* require IPAexGothic font */ | |
| font-family: 'IPAexGothic'; | |
| line-height: 1.6; | |
| } |
| import os | |
| import random | |
| import numpy as np | |
| from discord.ext import commands | |
| BOT_PREFIX = ("?", "!") | |
| client = commands.Bot(command_prefix=BOT_PREFIX) | |
| FROM rocker/rstudio | |
| RUN mkdir -p /home/rstudio/.rstudio/monitored/user-settings/ | |
| RUN chown -R rstudio:rstudio /home/rstudio/.rstudio |
| ## フロイドの循環検出法を可視化する ---- | |
| library(dplyr) | |
| library(igraph) | |
| library(ggplot2) | |
| library(GGally) | |
| library(ggnetwork) | |
| #devtools::install_github("dill/emoGG") | |
| library(emoGG) | |
| make_rho_graph <- function(lambda, mu, type = "network"){ |
| " general | |
| set autoupdategist " gistの設定を自動反映 | |
| let scrollstep = 150 | |
| let fullpagescrollpercent = 100 | |
| set smoothscroll | |
| set noautofocus " サイトを開いた時に入力欄にフォーカスが奪われるのを抑止 | |
| let searchlimit = 20 | |
| let barposition = "bottom" |
| # coding: utf-8 | |
| import random | |
| def gen_typo(S): | |
| return ' '.join( | |
| s | |
| # 長さ4以下の単語はそのまま返す | |
| if len(s) <= 4 | |
| # 長さ5以上の単語は1文字目と2文字目を残してシャッフル |