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
> output <- mySummary(iris) | |
> output | |
colnames class inform sum sd mean Min Median Max NA.s | |
2 Sepal.Length numeric <NA> 876.5 0.8281 5.8433 4.3 5.8 7.9 0 | |
3 Sepal.Width numeric <NA> 458.6 0.4359 3.0573 2 3 4.4 0 | |
4 Petal.Length numeric <NA> 563.7 1.7653 3.758 1 4.35 6.9 0 | |
5 Petal.Width numeric <NA> 179.9 0.7622 1.1993 0.1 1.3 2.5 0 | |
6 Species factor setosa:50, versicolor:50, virginica:50 <NA> <NA> <NA> <NA> <NA> <NA> 0 |
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 package | |
install.packages("dplyer", dependencies = TRUE) | |
install.packages("data.table", dependencies = TRUE) | |
install.packages("reshape2", dependencies = TRUE) | |
install.packages("ranger", dependencies = TRUE) | |
install.packages("randomForest", dependencies = TRUE) | |
install.packages("MASS", dependencies = TRUE) | |
install.packages("kohonen", dependencies = TRUE) |
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
# Add your own tasks in files placed in lib/tasks ending in .rake, | |
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
require File.expand_path('../config/application', __FILE__) | |
Rails.application.load_tasks | |
namespace :unicorn do | |
## |
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
https://gist.github.com/st44100/d7a92d35fcd9b2fb9bc6 | |
http://www.slideshare.net/yutoyoshinari/ss-37936903 |
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
[pall@pall:~](79_imgAddAltTag)$ git st | |
# On branch 79_imgAddAltTag | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: README.md | |
# | |
[pall@kazumasa:~](79_imgAddAltTag)$ git commit -m "test" | |
コミットにチケット情報入れてーーー |
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
# .bashrc | |
# User specific aliases and functions | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then |
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
sudo find . -type f -name "*.*" | xargs grep --color "pre.lancers" |
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 $this->Html->scriptStart(array('inline' => false)); ?> | |
$(function(){ | |
$(".pagination li.paginateChild a").each(function() { | |
var origin_link = $(this).attr('href'); | |
console.log(origin_link); | |
var link = "/place" + origin_link; $(this).attr("href", link); |
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
//click | |
<a href="javascript:void(0)"> | |
<img src="./../img/button/radio_off.png" alt="off" class="imgChange" /><input type="hidden" value=""/> | |
</a> | |
<script type="text/javascript"> | |
$(function(){ | |
$(".imgChange").click(function(){ | |
var imgSrc = $(this).attr("src"); |
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
# Test URI | |
# Ignore private folder | |
/app/private/* | |
!/app/private/empty | |
# Ignore packed asset files | |
/app/webroot/css/packed/* | |
!app/webroot/css/packed/.htaccess | |
/app/webroot/js/packed/* |
NewerOlder