2020-05-01から1ヶ月間の記事一覧

【Linux Mint】 デュアルブート方法

https://www.linuxmint.com/documentation/user-guide/MATE/japanese_17.0.pdf

認証後

https://qiita.com/nekyo/items/f179875a8bcfba671785

【PaaS】 heroku git

$ heroku login heroku: Press any key to open up the browser to login or q to exit: Opening browser to https://cli-auth.heroku.com/auth/cli/browser/xxxxxxxxxxxxxxx Logging in... done Logged in as (herokuログインEmailアドレス) $ laradock $ d…

bash 文法

https://qiita.com/Ping/items/57fd75465dfada76e633?utm_content=buffera0980&utm_medium=social&utm_source=facebook.com&utm_campaign=buffer

ターミナルのショートカット

qiita.com Ctrl + a 行先頭に移動 Ctrl + e 行末尾に移動 option + → 1単語分右に移動 option + ← 1単語分左に移動 fn + ↑ 1画面分上にスクロール fn + ↓ 1画面分上にスクロール

【Composer】 Composerの重要性・便利さを再認識

qiita.com

【Homebrew】 久しぶりに使った

laradock$ brew -v Homebrew 2.1.6 Homebrew/homebrew-core (git revision 0bcc; last commit 2019-06-19) laradock$ brew cask install ngrok Updating Homebrew... ==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6…

vim php

https://qiita.com/cyrt/items/ff5edd392b3f41dd6e10

【SPA】 好きな意見

https://speakerdeck.com/potato4d/why-you-choose-spa?slide=63

【Laravel】 Fat Controllerを防ぐ

https://qiita.com/nunulk/items/6ed409345efb6ee4f660

【】 なぜか解決

$ docker-compose up -d workspace php-fpm nginx laradock_docker-in-docker_1 is up-to-date laradock_workspace_1 is up-to-date laradock_php-fpm_1 is up-to-date Recreating laradock_nginx_1 ... done .envのNginxポート ### NGINX #################…

lsof

lsof 特定のポートをオープンしているプロセスを調べる -P no port names -i select by IPv[46] address: [46][proto][@host|addr][:svc_list|port_list] lsofのオプション lsof -i (ネットワークソケットのみを対象にする)(画面5) www.atmarkit.co.jp q…

【Docker】 Laradockのnginxコンテナ起動に詰まった話

[A] Macの再起動 [B] Dockerの再起動 [C] .env [D] docker-compose.yaml ### NGINX Server ######################################### nginx: build: context: ./nginx (中略) ports: # - "${NGINX_HOST_HTTP_PORT}:80" - "${NGINX_HOST_HTTP_PORT}:8080" […

Laradockトラブル関連の記事リスト

qiita.com dawaan.com qiita.com qiita.com qiita.com hacknote.jp qiita.com Docker Composeでdriver failed programming external connectivity on endpointとなった時の対応方法 - Qiita

Web API [Github]

【Dockerfile】 rails

https://github.com/manamin0521/rails_tapi?files=1

【Homstead】 portfowarding

/scripts/homestead.rb # Main Homestead Class class Homestead def self.configure(config, settings) # 仮想マシンプロバイダの設定 [ => Virtualbox] # Set The VM Provider ENV['VAGRANT_DEFAULT_PROVIDER'] = settings['provider'] ||= 'virtualbox' #…

vimrc設定

qiita.com

bash参考リンク集

qiita.com

【.bashrc】 homesteadを参照

[ホストPC側で] $ scp vagrant@192.168.10.20:/home/vagrant/.bashrc /Users/(Username)/Desktop/bash/.bashrc 成功。 # ~/.bashrcファイルとは: # ログインしていないシェルにてbashで適用される # 環境変数の設定を ~/.bashrc などで行なっているが、 # ロ…

.bashrcの変更

useraddコマンドとpasswdコマンド

ユーザー名リストを表示 cat /etc/passwd | sed -e 's/:.*//g' useradd (rootのみ) # useradd [option] username /etc/passwd ユーザ情報の一覧 /etc/shadow ユーザパスワードの一覧 /etc/group グループ情報の一覧 /etc/gshadow グループパスワードの一覧 -…

【Linux】 su - とsudo

su - [管理者のパスワードで管理者へスイッチ] sudo [一般ユーザーのパスワードで管理者権限の一部を実行] id [@ ~]$ id uid=1000(Username) gid=1000(Username) groups=1000(Username) (閲覧のみ)vim /etc/sudoers 編集は、visudoで行うことが推奨されてい…

【Apache 2.4】 モジュール

[root@(host) ~]# httpd -M AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/httpd.conf:110 Loaded Modules: core_module (static) so_module (static) http_module (static) access_compat_module (shar…

【Git】 スカッシュ / リベース / リバート

www.granfairs.com

【Layer 7】わかりやすい解説

https://www.geeksforgeeks.org/protocols-application-layer/

【Vagrantfile】 LAMP

https://www.superbusinessman.biz/build-lamp-stack-from-vagrantfile/ https://github.com/LaraDock/laradock.git

Laravel Docker

https://qiita.com/A-Kira/items/1c55ef689c0f91420e81

【AWS】 実ビジネス例 8

https://classmethod.jp/aws-cases-download/?utm_source=facebook.com&utm_medium=cpc&utm_campaign=AWS%E4%BA%8B%E4%BE%8B%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%83%9A%E3%83%BC%E3%82%B8+part3&utm_content=AWS%E4%BA%8B%E4%BE%8B%E…

【Dockerfile】

https://www.slideshare.net/mobile/zembutsu/explaining-best-practices-for-writing-dockerfiles