This file contains 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 | |
error_reporting(-1); | |
ini_set('display_errors','On'); | |
/** | |
* TDDBC Lv3 or Lv4 LegacyCode | |
* Legacy Simple BBS | |
* info@miio.info | |
*/ | |
/** |
This file contains 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
import java.util.ArrayList; | |
import java.util.List; | |
public class hnahiro { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
class HHiro{ | |
protected String name="エッチ・ナ・ヒロ"; | |
@Override | |
public String toString(){ |
This file contains 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
public class NightPeoples { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
class HHiro{ | |
protected String name="エッチ・ナ・ヒロ"; | |
@Override | |
public String toString(){ | |
return name; | |
} | |
} |
This file contains 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
GNU LESSER GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
This version of the GNU Lesser General Public License incorporates | |
the terms and conditions of version 3 of the GNU General Public |
This file contains 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/python | |
#coding: UTF-8 | |
import csv | |
import random | |
filename = "entry.csv" | |
csvfile = open(filename) | |
list = [] |
This file contains 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
#まずClone | |
git clone git://gitorious.org/gitorious/mainline.git | |
bundle install | |
Fetching https://github.com/roman/rots.git | |
remote: Counting objects: 253, done. | |
remote: Compressing objects: 100% (116/116), done. | |
remote: Total 253 (delta 126), reused 233 (delta 118) | |
Receiving objects: 100% (253/253), 38.58 KiB, done. |
This file contains 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 | |
interface ExampleInterface{ | |
function getHoge(); | |
function getFuga(); | |
function setAge(int $age); | |
} | |
class Example implements ExampleInterface{ | |
function getHoge(){ | |
} |
This file contains 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
#show hidden file | |
defaults write com.apple.finder AppleShowAllFiles -boolean true | |
killall Finder | |
#install homebrew ( for mac package system ) | |
ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" |
This file contains 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
class Logger | |
### | |
# Loggingクラス | |
# Author : miio mitani <info@miio.info> | |
# Package : Kwing.lib | |
# Licence : GNU Lesser General Public License v3 (http://www.gnu.org/licenses/) | |
### | |
debug : (attr_name, message) -> | |
### | |
# デバッグメッセージを出力 |
This file contains 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
class HogeController < ApplicationController | |
before_filter :only => [:destroy] { |c| c.has_perm(current_user, 'hoge.hoge_delete') } | |
before_filter :only => [:create] { |c| c.has_perm(current_user, 'hoge.hoge_create') } | |
def create | |
# todo your logics | |
end |
OlderNewer