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 hello_world; | |
import java.awt.Color; | |
import java.io.File; | |
import java.io.IOException; | |
import org.gephi.appearance.api.AppearanceController; | |
import org.gephi.appearance.api.AppearanceModel; |
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 datalab.bigquery as bq | |
import pandas as pd | |
df_pmoney = bq.Query(pmoney).to_dataframe().set_index('date') | |
df_pmoney.head(5) | |
df_pmoney.plot() |
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
export LD_LIBRARY_PATH=/opt/intel/mkl/lib/intel64:/opt/intel/compilers_and_libra | |
ries/linux/lib/intel64:/home/ec2-user/hpl-2.0_FERMI_v15/src/cuda:/usr/lib64/open | |
mpi/lib:/opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64 | |
_lin | |
export PATH=/usr/lib64/openmpi/bin:$PATH |
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
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
# -*- tab-width : 4 -*- | |
import argparse | |
# [START detect_text] | |
import base64 | |
import os | |
import re | |
import sys | |
from mog_op import MongoOp |
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 main | |
import ( | |
"net/http" | |
"github.com/labstack/echo" | |
"github.com/labstack/echo/engine/standard" | |
) | |
func main() { | |
e := echo.New() |
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
SELECT * FROM | |
table_date_range(production.all_log, | |
timestamp("2016-05-01"), | |
timestamp("2016-06-01")) | |
WHERE user_id IS NOT NULL | |
LIMIT 10; |
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
select count_distinct(user_id) as count, | |
date_format(time,'%Y-%m-%d') as date, | |
world | |
from [table20150101-201531] | |
group by date,world | |
order by date,world; | |
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
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# User specific aliases and functions | |
export LD_LIBRARY_PATH=/opt/intel/mkl/lib/intel64:/opt/intel/compilers_and_libraries/linux/lib/intel64:/home/ec2-use | |
r/prog/hpl-2.0_FERMI_v15/src/cuda:/usr/lib64/openmpi/lib |
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
ubuntu@ip-*-*-*-*:~/l_mklb_p_11.3.1.002/benchmarks_11.3.1/linux/mkl/benchmarks/linpack$ ./runme_xeon64 | |
This is a SAMPLE run script for SMP LINPACK. Change it to reflect | |
the correct number of CPUs/threads, problem input files, etc.. | |
./runme_xeon64: 37: [: -gt: unexpected operator | |
Fri Nov 13 11:26:24 UTC 2015 | |
Intel(R) Optimized LINPACK Benchmark data | |
Current date/time: Fri Nov 13 11:26:24 2015 | |
CPU frequency: 3.126 GHz |
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
2015年 11月13日 金曜日 20時21分05秒 JST | |
Intel(R) Optimized LINPACK Benchmark data | |
Current date/time: Fri Nov 13 20:21:05 2015 | |
CPU frequency: 3.091 GHz | |
Number of CPUs: 1 | |
Number of cores: 2 | |
Number of threads: 4 |