computer

error

RSA Encryption not supported – caching_sha2_password plugin was built with GnuTLS support

概要musqlでRSA Encryption not supported - caching_sha2_password plugin was built with GnuTLS supportのエラーが出た。Access denied f...
rails

RSA Encryption not supported – caching_sha2_password plugin was built with GnuTLS support の解決

やりたいことdocker-composeでrailsのアプリを作る。DBにmysqlを使用する。エラーRSA Encryption not supported - caching_sha2_password plugin was built...
computer

htmlのsvgタグをファイルとして保存する

概要snap.svgなどjavascriptのライブラリを使用すると、svgタグを使用してお絵描きできる。svgタグを使用して描いた絵をsvgファイルとして保存する方法を説明する。svgタグを利用して絵を描く今回はsnap.svgを使用した...
rails

Railsでform_withにlocaleパラメータを含める

概要Railsでパラメータにlocaleを指定するには default_url_optionsを使用すれば良い。# app/controllers/application_controller.rbdef default_url_optio...
rails

Railsでchart.jsを使おうとするとUglifier::Error:

概要Railsでchart.jsを使おうとして、bundle exec rails assets:precompileを実行すると Uglifier::Error: が発生する。production環境だとエラーだが、develop環境だと...
computer

1分でParcelを使ってローカルWebサーバーをたてる

やることparcelのインストール$ npm init -y$ npm install parcel-bundlerhtmlの作成index.html<!DOCTYPE html><html><head><title>Hello Parce...
computer

1分でNode.jsのExpressとForeverを使用してWebサーバーを立てる

expressを使用するととても簡単にwebサーバーを立てられる。やること$ mkdir myapp$ cd myapp$ npm init (全てそのままエンターで良い)$ npm install expressapp.jsという名前で以...
rails

ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation “player” does not exist

概要Railsで rails test を実行したら以下のエラーが出た。ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "player" does no...
computer

MacでOBSを使用してバーチャルカメラを実現する

OBSとはOpen Broadcaster Software。ゲーム配信とかで使われるらしい。参考Open Broadcaster Software | OBSobsproject/obs-studio: OBS Studio - Free...
rails

Rails 5でbootstrapを使えるようにする

install yarnyarnが入ってなければインストールする参考サイトInstallation | Yarndockerイメージ内にyarnをインストールする - Qiitainstall bootstrap and jquery$ y...
Sponsored links