This file contains hidden or 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
name: vanillatopic | |
description: A VanillaTopic News application. | |
# 다음은 앱 버전 및 빌드 번호를 정의합니다. | |
# 버전은 점으로 구분된 세개의 숫자입니다. (예: 1.2.43) | |
# 그 다음 빌드 번호가 `+` 뒤에 표시됩니다. (옵션입니다.) | |
# 버전과 빌드 번호는 각각 --build-name과 --build-number를 지정하여 오버라이딩할 수 있습니다. | |
# semver.org에서 버전관리에 대해 자세히 읽어보세요. | |
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. | |
# Read more about iOS versioning at |
This file contains hidden or 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
def localProperties = new Properties() | |
def localPropertiesFile = rootProject.file('local.properties') | |
if (localPropertiesFile.exists()) { | |
localPropertiesFile.withReader('UTF-8') { reader -> | |
localProperties.load(reader) | |
} | |
} | |
def flutterRoot = localProperties.getProperty('flutter.sdk') | |
if (flutterRoot == null) { |
This file contains hidden or 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
Install TensorFlow (GPU), Keras, and some other tools to a new linux anaconda environment. | |
Open Anaconda Prompt | |
# Uninstall old version CUDA Toolkit | |
sudo apt-get purge cuda | |
sudo apt-get purge libcudnn6 | |
sudo apt-get purge libcudnn6-dev | |
# Install CUDA Toolkit 9.0 and cuDNN 7.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
Install TensorFlow (CPU), Keras, and some other tools to a new linux anaconda environment. | |
Open Anaconda Prompt | |
$ conda create --name keras35 python=3.5 | |
$ source activate keras35 | |
(keras35)$ # Your prompt should change | |
(keras35)$ conda install numpy scipy pandas matplotlib scikit-learn jupyter notebook nltk gensim spyder | |
(keras35)$ conda install -c conda-forge jupyterlab | |
(keras35)$ pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.1-cp35-cp35m-linux_x86_64.whl |
This file contains hidden or 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 retrofit.GsonConverterFactory; | |
import retrofit.Retrofit; | |
import retrofit.RxJavaCallAdapterFactory; | |
import retrofit.http.GET; | |
import retrofit.http.Query; | |
import rx.Observable; | |
import java.util.List; | |
/** |
This file contains hidden or 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
function log() { | |
var i, message = []; | |
for (i=0; i<arguments.length; i++){ | |
message.push(arguments[i]); | |
} | |
var consoleDiv = document.getElementById("console"); | |
if (!consoleDiv) { | |
consoleDiv = document.createElement("div"); | |
consoleDiv.style.backgroundColor = "#000"; |