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 fisica.*; | |
| FWorld world; | |
| void setup() { | |
| size(400, 400); | |
| smooth(); | |
| Fisica.init(this); | 
  
    
      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
    
  
  
    
  | // | |
| // mqtt_pub_dht11.ino - mqtt publish sample for Arduino Ethernet | |
| // | |
| // This program uses the following libraries. | |
| // https://github.com/knolleary/pubsubclient | |
| // https://github.com/virtuabotix/DHT11LIB | |
| // | |
| #include <SPI.h> | |
| #include <Ethernet.h> | |
| #include <PubSubClient.h> | 
  
    
      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
    
  
  
    
  | #!/usr/bin/ruby | |
| # -*- encoding: utf-8 -*- | |
| # | |
| # mqtt & influxdb sample... | |
| # | |
| # libraries | |
| # $ gem install mqtt | |
| # $ gem install influxdb | |
| # | 
  
    
      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
    
  
  
    
  | #!/bin/ruby | |
| # -*- encoding: utf-8 -*- | |
| # | |
| # $ gem install mqtt | |
| # | |
| require 'rubygems' | |
| require 'mqtt' | |
| require 'uri' | 
  
    
      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
    
  
  
    
  | #!/usr/bin/ruby | |
| require 'open-uri' | |
| require 'json' | |
| require 'logger' | |
| $url = "http://db8.flightradar24.com/zones/japan_all.js" | |
| $log = Logger.new(STDOUT) | |
| def is_found_af1 | 
  
    
      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
    
  
  
    
  | using UnityEditor; | |
| using UnityEngine; | |
| using System.Collections; | |
| public class CreateCylinderMesh : MonoBehaviour { | |
| static int div_x = 40; | |
| static int div_y = 20; | |
| static float cylinder_width = 10.0f; | |
| static float cylinder_height = 5.0f; | 
  
    
      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
    
  
  
    
  | using UnityEngine; | |
| using System.Collections; | |
| public class httptexture : MonoBehaviour { | |
| private Texture2D tex2d; | |
| private delegate void WWWAction (WWW www); | |
| void Start () { | 
  
    
      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 java.util.*; | |
| void setup() { | |
| long t_start = 1393640607018L; | |
| long t_1130 = 1393641000000L; | |
| long t_1200 = 1393642800000L; | |
| long t_1230 = 1393644600000L; | |
| long t_1300 = 1393646400000L; | 
  
    
      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
    
  
  
    
  | #!/usr/bin/ruby | |
| # | |
| # trim.rb - trim sensor & scenario log | |
| # | |
| def usage | |
| puts <<-EOS | |
| usage : ./trim_log.rb [start_time] [end_time] [file]" | |
| example: | 
  
    
      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
    
  
  
    
  | // | |
| // stl-erase-sample.cpp - erase() sample for STL container | |
| // | |
| // $ g++ stl-erase-sample.cpp && ./a.out | |
| // ==== before ==== | |
| // 1 | |
| // 2 | |
| // 2 | |
| // 3 | |
| // 3 |