セッションで紹介したいろいろ。
なにか質問があれば @sada_h に。
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> | |
<script> | |
$(function(){ | |
var host = "ws://localhost:8888/"; | |
var socket = new WebSocket(host); |
index_by (rails) | |
group_by | |
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package websocket.sample; | |
import javax.websocket.Session; | |
import javax.websocket.WebSocketEndpoint; | |
import javax.websocket.WebSocketMessage; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>JSP Page</title> | |
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> | |
<script> | |
$(function(){ | |
var host = "ws://localhost:8080/WebApplication3/echo"; | |
var socket = new WebSocket(host); |
セッションで紹介したいろいろ。
なにか質問があれば @sada_h に。
require 'base64' | |
require 'mime/types' | |
def print_usage | |
puts <<EOS | |
b64e2.rb encode file to base64(data URL Scheme). | |
b64e2.rb make "base64" directory and write encoded file. | |
usage |
brew update | |
brew upgrade rbenv | |
rbenv install -l | |
rbenv install 2.0.0-p195 | |
rbenv global 2.0.0-p195 | |
rbenv rehash | |
ruby -v | |
gem search rails | |
gem install rails | |
rails -v |
ファイル修正して、git statusで確認して、git add -Aで変更をローカルに追加する。 | |
git statusで確認して、git commit -m 'test commit.'でコミットして、git pushでgitに反映させる。 | |
⨠ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: README.md |