Skip to content

Instantly share code, notes, and snippets.

View budougumi0617's full-sized avatar
🇯🇵
Want to writing Go

Yoichiro Shimizu budougumi0617

🇯🇵
Want to writing Go
View GitHub Profile
@budougumi0617
budougumi0617 / foo.cpp
Created August 7, 2013 04:26
MarkdownとSyntaxHighlighterを併用する。 ref: http://qiita.com/budougumi0617@github/items/28eee77bec22991651fc
#include "Foo.h"
public class Foo{
int dammyInt;
double dammyDouble;
public void Foo(){
dammyInt = 0;
dammyDouble = 0.;
}
@budougumi0617
budougumi0617 / Emmet.sublime_settings
Created February 8, 2014 06:54
MacでSublime Textを導入してみた[HTML5+JavaScript+Node.js+Markdown] ref: http://qiita.com/budougumi0617/items/58fe634e00739b32d08a
{
"snippets": {
"variables": {
"lang": "ja",
"locale": "ja-JP",
"charset": "UTF-8",
"indentation": "\t",
"newline": "\n"
}
}
@budougumi0617
budougumi0617 / CommandLineLog
Last active July 3, 2017 01:46
GitHubを使って3分でHPを公開する。 ref: http://qiita.com/budougumi0617/items/221bb946d1c90d6769e9
cd yourRepository/
git checkout --orphan gh-pages
git rm -rf . #これは別にやらなくてもいいかも
echo "My GitHub Page" > index.html
git add index.html
git commit -a -m "First pages commit"
git push origin gh-pages
@budougumi0617
budougumi0617 / file0.html
Last active January 16, 2017 15:39
Reveal.js、Markdown、Githubでスライドを作成する。 ref: http://qiita.com/budougumi0617/items/19b19019bbe01f86e251
<section data-markdown
data-separator="\n---\n$"
data-vertical="\n--\n">
<script type="text/template">
ここにmarkdownを記載していく。
</script>
</section>
@budougumi0617
budougumi0617 / HTML5
Created February 22, 2014 12:52
HTML5プロフェッショナル認定試験 無料セミナー ref: http://qiita.com/budougumi0617/items/5be51d12411df79efdff
<link media="screen かつ幅が600px以上" ...>
<style media="screen かつ幅が1024px以下" ... >
</style>
@budougumi0617
budougumi0617 / .htaccess
Created February 23, 2014 12:00
LPICレベル2 技術解説無料セミナー ref: http://qiita.com/budougumi0617/items/f5f4f39b1276be223c34
DirectoryIndex index.html index.htm
Authtype Basic
AuthName "Enter Password"
AuthUserFile /etc/httpd/conf/.htpasswd
Require vaild-user
@budougumi0617
budougumi0617 / file0.txt
Created March 10, 2014 11:55
VirtualBox+CentOS6.5上でKerberosサーバを構築する ref: http://qiita.com/budougumi0617/items/6c4d4874101a2de25064
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
UUID=a7a64eb7-efc4-4db7-bcb4-c7f8a233ca9d
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
HWADDR=08:00:27:A1:66:B2
DEFROUTE=yes
PEERDNS=yes
@budougumi0617
budougumi0617 / file0.txt
Created March 11, 2014 15:33
CentOS6.4+Samba4.1.2でSMB+Kerberos認証のファイル共有サーバを構築する ref: http://qiita.com/budougumi0617/items/ba54d052365556f78b7e
wget http://ftp.samba.org/pub/samba/stable/samba-4.1.2.tar.gz
tar zxvf samba-4.1.2.tar.gz
cd samba-4.1.2
./configure --enable-debug --enable-selftest
make
make install
@budougumi0617
budougumi0617 / 0.Prepare.md
Last active August 29, 2015 14:00
Study Ruby on Rails

#Ruby on Railsの学習メモ

清書するまでメモ代わりに。

やったこと

vagrantでcentosサーバを構築。
rbenv、rails環境構築。
vagrantディレクトリ以下にrailsプロジェクト、/rails/helloworld設置。

@budougumi0617
budougumi0617 / file0.txt
Created July 12, 2014 00:34
homeshickとgit submoduleコマンドでプラグインも含めたドットファイルを全て管理する ref: http://qiita.com/budougumi0617/items/07cd145af12c65dbe77c
$git clone git://github.com/andsens/homeshick.git ~/.homesick/repos/homeshick
$printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> $HOME/.bashrc
$printf '\nsource "$HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash"' >> $HOME/.bashrc
$source ~/.bashrc