Mac OS X
- Command Line で PhpStorm を起動する
Tools > Create Command-line Launcher...
<?php | |
namespace App\Traits; | |
use Illuminate\Database\Eloquent\Model; | |
trait Selectable | |
{ | |
public static function toSelectArray() | |
{ |
業務上関われない人はどうするのか? | |
時間をどの程度さいてよいのか | |
どうその人の査定に影響するのか | |
お客様からの評価、 | |
定量的に人の評価なんかできるのだろうか? |
$paginator->url(1)
$paginator->url($paginator->lastPage())
def primes(max) | |
nums = Array.new(max + 1, 1) | |
nums[0] = nums[1] = 0 | |
(2..Math.sqrt(max)).each do |sieve| | |
if nums[sieve] == 1 | |
(2 * sieve).step(max, sieve).each do |num| | |
nums[num] = 0 | |
end | |
end |
# Node | |
class Node | |
attr_accessor :id, :edges, :cost, :done | |
def initialize(id, edges = [], cost = nil, done = false) | |
@id, @edges, @cost, @done = id, edges, cost, done | |
end | |
end | |
# Edge |
brew install ruby
rbenv install -l
package jp.tsmsogn.digitalclock; | |
import java.util.Calendar; | |
import android.content.Context; | |
import android.os.Handler; | |
import android.os.SystemClock; | |
import android.text.format.DateFormat; | |
import android.util.AttributeSet; | |
import android.util.Log; |