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
apt-getでいれるもの | |
libboost-all-dev libusb-1.0-0-dev libboost-dev |
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
1 15/02/22 17:00:17 cd Mask_Operation_matrices/ | |
2 15/01/10 22:44:34 ../../../compile.sh mat_mask_operations | |
3 15/01/10 22:44:38 ./mat_mask_operations.out | |
4 15/01/10 22:45:04 ./mat_mask_operations.out ~/Dropbox/Photos/Wallpaper/penguindrum_wp8_2l.jpg | |
5 15/01/10 22:45:30 vim mat_mask_operations. | |
6 15/01/10 22:45:32 vim mat_mask_operations.cpp | |
7 15/01/10 22:46:45 ./mat_mask_operations.out ~/Dropbox/Photos/Wallpaper/penguindrum_wp8_2l.jpg | |
8 15/01/10 22:47:44 ;s | |
9 15/01/10 22:47:48 vim mat_mask_operations.cpp | |
10 15/01/11 15:29:07 cd .. |
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
require 'csv' | |
text = "" | |
CSV.foreach("tweets.csv") do |tweets| | |
text += tweets[5] + "|" | |
end | |
puts text |
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
require 'socket' | |
require 'thread' | |
client = TCPSocket.new('localhost',10500) | |
while line = client.gets | |
puts line | |
end | |
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
\documentclass{jarticle} | |
\usepackage[dvipdfmx]{graphicx} | |
\usepackage[top=20truemm,bottom=25truemm,left=25truemm,right=25truemm]{geometry} | |
\begin{document} | |
\title{} | |
\date{\today} | |
\author{sh4869} | |
\maketitle |
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
require 'twitter' | |
require 'csv' | |
require './token.rb' | |
SourcePath = File.expand_path('../',__FILE__) | |
CSVFIle = "#{SourcePath}/tweets.csv" | |
@rest_client = Twitter::REST::Client.new do |config| | |
config.consumer_key = CONSUMERKEY |
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
def quicksort(nums,size): | |
i = 1 | |
las = 1 | |
if size < 2: | |
return | |
while size > i: | |
if nums[0] < nums[i]: | |
swap = nums[las] | |
nums[las] = nums[i] | |
nums[i] = swap |
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 'package:intl/intl.dart'; | |
import 'package:intl/date_symbol_data_local.dart'; | |
import 'dart:core'; | |
void main(){ | |
var format = new DateFormat.Hms(); | |
var dateString = format.format(new DateTime.now()); | |
print(dataString); | |
} |
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
test.cpp:(.text+0x6f): `cv::imread(std::string const&, int)' に対する定義されていない参照です | |
test.cpp:(.text+0xbf): `cv::_OutputArray::_OutputArray(cv::Mat&)' に対する定義されていない参照です | |
test.cpp:(.text+0xd4): `cv::_InputArray::_InputArray(cv::Mat const&)' に対する定義されていない参照です | |
test.cpp:(.text+0xf6): `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' に対する定義されていない参照です | |
test.cpp:(.text+0x14e): `cv::_OutputArray::_OutputArray(cv::Mat&)' に対する定義されていない参照です | |
test.cpp:(.text+0x166): `cv::_InputArray::_InputArray(cv::Mat const&)' に対する定義されていない参照です | |
test.cpp:(.text+0x193): `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)' に対する定義されていない参照です | |
test.cpp:(.text+0x1aa): `cv::_OutputArray::_OutputArray(cv::Mat&)' に対する定義されていない参照です | |
test.cpp:(.text+0x1c2): `cv::_InputArray::_InputArray(cv::Mat const&)' に対する定義されていない参照です | |
test.cpp:(.text+0x1ef): `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)' に対する定義されていない参照です |
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
require 'net/http' | |
require 'uri' | |
require 'rexml/document' | |
id = 'your appid' | |
text = '庭には二羽ニワトリがいる' | |
response = Net::HTTP.post_form(URI.parse('http://jlp.yahooapis.jp/MAService/V1/parse'), | |
{'appid'=> id, | |
'sentence' => text, | |
'results' => 'ma'}) |