We are constantly updating our collection of different sources. All content absolutely free!
We are constantly updating our collection of different sources. All content absolutely free!
byebugとpry-byebugのbundle updateをしましょう byebugはRails標準でインストールされるRuby 2.1, 2.2向けのデバッガで、pry-byebugはpry *1 にデバッガの機能を追加するpryのプラグインです。 一昨日から今日にかけて、以下のパフォーマンス改善を含む byebug v8.0.0 と pry-byebug v3.3.0 がリリースされました。 github.com github.com byebugとpry-byebugには、一度byebugやbinding.pryを叩くとそれ以降ずっとアプリケーションの挙動が10倍遅くなるという問題がありました。 これが上記の変更により改善されたので、 Railsアプリやgemのデバッグにbyebugやpry-byebugを利用している方はそれらのbundle updateをおすすめします。 bi
AWS LambdaでサーバレスなSlackボットをつくったよー(Scheduled Event対応・npmモジュールあり)Node.jsnpmlambdaSlack TL;DR; AWS LambdaとScheduled Eventを利用した、サーバレスのSlackボットをつくることができるnpmモジュールと、 それを使ったボットの作り方を紹介します。 hubotの代替を意図しています。できるだけサーバ保守などの手間をかけず、安価にSlackボットを運用したい方におすすめです。 本質はLambdaにデプロイされる単一のNode.jsアプリなので、多くの人がhubotでやってることはだいたいできると思います。 GitHub https://github.com/mumoshu/lambda_bot npm https://www.npmjs.com/package/lambda_bot 背
流行りのfluxフレームワークreduxとreact-railsを試してみる。 reduxのexamplesにある、counterをreact-railsを使って書いてみます。 https://github.com/rackt/redux/tree/master/examples/counter ※以下のバージョンで書いてます。 rails 4.2.3 redux 3.0.4 react-rails 1.4.2 react 0.14.2 ソースは以下におきました。 ソースは@odk211さんからPR頂いてbabel6を使ったものになってます。 https://github.com/suzan2go/react-rails-redux-sample 事前準備 browserify-railsのインストール Gemfileに以下を追加してbundle installしましょう。
Atypon’s publishing and website development platform is scalable, adaptable, and reliable—and supports every type of content. Keep visitors on your site with the immersive reading experiences and collaboration tools that practitioners expect. A single login for scholarly websites and researcher tools streamlines access to your content, puts readers in control of their personal data, and reduces an
shibaraku gem をリリースしました これは何? ActiveRecord で期間を持つ model を扱う gem です。期間限定公開や、予約公開したいときなんかに使います。 作ったのは 1 年前なんですが、ずっと社内 gem として使用していたものを rubygems.org / github.com に上げました。 https://rubygems.org/gems/shibaraku https://github.com/onk/shibaraku USAGE 基本的な使い方 start_at, end_at のあるモデルを用意します。 create_table :campaigns do |t| t.datetime :start_at t.datetime :end_at end shibaraku と 1 行書くと class Campaign < ActiveRe
CompanyEngineeringProductSunsetting AtomWe are archiving Atom and all projects under the Atom organization for an official sunset on December 15, 2022. January 30, 2023 Update: Update to the previous version of Atom before February 2 On December 7, 2022, GitHub detected unauthorized access to a set of repositories used in the planning and development of Atom. After a thorough investigation, we hav
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く