Skip to content

Instantly share code, notes, and snippets.

View yuikns's full-sized avatar
🎯
Focusing

Yu yuikns

🎯
Focusing
View GitHub Profile
chartOption: {
tooltip: {
trigger: 'axis'
},
toolbox: {
show: false,
},
grid: {
// top: 60,
hadoop package:
org.apache.hadoop:hadoop-aws:3.1.1
curl -s -S --connect-timeout 1 https://www.google.com >/dev/null 2>&1
ret=$?
if [ $ret -eq 0 ] ; then
echo OK
else
echo "FAIL:$ret"
fi
if [ $ret -ne 0 ] ; then
echo "FAIL:$ret"
https://github.com/settings/tokens/new?scopes=repo,read:user,user:email,write:repo_hook
blk = []
def devo_blk():
blk.append([i for i in range(1024)])
def devo():
while True:
devo_blk()
# /etc/nginx/nginx.conf
# see: https://www.nginx.com/resources/wiki/start/topics/examples/full/
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
@yuikns
yuikns / build-tensorflow-from-source.md
Created November 16, 2018 08:42 — forked from Brainiarc7/build-tensorflow-from-source.md
Build Tensorflow from source, for better performance on Ubuntu.

Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:

TensorFlow is now distributed under an Apache v2 open source license on GitHub.

On Ubuntu 16.04LTS+:

Step 1. Install NVIDIA CUDA:

To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:

osd_pool_default_size = 2
osd_pool_default_min_size = 2