##コード
import 'package:benchmark_harness/benchmark_harness.dart';
// Create a new benchmark by extending BenchmarkBase.
class TemplateBenchmark extends BenchmarkBase {
const TemplateBenchmark() : super("Template");
static void main() {
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 |
\documentclass{jarticle} | |
\usepackage[dvipdfmx]{graphicx} | |
\usepackage[top=20truemm,bottom=25truemm,left=25truemm,right=25truemm]{geometry} | |
\begin{document} | |
\title{} | |
\date{\today} | |
\author{sh4869} | |
\maketitle |
require 'socket' | |
require 'thread' | |
client = TCPSocket.new('localhost',10500) | |
while line = client.gets | |
puts line | |
end | |
require 'csv' | |
text = "" | |
CSV.foreach("tweets.csv") do |tweets| | |
text += tweets[5] + "|" | |
end | |
puts text |
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 .. |
apt-getでいれるもの | |
libboost-all-dev libusb-1.0-0-dev libboost-dev |
##コード
import 'package:benchmark_harness/benchmark_harness.dart';
// Create a new benchmark by extending BenchmarkBase.
class TemplateBenchmark extends BenchmarkBase {
const TemplateBenchmark() : super("Template");
static void main() {
# Description: | |
# Shindan From Hubot | |
# | |
# Dependencies: | |
# "request" | |
# "cheerio" | |
# | |
# Configuration: | |
# None | |
# |
var gulp = require('gulp'); | |
var haml = require('gulp-ruby-haml'); | |
gulp.task('haml', function() { | |
gulp.src('./*.haml') | |
.pipe(haml({encodings: "UTF-8"})) | |
.pipe(gulp.dest('./')); | |
}); | |
gulp.task('watch',function(){ |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <linux/input.h> | |
#include <unistd.h> | |
int main(void) | |
{ | |
for (;;) { | |
struct input_event event; |