- sshかmoshでログインする
- moshだと一度繋ぐと自動で接続を維持してくれるので便利
sshの場合
marimot-macbookair:~ marimot$ ssh marimot@サーバのIPアドレス
<?xml version="1.0" encoding="utf-8"?> | |
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete(event)"> | |
<mx:Script> | |
<![CDATA[ | |
import mx.binding.utils.ChangeWatcher; | |
import mx.core.UIComponent; | |
import flash.system.Security; | |
import flash.system.SecurityDomain; | |
import tv.ustream.viewer.logic.Logic; | |
package | |
{ | |
import flash.display.MovieClip; | |
import flash.events.Event; | |
import flash.utils.*; | |
import flash.events.*; | |
import flash.display.Sprite; | |
import flash.events.MouseEvent; | |
import flash.net.navigateToURL; |
puts "hello, world" |
# 下準備 | |
# gem install data_mapper | |
# gem install dm-sqlite-adapter | |
require 'rubygems' | |
require 'sinatra' | |
require 'data_mapper' | |
#set :public, File.dirname(__FILE__) + 'static' |
// | |
// 元ネタ: http://kousaku-kousaku.blogspot.com/2008/11/import-processing.html | |
// トラッキングした軌跡を表示するようにした | |
// | |
import processing.video.*; | |
Capture video; | |
PFont font; | |
int w=320; |
#coding: utf-8 | |
require 'uri' | |
require 'open-uri' | |
require 'json' | |
require 'pp' | |
#url = 'http://www.youtube.com/watch?v=PwluBRxGAeI&feature=g-vrec&context=G2ab931cRVAAAAAAAAAw' | |
#watch_url = 'http://www.youtube.com/watch_video?v=PwluBRxGAeI' | |
print 'video url: ' |
#!/bin/sh | |
# | |
# グローバル側から直接見れないようにしているブロードバンドルータのメンテナンスなどに便利です | |
# 以下の値を適切に設定してから使うんだお | |
# | |
# ローカルでブラウザから見えるポート番号 | |
LOCAL_PORT=3180 |
http://www.pencil-animation.org/
# coding:utf-8 | |
INTERVAL = 1 | |
next_exec = Time.now | |
loop do | |
if Time.now > next_exec | |
# ここから | |
now = Time.now | |
puts "スケジュールされた時刻: #{next_exec.sec} #{next_exec.nsec}" |