Category OverviewTo give you an overview of what open source libraries are available for a given task we group projects for common problems into categories. The catalog itself is available for contributions on GitHub.
気付いたらもう9月ですね。 最近、AWS Lambdaでいろいろと遊ぶ機会があったのでメモとして残します。 はじめに とあるセキュリティゲームの運営用に、SeleniumでWebスクレイピングをやっているRubyのスクリプトをEC2で運用していたのですが、Headless Chromeを扱うため大量に起動するとメモリ食っちゃうし、スケールしようにもEC2インスタンスのAutoScaling組むのもちょっとなあ。とか、インスタンスの起動まで待ってられないからある程度多めにインスタンスを実行したりするのも余分にコストが。。。 1実行に15分もかからないスクリプトだし、ということでLambdaに移行することにしました。 Lambda Layerについて Headless Chromeを扱う場合、単純にFunctionのデプロイパッケージにバイナリを含めると50MBを超えてしまうため、Lambda
It’s surprising how quickly time can get away from us. Updated versions of Ruby gems are released all the time. If we don’t keep our applications up-to-date with the latest released versions of their dependencies, we may end up with applications that rely on gems with known vulnerabilities, bugs, or deprecated features. I use the following strategy on a regular basis to keep my applications up-to-
powder will attempt to read .powder, which names a default symlink for the current project $ powder [-h|help] => Display usage information # Lists name and brief descriptions of the tasks available $ powder link => Link the current dir to ~/.pow/<current_directory> $ powder link [bacon] => Link the current dir to ~/.pow/bacon => Create .powder, contents bacon $ powder link [bacon] --no-create => L
rubyで画像アップロード機能を作成するには様々なgemがありますが、carrierwaveが一番お手軽でわかりやすいので一番使っています。 carrierwaveではストレージを自由に選択できるので、ストレージをfogにすればS3との連携も簡単にできます。 以下の例は管理しているrailsアプリケーションのストレージをfogにする設定です。 CarrierWave.configure do |config| config.cache_dir = "#{Rails.root}/tmp/uploads" config.fog_credentials = { :provider => 'AWS', :aws_access_key_id => 'YOUR ACCESS KEY', :aws_secret_access_key => 'YOUR SECRET', :region => 'ap-no
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く