Skip to content

Instantly share code, notes, and snippets.

View Yoosuke's full-sized avatar

Yosuke Nakao Yoosuke

View GitHub Profile
# Elixir 環境準備の手順
環境の準備方法を記載しています。<br/>
もし、下記をトライして難しいようでしたら、当日にサポートします。<br/>
ただし、その場合は、当日のレクチャーは聞いて学ぶ事に徹していただき、<br/>
その間に、PCの環境を運営側で構築致します。その為、後日教材を見ながら復習して下さい<br/>
※ 運営側でのサポートには、時間とリソースに限りがありますので、あまりにも多くの方がサポートをお願いする場合には、
必ずしも、全ての方の対応が出来ない場合がございますので、ご了承ください。
| 対象とするPCの環境 |
// PH18_c.cpp : このファイルには 'main' 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
#include <stdio.h>
// _getch();を利用する為
#include <conio.h>
//system(cls)を利用する為
#include <stdlib.h>
//memset()関数を利用する為 & memcopy()関数を利用する為
#include <string.h>
//time()関数を利用する為
// Tetoris.cpp : アプリケーションのエントリ ポイントを定義します。
#include "stdafx.h"
#include <conio.h>
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
//定数定義
#define FILED_WIDTH 12
#define FILED_HEIGHT 22
#define MINO_WIDHT 4
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<style>
* {
margin: 0px;
padding: 0px;
}
@Yoosuke
Yoosuke / index.html.eex
Last active June 24, 2019 22:12
Here API in Phoenix
<%
data = Db.query("SELECT * FROM locaitons")
results = Db.to_map(data)
[head | tail] = results
lat = Map.get(head, "lat")
lng = Map.get(head, "lng")
locationName = Map.get(head, "locationName")
%>
{:ok,
%Postgrex.Result{
columns: ["id", "lat", "lng", "locationName", "inserted_at", "updated_at"],
command: :select,
connection_id: 9839,
messages: [],
num_rows: 5,
rows: [
[1, 52.204267, 0.114909, "ケンブリッジ大学",
~N[2019-06-24 10:00:40.000000], ~N[2019-06-24 10:00:40.000000]],

$ cd aodhmap

Asia Open Data Hackathon 環境準備の手順

環境の準備方法を記載しています。
もし、下記をトライして難しいようでしたら、当日にサポートします。
ただし、その場合は、当日のレクチャーは聞いて学ぶ事に徹していただき、
その間に、PCの環境を運営側で構築致します。その為、後日教材を見ながら復習して下さい
※ 運営側でのサポートには、時間とリソースに限りがありますので、あまりにも多くの方がサポートをお願いする場合には、 必ずしも、全ての方の対応が出来ない場合がございますので、ご了承ください。

| 対象とするPCの環境 |

Json.get("https://api.github.com", "/rate_limit")
Json.get("https://aed.azure-mobile.net", "/api/NearAED?lat=35.96&lng=136.185")
次回 6月19日はここから本番(でも最初からフォローする)
https://gitpitch.com/TheWaggle/GeoHack-HndsOn#/78