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
# Critical default settings: | |
disable_system_gems | |
disable_rubygems | |
bundle_path ".gems/bundler_gems" | |
# List gems to bundle here: | |
gem "rails", "3.0.pre", :git => "git://github.com/rails/rails.git" | |
gem "arel", :git => "git://github.com/rails/arel.git" | |
gem "i18n" | |
gem "dm-appengine" |
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
# Gemfile for Rails 3.0 | |
source 'http://rubygems.org' | |
gem 'rails', '3.0.0' | |
gem 'activerecord-nulldb-adapter' # for now | |
gem 'jruby-openssl' # for cookie sessions | |
gem 'appengine-rack' # jruby-jars & jruby-rack |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>YubizoEngine β;</title> | |
<style type="text/css" media="screen">@import "./css/main.css";</style> | |
<script src="./js/third_party.js" type="text/javascript" charset="utf-8"></script><!--// Third party libraries //--> | |
<script src="./js/yubizo.js" type="application/javascript" charset="utf-8"></script><!--// Yubizo //--> | |
<script type="application/javascript" charset="utf-8"> | |
Yubizo.init(); |
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
// ページが読み込まれたときに呼び出さsれる関数 | |
init = function() { | |
// alert("Hello Yubizo!!"); | |
$('#open_debugger').click(show_debugger); | |
$('#users').bind('pageAnimationEnd', show_users); | |
$('#user_detail').bind('pageAnimationEnd', show_user_detail); | |
init_new_page(); | |
init_edit_page(); | |
} |
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
rm -rf `find ./ -type d -name .svn ! -regex \.svn/. -print` |
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
[[Gist? &gist_id=376252]] |
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
<?php | |
$src = ""; | |
if (isset($gist_id)) { | |
$src = '<script src="http://gist.github.com/' .$gist_id .'.js"></script>'; | |
} | |
return $src; | |
?> |
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
<!--// Camera //--> | |
<script type="text/javascript"> | |
var img_area_id = 'camera_picture_image'; | |
// 写真表示 | |
picture_camera = function(image_path) { | |
$('#'+img_area_id).remove(); | |
var img = $('<img src="' + image_path + '" style="width:280px;"></img>'); | |
var li = $('<li></li>').append(img); | |
$('#camera_ul').append(li); | |
} |
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
(function(){$.b.c=function(){return this.a(function(){$(this).d("HogeHoge")})}})(); |
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/env ruby | |
require 'rubygems' | |
require 'closure-compiler' | |
source =<<JSSRC | |
;(function() { | |
$.fn.hoge = function() { | |
return this.each(function() { | |
$(this).html("HogeHoge"); |
NewerOlder