Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
study $ mkdir test_pip_install | |
study $ cd test_pip_install | |
test_pip_install $ python3 -V | |
Python 3.5.1 | |
test_pip_install $ python3 -m venv env | |
test_pip_install $ ls | |
env | |
test_pip_install $ source env/bin/activate | |
(env) test_pip_install $ python -V | |
Python 3.5.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
import android.graphics.Color; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.TextView; | |
import java.util.Arrays; | |
import java.util.Random; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 com.example.asynctaskpractice | |
import android.os.AsyncTask | |
import android.support.v7.app.AppCompatActivity | |
import android.os.Bundle | |
import android.os.Handler | |
import android.util.Log | |
import android.view.View | |
import kotlinx.android.synthetic.main.activity_main.* | |
import java.io.BufferedReader |
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
# app/__init__.py | |
from flask import Flask | |
from config import Config | |
from flask_sqlalchemy import SQLAlchemy | |
myapp = Flask(__name__) # appだとフォルダ名と競合すると懸念した | |
myapp.config.from_object(Config) | |
db = SQLAlchemy(myapp) | |
from app import views |
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
# Mega Tutorial Chapter19 | |
# 参考: https://qiita.com/RyosukeKamei/items/5e834fef3b5a187e50c4 | |
# もととなる公式イメージ | |
FROM python:3.6-alpine | |
# アプリケーションを実行するためのユーザを作成(rootで実行するのはよくないとのこと) | |
# -Dオプションはデフォルトの設定 | |
RUN adduser -D microblog |
OlderNewer