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
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
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
exec userconfig.cfg |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
class WelcomeController extends Controller | |
{ | |
public function index( Request $request ) | |
{ |
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
# gcloud shell | |
# | |
FROM python:2.7 | |
MAINTAINER takaya030 | |
RUN apt-get update && apt-get install -y openssh-server sudo | |
RUN mkdir /var/run/sshd | |
RUN echo 'root:root' | chpasswd | |
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config |
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
# | |
# 2016/08/26 | |
# CentOS 6.7 + epel,remi | |
# Python 2.7 | |
# | |
FROM centos:6 | |
MAINTAINER takaya030 | |
# update yum |
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
" vim:set ts=8 sts=2 sw=2 tw=0: (この行に関しては:help modelineを参照) | |
" | |
" An example for a Japanese version vimrc file. | |
" 日本語版のデフォルト設定ファイル(vimrc) - Vim7用試作 | |
" | |
" Last Change: 19-Nov-2015. | |
" Maintainer: MURAOKA Taro <[email protected]> | |
" | |
" 参考: | |
" :help vimrc |
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
class AppController extends Controller { | |
public $viewClass = 'Smarty'; | |
} |
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 | |
class BlogController extends BaseController { | |
const consumerKey = 'Your Consumer Key'; | |
const consumerSecret = 'Your Consumer Secret'; | |
public function getIndex() | |
{ | |
$param = Input::get(); |
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/perl | |
use strict; | |
use warnings; | |
use Config::Pit; | |
Config::Pit::set( "twitter.com", data => { | |
"consumer_key" => "your consumer key on api.twitter.com", | |
"consumer_select" => "your consumer select on api.twitter.com" | |
}); |