Skip to content

Instantly share code, notes, and snippets.

Shader "Custom/SplitOutIn" {
Properties {
_MainTex( "2D Texture", 2D ) = "white" {}
_AlphaMap ("AlphaMap", 2D) = "white" {}
_AlphaBase( "AlphaBase", Range(-1, 1) ) = 1
}
SubShader {
Tags {
"Queue" = "Transparent"
"RenderType"="Opaque"
@totutote
totutote / romantable.txt
Last active August 28, 2019 07:39
Google日本語入力ローマ字テーブル Programmer dvorak JLOD 配列
p ー
~ 〜
. 。
, 、
; っ
[ 「
] 」
' あん
q おん
j えん
@totutote
totutote / %img
Created May 30, 2012 02:50
yasnippet rhtml
#name : <%= image_tag " ... ", :size => " ... ", :alt => " ... " %>
# --
<%= image_tag "${location}", :size=>"${size}", :alt => "${alt}" %>$0
@totutote
totutote / README.md
Created April 22, 2012 14:47 — forked from wtnabe/README.md
import seed data from .csv or .yml for Rails 3.2+ Ruby 1.9.3+

Rails SeedImporter

  1. Put this code at #{Rails.root}/db/seeds.rb
  2. type rake db:setup

rake db:seed で変更のあったレコードのみ更新

Limitation

@totutote
totutote / chefboot-production.template.json
Created February 17, 2012 07:21
サーバを起動するCloudFormationテンプレート
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Bring up an Opscode Chef Client using the BootStrap Chef RubyGems installation. A WaitCondition is used to hold up the stack creation until the application is deployed. **WARNING** This template creates one or more Amazon EC2 instances. You will be billed for the AWS resources used if you create a stack from this template.",
"Parameters": {
"KeyName": {
"Type": "String",
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the web server"
},