You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
To compete and win in the 21st century, your organization needs to plan faster and make smarter decisions with comprehensive data. Rally (formerly CA Agile Central) is the market-leading provider of agile software that can enable stronger teams, drive better business results and ignite greater innovation.
こんにちは、 rosylilly です。すっかり Advent Calendar のことを忘れていて、大急ぎで記事を書いています。ちゃんと予定は管理しておかないといけませんね…… ということでいつも使っているコマンドの中で 3 つほど紹介されていなかったものがあったので紹介しようと思います。 git grep コマンド 特定の語句が含まれているファイルを検索し、そのファイルでその語句が含まれている行数などを調べるコマンドです。 通常の grep コマンドなどを利用してもいいのですが、コマンドがわかりにくいのと、対象として指定するファイルを指定するのが面倒です。 その点 git grep だと、 git が管理しているファイルだけが検索対象になるので、手軽にリポジトリから検索することが出来ます。 また、オプションを使うことでより柔軟な検索も実現出来ます。一部を紹介しておきますので、man g
Welcome to the JSHint Next preview. JSHint was started over a year ago as a fork of Douglas Crockford's JSLint. Since then the project has transformed into a separate static analysis tool with its own goals and ideals. JSHint Next is the next major iteration of the tool, where we've decided to break away from the past, replacing JSLint's parser with Esprima and rethinking JSHint's architecture. Th
Hello fellow jQuery users! It’s been a while since you’ve heard from us, but we haven’t been asleep. The jQuery Core Team has been heads-down working on jQuery 1.8, and our first beta release is now available! You can get the code from the jQuery CDN: http://code.jquery.com/jquery-1.8b1.js Give it a try on your current jQuery code and let us know how it works for you. If you experience issues, ple
問題 phpだと shuffle($array)で配列の内容をランダムな順序に入れ替えられるじゃないですか。 Javascriptでも配列の要素のランダム入れ替えってできる? [0,1,2,3,4,5,6,7,8,9] → [4,6,8,0,9,3,7,1,2] のような感じ。 答え shuffle()関数で配列の要素をシャッフルできるのは、便利機能満載、関数の塊のphpならではの風景。 JavascriptのArrayオブジェクトにshuffleはない。実装方法も考えて自分で作る必要がある。 乱数で重みをつけて並べ替える方法 var x = [0,1,2,3,4,5,6,7,8,9]; //配列xの各要素に乱数で重みをつける for (var i = 0, l = x.length; i < l; ++i) { x[i] = [x[i], Math.random()]; } //配列xを
We’ve received a lot of requests for this feature, and our recent Innovation Week has given us the time to follow through on this request. We’re pleased to introduce Deployment Keys for Bitbucket. Deployment keys allow users to clone/pull source from a repository over SSH using Git and Hg without having to use up one of their plan limit users. Deployment keys are similar to adding SSH keys to your
「HTML5タグの誤用で恥をかいた」「分厚い仕様書は読み切れない」コーダー&デザイナーのためのコーディングガイド。最終草案に対応したほか、商用サイトを意識したコーディング例を新たに書き下ろし。HTML5マークアップへ移行するために必要な知識を効率よく学べる1冊です。ネットで話題の「HTML5カルタ」付き! HTML5マークアップ 現場で使える最短攻略ガイド 定価:2,808円 (本体2,600円)/形態:B5変 (240ページ) ISBN:978-4-04-866070-9 前回に続き、HTML5で強化されたフォーム機能について解説します。 新しいフォーム関連要素 HTML5のフォームでは、input要素が強化されただけでなく、新しいフォーム要素も追加されました。 datalist要素 カテゴリー:フローコンテンツ、フレージングコンテンツ この要素が使える文脈:フレージングコンテンツが予想
イチオシ [[data.opening_days_date_label]] [[data.opening_days_time]]〜 [[data.tertiary_area_name]] ([[data.secondary_area_name]]) 男性 [[ entryStatus(data.application_deadline_date, data.entry_status_male) ]] [[data.condition_male_from]]〜[[data.condition_male_to]]歳 / 女性 [[ entryStatus(data.application_deadline_date, data.entry_status_female) ]] [[data.condition_female_from]]〜[[data.condition_female_to]]歳
前回のおさらいと今回の内容 前回の記事「Scalaのパッケージ、アクセス修飾子、オブジェクト継承」では、オブジェクト指向言語ではとても重要な機能であるクラスの継承と、Scalaのパッケージについて紹介しました。今回は、Scalaのオブジェクト指向を構成するもう1つの重要な機能、「トレイト」を紹介します。 なお、本記事ではオブジェクト指向自体やクラスやインターフェイス、継承の概念、それらに関連した基本的な事柄について詳細な説明は行いません。 オブジェクト指向の基礎やインターフェイスについて確認したい方は、以下の記事をご覧ください。 第1回記事では、Scala標準のREPLとScala IDEで動作を確認してみました。今後本記事のサンプルコードは、どちらで確認しても問題はありませんが、対話的に実行でき、1文ごとにコードの結果が分かって便利なので、基本的にはREPLを用いて説明していきます。 S
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く