As of March 1, 2018, ReSRC will no longer be available to deliver images to your domain. As communicated via email to all our customers in May 2016 — as part of launching the Fastly Image Optimizer service — we brought the ReSRC image service in-house, providing it free of charge from July 1, 2016 until the Fastly Image Optimizer service was ready to release. We're excited to let you know the Fast
はじめに 今回はSelenium WebDriverをご紹介します。ブラウザ操作を自動化する際には最適な仕組みです。Webシステムのend-to-endテストを自動化する際には、ブラウザ操作が必要になることがあります。そんな時にSelenium WebDriverはとても便利です。 Selenium Seleniumとは、ブラウザをプログラムで動かすフレームワークです。この仕組みを使うことで、ユーザーテストなど、様々な処理を自動化できます。現在のところ、Seleniumは以下のWebブラウザを制御できます(公式サイト)。 Internet Explorer Firefox Chrome Opera Android標準Webブラウザ Safari (iPhone標準Webブラウザ) 実際に使用する際には、以下の2つの仕組みのどちらかを使用します。
ちょっとしたきっかけで、合同会社をこの春に設立し、代表社員(平たく言えば社長)になった。 (合同会社って何?という話は長くなるので略。) 出資金は1円でも設立できるけれど、1円じゃ何もできないので100万円ぐらいが無難な気がする。 株式会社にするのか合同会社にするのかは考えていたころ、AppleのiOS Developer Programの法人登録申請が、合同会社だと通らなかったという2chのスレを見かけた。 【Xcode】iPhoneアプリ開発初心者の集い【iOS】 134 : 個人事業主はだめだけど合同会社とかも通るだろ 135 : >>134 dans番号制になってから通らなくなった 137 : >>136 実際に合同会社で落ちたから電話で聞いたら 「前は大丈夫だったんだけど、日本だと合同会社は個人事業主とapple側にみなされて申請はほぼ通らない」 って言われた。嘘だと思うなら電話
2013-07-05 Rails のモデルはどうあるべきか rails TL;DR: Rails の model が太りやすいのは、生まれつき責務過剰だから。開発者が設計段階で責務を絞り、食べる量を減らしてあげよう。 Rails の model というのは、概念も実装も、とても奇妙な使われ方をしている。 いささか不気味だし、実害もある。 fat model はずっと Rails 界で話題になりつづけている。 すでに Rails のプロフェッショナルは抜け出せているのかもしれないが、まだ議論の余地のある話題ではあるようだ。 なぜ model が太るかというと、なんでもかんでも model に食べさせるからである。 一日中食べてれば元々どんなにスレンダーでも太るに決まってる。 コードのダイエットは食べる量を減らすか、外に出すしかない。 太ってから外に出すのがリファクタリングである。 後知恵的に
iPHPはObjective-C製のソフトウェア(ソースコードは公開されていますがライセンスは明記されていません)です。 iOS上で動作するプログラミング言語と言えばObjective-CやJavaScriptくらいと思われています(アプリを開発できる言語はもっとありますが)。しかしその壁を打ち破るソフトウェアがiPHPです。名前の通り、PHPの実行エンジンをiOSアプリ内に埋め込んだソフトウェアです。 立ち上げました。さっそくphpinfoを実行します。 見慣れた画面です。PHPのバージョンは5.4.15となっています。 curlも組み込まれています。外部コンテンツを取り込んで…といったこともできるでしょう。 fileinfoやgdもあります。色々な使い方ができそうです。 evalを使って入力したテキストを評価させることができます。 こちらはベンチマークを実行した結果です。 iPHPは思
第2回 JAWS−UG 神戸 OpsWorks (Chef) 特集 ! on Zusaar 神戸で開催された JAWS-UG 神戸でChefについての発表を行いました。以前、Engine Yardのオフィスで開催したものをChef11に対応した形でアップデートした内容です。 おもな変更点としてはインストールの方法やChefの全体のアーキテクチャの解説を最新に変更しています。以前の資料のとおりだとやや残念になってしまうのでこちらを参照して頂けるとスムーズにChefを導入できるのではと思います。 すぐに手元で試したい方にはこちらのVagrantfileをオススメします。 超シンプルなVagrantfile https://gist.github.com/yandod/5934790 Engine YardはAmazon Web ServiceやWindows Azureなどのクラウド環境にC
Latest Published Version: http://www.w3.org/TR/html51/ Latest Version of HTML: http://www.w3.org/TR/html/ Latest Editor's Draft: http://www.w3.org/html/wg/drafts/html/master/ Previous Versions: http://www.w3.org/TR/2014/WD-html51-20140204/ Editors: WHATWG: Ian Hickson, Google, Inc. W3C: Robin Berjon, W3C Steve Faulkner, The Paciello Group Travis Leithead, Microsoft Erika Doyle Navara, Microsoft Ed
速算術について 願望 わずかな工夫で計算式を見る目が変わる強力な計算技巧があるにもかかわらず、何故学校で教わらないのか。まだ基本計算能力が固まっていない小学生低学年には早いかもしれないが、中学生以上の日本人には常識であって欲しい。 意義 数学の試験では最終的には計算スピードがものを言う。速算術は計算そのものの時間を短縮する以上に、筆算を書く必要がなくなることによる時間短縮効果が大きい。複雑な計算を避け、計算回数を減らすことで、計算ミスの減少にも貢献する。受験で役立つのはもちろん、実生活でも役立つ。 訓練 速算術は単に方法を知っているだけでは実戦で使えない。気に入ったものを普段から意識して使うようにして、少しずつ使えるものを増やしていく。慣れてきたら、複数の技巧を組み合わせて使うこともできるようになる。 原理 原理はほとんど省略した。特に掛け算の速算の原理は展開・因数分解が背景にあるので、中
The <canvas> element has been a revelation for the visual experts among our ranks. Canvas provides the means for incredible and efficient animations with the added bonus of no Flash; these developers can flash their awesome JavaScript skills instead. Here are nine unbelievable canvas demos that will make your jaw drop! 1. Zen Photon Garden The Zen Photon Garden demo is the epitome of mind-blowi
It’s become somewhat of a trend in web design to have a header that attaches to the top of the page as the user scrolls in order to provide the user with navigation or something along those lines. When the header attaches to the screen, we can use this point to create some pretty cool effects. In this tutorial we’re going to be looking at animations that activate as the user scrolls down. Since a
DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! If you know the exact width/height of an element, you can center it smack dab in the middle of its parent element easily with this classic trick: top and left set to 50% and negative margins half the width and height of the element. That’s great if you know the width and height of the elemen
The number of devices with high resolution screens is rising, and with it the need for a simple way to deliver crisp, resolution-independent graphics that don’t waste bandwidth. Vector-based graphics, which are compact and scalable, are a great solution. Icon fonts deliver vector illustrations in an easy format, and there are huge variety of pre-made icon sets to choose from. So, problem solved? N
Combinators describe the relationship between CSS selectors, and they’re commonly used to combine two or more selectors into a more specific selector. Examples of combinators are the greater-than sign (>), plus sign (+), and tilde symbol (~). If you’ve ever worked with descendant selectors, then you’ve already used combinators because the whitespace between the selectors is also considered a combi
A few months ago, I blatantly ripped off Charlie Gleason’s idea. His presentation at MelbJS featured greyscale, full-screen, animated GIFs (of his own face, among other things) behind the text on many slides. I discovered that he’d painstakingly edited and optimised each GIF in Photoshop so it looked good behind the text on each slide. I wanted to do the same thing, but without all that work. The
Posted at July 2, 2013 by Nicholas C. Zakas Tags: Internet Explorer, JavaScript, navigator, User Agent String This past week, Microsoft officially unveiled the first preview of Internet Explorer 11 for Windows 8.11. Doing so put to rest a whirlwind of rumors based on leaked versions of the much-maligned web browser. We now know some very important details about Internet Explorer 11, including its
Two things contradict what we have said about primitives versus objects: The type of a function is 'function' and not 'object'. Given that Function (the type of functions) is a subtype of Object (the type of objects), this isn’t wrong. The type of null is 'object'. This is a bug, but one that can’t be fixed, because it would break existing code. instanceof looks like this: «value» instanceof «Cons
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く