chainerで論理演算を学習してとく
参照:ほとんど同じ手順、ただしscikit-learnは不要、追加でpipでchainerを入れる https://gist.github.com/masayuki5160/6ab3006bff0e398b1c92ed0f9ded4aee
$ sudo pip install chainer
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using MiniJSON; | |
| public class TestHttp : MonoBehaviour { | |
| private string res; | |
| // Use this for initialization |
| import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int[] dishes = new int[5]; | |
| for (int i = 0; i < dishes.length; i++) { | |
| dishes[i] = sc.nextInt(); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Onsen UI</title> | |
| <link rel='stylesheet' href='https://cdn.rawgit.com/OnsenUI/OnsenUI/1.3.11/build/css/onsenui.css' /> | |
| <link rel='stylesheet' href='https://cdn.rawgit.com/OnsenUI/OnsenUI/1.3.11/build/css/onsen-css-components.css' /> | |
| <script src='https://cdn.rawgit.com/OnsenUI/OnsenUI/1.3.11/build/js/angular/angular.min.js'></script> | |
| <script src='https://cdn.rawgit.com/OnsenUI/OnsenUI/1.3.11/build/js/onsenui.min.js'></script> | |
| <script> |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections; | |
| public class BuildBatch : MonoBehaviour { | |
| // build iOS app | |
| [UnityEditor.MenuItem("Tools/Build Project AllScene iOS")] | |
| private static void BuildiOS(){ |
| <?php | |
| require_once __DIR__. '/fizzBuzz.php'; | |
| class testFizzBuzz extends PHPUnit_Framework_TestCase | |
| { | |
| private $fizzBuzz; | |
| public function setUp() | |
| { |
| $ docker pull php:5.6-apache | |
| $ docker run -p 80:80 -v /(ホストの任意のパス)/:/var/www/html --name php56 -d php:5.6-apache | |
| $ docker exec -ti php56 bash |
| <?php | |
| // Include the SDK using the Composer autoloader | |
| require 'vendor/autoload.php'; | |
| use Aws\CloudWatch\CloudWatchClient; | |
| $client = CloudWatchClient::factory(array( | |
| 'key' => 'keyをね', | |
| 'secret' => '秘密のやつをここに', |
chainerで論理演算を学習してとく
参照:ほとんど同じ手順、ただしscikit-learnは不要、追加でpipでchainerを入れる https://gist.github.com/masayuki5160/6ab3006bff0e398b1c92ed0f9ded4aee
$ sudo pip install chainer
| ------------------------------------ | |
| RDS,EC2でレプリケーションをする | |
| ------------------------------------ | |
| RDSがマスター, EC2を参照系としてサーバを構築する際のメモ | |
| 注意点は、 | |
| ・mysqlサーバのバージョンをあわせること | |
| ・RDS、EC2のtimezoneをあわせること => RDSはデフォルトUTCなのでそこを設定 |