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
yum install make gcc readline-devel zlib-devel nmap wget |
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
# 12行目付近を移設先環境のIPまたはドメイン名に変更 | |
1 --- | |
2 development: | |
3 title: ZOMEKI | |
4 uri: http://zomeki.example.com/ | |
5 proxy: | |
6 test: | |
7 title: ZOMEKI | |
8 uri: http://zomeki.example.com/ |
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
<div> | |
<{if ! $block.title|strstr:"none"}> // 条件式(開始) | |
<h3><{$block.title}></h3> // ブロックタイトル | |
<{/if}> // 条件式(終了) | |
<{$block.content}> // ブロックコンテンツ | |
</div> |
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
10 * @ORM\Table(name="post") |
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
.management_bar { | |
position: relative; | |
margin: 1px auto; | |
max-width: 1024px; | |
width: 100%; | |
background: #000; | |
padding: 1px 0 4px; | |
color: #ff0000; | |
text-align: right; | |
} |
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
html | |
xoops_trust_path |
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
# facebootstrap: Rails3 template | |
app_h_name = app_name.gsub(/_/, '-') | |
app_c_name = app_name.classify | |
ruby_version = '1.9.3-p194' # Specify your ruby version. | |
# Specify your git repo path | |
repository_path = "git@github.com:chsh/#{app_h_name}.git" | |
target_branch = 'master' # or develop or ... | |
deploy_server = 'Specify your deploy server FQDN.' | |
target_mode = 'staging' # or 'live' or ... |
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
* Install Xcode | |
App Store -> Search Xcode -> Download -> Install | |
* Install Command line tools | |
Launch Xcode -> Preferences -> Downloads -> Install command line tools | |
* Install Homebrew | |
$ ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go) | |
* Install rbenv ruby-build |
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 | |
class ChangeThemeByModule extends XCube_ActionFilter | |
{ | |
public function postFilter() | |
{ | |
$dirname = null; | |
if ( isset($this->mRoot->mContext->mModule->mXoopsModule) and is_object($this->mRoot->mContext->mModule->mXoopsModule) ) { | |
$dirname = $this->mRoot->mContext->mModule->mXoopsModule->get('dirname'); | |
} |