├── .gitignore ├── README.md ├── atcoder ├── ABC081A.rb ├── abc086a_product.rb └── practive001.rb ├── blog └── 20170709.md ├── cfp ├── 20171008-php-conference2017.md └── 20180109-phperkaigi2018.md ├── conference └── 20170804_php_architecture.md ├── database └── mysql │ └── pref-city-company-tree │ ├── README.md │ ├── docker-compose.yml │ └── initdb.d │ ├── 01_schema.sql │ └── 02_master.sql ├── docker ├── nginx-php-fpm-postgres │ ├── docker-compose.yml │ ├── docker │ │ ├── Dockerfile.nginx │ │ ├── Dockerfile.php-fpm │ │ ├── Dockerfile.postgres │ │ ├── nginx │ │ │ └── default.conf │ │ └── php-fpm │ │ │ └── www.conf │ └── public │ │ └── index.php ├── nginx_apache_mod_php │ ├── default.conf │ ├── docker-compose.yml │ ├── index.php │ └── rebuild.sh ├── nginx_php_fpm │ ├── default.conf │ ├── docker-compose.yml │ ├── images │ │ └── baachii.jpg │ ├── index.php │ └── rebuild.sh ├── php5.4 │ └── docker-compose.yml └── php53_apache │ ├── .gitignore │ ├── Dockerfile │ ├── README.md │ ├── docker-compose.yml │ ├── php │ ├── imagick.ini │ ├── memcache.ini │ └── ssh2.ini │ ├── run │ └── web │ ├── Dockerfile │ └── apache2 │ └── sites-available │ └── default ├── go ├── chitanda-san.go ├── chitanda-san2.go ├── interpriter │ ├── .envrc │ ├── README.md │ └── src │ │ └── monkey │ │ ├── lexer │ │ ├── lexer.go │ │ └── lexer_test.go │ │ └── token │ │ └── token.go └── tour │ ├── README.md │ ├── array.go │ ├── basic-types.go │ ├── constants.go │ ├── defer-multi.go │ ├── defer.go │ ├── exported-names.go │ ├── for-continued.go │ ├── for-is-gos-while.go │ ├── for.go │ ├── forever.go │ ├── functions-continued.go │ ├── functions.go │ ├── if-and-else.go │ ├── if-with-a-short-statement.go │ ├── if.go │ ├── imports.go │ ├── multiple-results.go │ ├── named-resuls.go │ ├── numeric-constatns.go │ ├── packages.go │ ├── pointers.go │ ├── short-variable-declations.go │ ├── slice-bounds.go │ ├── slice-len-cap.go │ ├── slice-literals.go │ ├── slices-pointers.go │ ├── slices.go │ ├── struct-fields.go │ ├── struct-literals.go │ ├── struct-pointers.go │ ├── structs.go │ ├── switch-evaluation-order.go │ ├── switch-with-no-condition.go │ ├── switch.go │ ├── type-conversions.go │ ├── type-inference.go │ ├── variables-with-initializers.go │ ├── variables.go │ └── zero.go ├── iOS ├── .gitignore ├── CountUp │ ├── CountUp.xcodeproj │ │ └── project.pbxproj │ └── CountUp │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── ViewController.swift ├── DKAudioPlayerSwift │ ├── .gitignore │ ├── DKAudioPlayerSwift.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── DKAudioPlayerSwift │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ └── Main.storyboard │ │ ├── DKAudioPlayerSwift.swift │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── LaunchImage.launchimage │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── ViewController.swift │ │ ├── player_bg.png │ │ ├── player_bg@2x.png │ │ ├── player_bubble.png │ │ ├── player_bubble@2x.png │ │ ├── player_circle.png │ │ ├── player_circle@2x.png │ │ ├── player_pause.png │ │ ├── player_pause@2x.png │ │ ├── player_play.png │ │ ├── player_play@2x.png │ │ ├── player_player_bg.png │ │ ├── player_player_bg@2x.png │ │ ├── player_progress_bg.png │ │ ├── player_progress_bg@2x.png │ │ ├── player_progress_blue.png │ │ └── player_progress_blue@2x.png │ └── DKAudioPlayerSwiftTests │ │ ├── DKAudioPlayerSwiftTests.swift │ │ └── Info.plist ├── DKAudioPlayerSwiftVersion │ ├── .gitignore │ ├── DKAudioPlayerSwiftVersion.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── DKAudioPlayerSwiftVersion │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ └── Main.storyboard │ │ ├── DKAudioPlayerSwiftVersion.swift │ │ ├── FirstViewController.swift │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ ├── LaunchImage.launchimage │ │ │ │ └── Contents.json │ │ │ ├── first.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── first.png │ │ │ │ └── first@2x.png │ │ │ └── second.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── second.png │ │ │ │ └── second@2x.png │ │ ├── Info.plist │ │ └── SecondViewController.swift │ └── DKAudioPlayerSwiftVersionTests │ │ ├── Info.plist │ │ └── MKTAudioPlayerTests.swift ├── Design │ ├── Design.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata │ │ │ │ └── Design.xccheckout │ │ │ └── xcuserdata │ │ │ │ └── hypermkt.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata │ │ │ └── hypermkt.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── Design.xcscheme │ │ │ └── xcschememanagement.plist │ ├── Design │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── FooterView.swift │ │ ├── FooterView.xib │ │ ├── HeaderView.swift │ │ ├── HeaderView.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ ├── line.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── LineTimeline.png │ │ │ └── mysql_logo.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── mysql_logo.png │ │ ├── Info.plist │ │ ├── TopHeaderView.swift │ │ ├── TopHeaderView.xib │ │ └── ViewController.swift │ └── DesignTests │ │ ├── DesignTests.swift │ │ └── Info.plist ├── SplitDataSourceFromTableView │ ├── SplitDataSourceFromTableView.xcodeproj │ │ └── project.pbxproj │ ├── SplitDataSourceFromTableView │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── SplitDataSourceFromTableView.xcdatamodeld │ │ │ ├── .xccurrentversion │ │ │ └── SplitDataSourceFromTableView.xcdatamodel │ │ │ │ └── contents │ │ ├── TableViewDataSource.swift │ │ └── ViewController.swift │ └── SplitDataSourceFromTableViewTests │ │ ├── Info.plist │ │ └── SplitDataSourceFromTableViewTests.swift ├── SplitViewController │ ├── SplitViewController.xcodeproj │ │ └── project.pbxproj │ ├── SplitViewController │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── FooterViewController.swift │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── ListViewController.swift │ │ ├── ListViewDataSource.swift │ │ ├── PickupViewController.swift │ │ ├── SplitViewController.xcdatamodeld │ │ │ ├── .xccurrentversion │ │ │ └── SplitViewController.xcdatamodel │ │ │ │ └── contents │ │ └── ViewController.swift │ └── SplitViewControllerTests │ │ ├── Info.plist │ │ └── SplitViewControllerTests.swift ├── Swift4Manga1 │ ├── Swift4Manga1.xcodeproj │ │ └── project.pbxproj │ └── Swift4Manga1 │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── ViewController.swift │ │ ├── dash0.png │ │ ├── dash1.png │ │ ├── dash2.png │ │ ├── dash3.png │ │ ├── dash4.png │ │ ├── dash5.png │ │ ├── start.png │ │ └── stop.png ├── Swift5ImageView │ ├── Swift5ImageView.xcodeproj │ │ └── project.pbxproj │ └── Swift5ImageView │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── background.imageset │ │ │ ├── Contents.json │ │ │ └── background.jpg │ │ ├── beach.imageset │ │ │ ├── Contents.json │ │ │ └── beach.jpg │ │ └── done.imageset │ │ │ ├── Contents.json │ │ │ └── done.png │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── ViewController.swift ├── Swift5TableView1 │ ├── Swift5TableView1.xcodeproj │ │ └── project.pbxproj │ └── Swift5TableView1 │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── beach.imageset │ │ │ ├── Contents.json │ │ │ └── beach.jpg │ │ └── plus.imageset │ │ │ ├── Contents.json │ │ │ └── plus.png │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── ViewController.swift │ │ ├── ViewController2.swift │ │ └── ViewController3.swift ├── SwiftButton1 │ ├── SwiftButton1.xcodeproj │ │ └── project.pbxproj │ └── SwiftButton1 │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── NextViewController.swift │ │ ├── ViewController.swift │ │ ├── key.png │ │ └── setting.png ├── SwiftStart │ ├── SwiftStart.xcodeproj │ │ └── project.pbxproj │ └── SwiftStart │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── ViewController.swift ├── TableViewControllerTest │ ├── TableViewControllerTest.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata │ │ │ │ └── TableViewControllerTest.xccheckout │ │ │ └── xcuserdata │ │ │ │ └── hypermkt.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata │ │ │ └── hypermkt.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── TableViewControllerTest.xcscheme │ │ │ └── xcschememanagement.plist │ ├── TableViewControllerTest │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── FooterView.swift │ │ ├── FooterView.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── aws.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── amazon-web-services-logo-large.png │ │ ├── Info.plist │ │ └── ViewController.swift │ └── TableViewControllerTestTests │ │ ├── Info.plist │ │ └── TableViewControllerTestTests.swift ├── TableViewOnScrollView │ ├── TableViewOnScrollView.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata │ │ │ │ └── TableViewOnScrollView.xccheckout │ │ │ └── xcuserdata │ │ │ │ └── hypermkt.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata │ │ │ └── hypermkt.xcuserdatad │ │ │ ├── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ │ └── xcschemes │ │ │ ├── TableViewOnScrollView.xcscheme │ │ │ └── xcschememanagement.plist │ ├── TableViewOnScrollView │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── aws.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── amazon-web-services-logo-large.png │ │ ├── Info.plist │ │ ├── NavigationController.swift │ │ └── ViewController.swift │ └── TableViewOnScrollViewTests │ │ ├── Info.plist │ │ └── TableViewOnScrollViewTests.swift ├── TableViewTest │ ├── TableViewTest.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata │ │ │ │ └── TableViewTest.xccheckout │ │ │ └── xcuserdata │ │ │ │ └── hypermkt.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata │ │ │ └── hypermkt.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── TableViewTest.xcscheme │ │ │ └── xcschememanagement.plist │ ├── TableViewTest │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── ViewController.swift │ └── TableViewTestTests │ │ ├── Info.plist │ │ └── TableViewTestTests.swift ├── TableViewTest2 │ ├── TableViewControllerTest │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── ViewController.swift │ ├── TableViewControllerTestTests │ │ ├── Info.plist │ │ └── TableViewControllerTestTests.swift │ ├── TableViewTest2.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata │ │ │ │ └── TableViewTest2.xccheckout │ │ │ └── xcuserdata │ │ │ │ └── hypermkt.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcuserdata │ │ │ └── hypermkt.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── TableViewControllerTest.xcscheme │ │ │ ├── TableViewTest2.xcscheme │ │ │ └── xcschememanagement.plist │ ├── TableViewTest2 │ │ ├── AppDelegate.swift │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.xib │ │ │ └── Main.storyboard │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── aws.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── amazon-web-services-logo-large.png │ │ ├── Info.plist │ │ └── ViewController.swift │ └── TableViewTest2Tests │ │ ├── Info.plist │ │ └── TableViewTest2Tests.swift └── threadSample │ ├── threadSample.xcodeproj │ └── project.pbxproj │ ├── threadSample │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── NSThreadEx.swift │ ├── ViewController.swift │ └── threadSample.xcdatamodeld │ │ ├── .xccurrentversion │ │ └── threadSample.xcdatamodel │ │ └── contents │ └── threadSampleTests │ ├── Info.plist │ └── threadSampleTests.swift ├── infra ├── docker-puppet-nginx-php-fpm │ ├── .dockerignore │ ├── .gitignore │ ├── Dockerfile │ ├── Dockerfile-master │ ├── Gemfile │ ├── Gemfile.lock │ ├── Puppetfile │ ├── Puppetfile.lock │ ├── README.md │ ├── docker-compose.yml │ ├── environment.conf │ ├── manifests │ │ └── site.pp │ └── modules │ │ └── nginx │ │ └── templates │ │ └── default.conf.erb ├── k8s-nginx-php-fpm-mysql │ ├── README.md │ ├── database │ │ └── Dockerfile │ ├── docker-compose.yml │ ├── nginx │ │ ├── Dockerfile │ │ └── site.conf │ └── php │ │ ├── Dockerfile │ │ └── index.php ├── kvm │ ├── .gitignore │ ├── README.md │ ├── Vagrantfile │ ├── docker-compose.yml │ └── docker │ │ └── Dockerfile ├── puppet-apache │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── Puppetfile │ ├── Puppetfile.lock │ ├── README.md │ ├── docker-compose.yml │ ├── docker │ │ ├── Dockerfile │ │ └── hiera.yaml │ ├── hiera.yaml │ ├── hieradata │ │ └── common.yaml │ ├── modules │ │ └── web │ │ │ ├── files │ │ │ └── php.ini │ │ │ └── manifests │ │ │ └── init.pp │ └── site.pp ├── puppet-tutorial │ ├── docker-compose.yml │ ├── hello_world.pp │ ├── modules │ │ └── nginx │ │ │ ├── nginx.pp │ │ │ └── templates │ │ │ ├── index.html.erb │ │ │ └── my.conf.erb │ └── zsh.pp ├── stns-basic │ ├── docker-compose.yml │ └── docker │ │ ├── Dockerfile.client │ │ ├── Dockerfile.server │ │ ├── client │ │ ├── nsswitch.conf │ │ ├── sshd_config │ │ └── stns.conf │ │ └── server │ │ └── stns.conf ├── terraform │ ├── ec2 │ │ ├── .gitignore │ │ ├── ec2.tf │ │ └── terraform.tfstate │ └── iam │ │ ├── .gitignore │ │ ├── iam.tf │ │ └── terraform.tfstate └── web-ops │ ├── .dockerignore │ ├── .gitignore │ ├── Dockerfile │ ├── Dockerfile-agent │ ├── Dockerfile-master │ ├── Gemfile │ ├── Gemfile.lock │ ├── Puppetfile │ ├── Puppetfile.lock │ ├── README.md │ ├── docker-compose.yml │ └── manifests │ └── site.pp ├── javascript ├── axios-unit-test │ ├── .babelrc │ ├── .gitignore │ ├── karma.conf.js │ ├── package.json │ ├── test.vue │ └── test │ │ └── unit │ │ └── test.js ├── css-rev-auto-change │ ├── .gitignore │ ├── README.md │ ├── dest │ │ ├── all-40c53c58fd.css │ │ ├── all.css │ │ └── rev-manifest.json │ ├── gulpfile.js │ ├── index.html │ ├── package.json │ └── src │ │ ├── hoge.css │ │ └── index.html ├── dotinstall │ ├── basic_angularjs │ │ ├── lesson-2.html │ │ ├── lesson-3.html │ │ ├── lesson-4.html │ │ ├── lesson-5.html │ │ ├── myscript.js │ │ ├── myscript4.js │ │ └── myscript5.js │ └── basic_gulp │ │ ├── .gitignore │ │ ├── bower.json │ │ ├── bower_components │ │ └── empty │ │ ├── dest │ │ └── empty │ │ ├── gulpfile.js │ │ ├── node_modules │ │ └── empty │ │ ├── package.json │ │ └── src │ │ ├── img │ │ └── logo.png │ │ └── index.html ├── filter-and-sort │ └── vue │ │ ├── vue1.html │ │ └── vue2.html ├── hono-diary │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── wrangler.toml ├── list_match │ └── index.html ├── pagespeed-tuning-with-webpack │ ├── fast-site │ │ ├── .gitignore │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── src │ │ │ ├── assets │ │ │ │ ├── beach.jpg │ │ │ │ ├── sea.jpg │ │ │ │ ├── self.jpg │ │ │ │ └── sunset.jpg │ │ │ ├── scripts │ │ │ │ ├── jquery-3.3.1.min.js │ │ │ │ └── main.js │ │ │ └── styles │ │ │ │ ├── bulma.css │ │ │ │ └── main.css │ │ └── webpack.config.js │ └── slow-site │ │ ├── index.html │ │ └── src │ │ ├── assets │ │ ├── beach.jpg │ │ ├── sea.jpg │ │ ├── self.jpg │ │ └── sunset.jpg │ │ ├── scripts │ │ ├── jquery-3.3.1.min.js │ │ └── main.js │ │ └── styles │ │ ├── bulma.css │ │ └── main.css ├── phpcon2016 │ ├── binding │ │ ├── index.html │ │ └── main.js │ ├── browserify │ │ ├── .gitignore │ │ ├── package-fail.json │ │ ├── package-success.json │ │ ├── package.json │ │ ├── public │ │ │ ├── app.js │ │ │ └── index.html │ │ └── src │ │ │ └── js │ │ │ └── main.js │ ├── class-and-style-binding │ │ ├── index.html │ │ └── main.js │ ├── components │ │ ├── index.html │ │ └── main.js │ ├── conditional-rendering │ │ ├── index.html │ │ └── main.js │ ├── list-rendering │ │ ├── index.html │ │ └── main.js │ ├── method-and-event-handling │ │ ├── index.html │ │ └── main.js │ ├── server-side-rendering │ │ ├── .gitignore │ │ ├── README.md │ │ ├── local │ │ │ ├── app.js │ │ │ ├── index.html │ │ │ └── package.json │ │ ├── package.json │ │ └── server │ │ │ ├── assets │ │ │ └── app.js │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ └── server.js │ ├── setup │ │ └── index.html │ └── two-way-binding │ │ ├── index.html │ │ └── main.js ├── progressive-web-app │ ├── home-icon │ │ ├── .gitignore │ │ ├── icon-4x.png │ │ ├── index.html │ │ ├── manifest.json │ │ ├── package.json │ │ └── service-worker.js │ └── push-notification │ │ ├── .gitignore │ │ ├── README.md │ │ ├── icon.png │ │ ├── index.html │ │ ├── manifest.json │ │ ├── notifications.json │ │ ├── package.json │ │ └── sw.js ├── react-redux │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ ├── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── actions │ │ │ └── app.js │ │ ├── components │ │ │ └── app.js │ │ ├── containers │ │ │ └── app.js │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── reducers │ │ │ └── index.js │ │ ├── registerServiceWorker.js │ │ └── store │ │ │ └── configureStore.js │ └── yarn.lock ├── redux-sample │ ├── .gitignore │ └── package.json ├── tech-conf-vue-2017 │ └── realtime │ │ ├── .babelrc │ │ ├── .eslintrc │ │ ├── .gitignore │ │ ├── README.md │ │ ├── dist │ │ └── .gitkeep │ │ ├── index.html │ │ ├── karma.conf.js │ │ ├── package-lock.json │ │ ├── package.json │ │ └── src │ │ ├── App.vue │ │ ├── components │ │ ├── Hello.vue │ │ └── block │ │ │ └── text.vue │ │ └── main.js ├── underscore │ ├── .babelrc │ ├── .gitignore │ ├── README.md │ ├── find.js │ ├── findIndex.js │ ├── package-lock.json │ └── package.json ├── unit-test │ ├── .babelrc │ ├── .gitignore │ ├── add.js │ ├── karma.conf.js │ ├── package.json │ └── test │ │ └── unit │ │ └── add.js ├── vue-js-1.x │ ├── slot.html │ └── track-by.html ├── vue-js-2.0 │ ├── render_functions.html │ └── single-file-component │ │ ├── .gitignore │ │ ├── app.js │ │ ├── hello.vue │ │ ├── index.html │ │ ├── main.js │ │ └── package.json ├── vue-multisort │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── README.md │ ├── dist │ │ └── .gitkeep │ ├── index.html │ ├── karma.conf.js │ ├── package-lock.json │ ├── package.json │ └── src │ │ ├── App.vue │ │ ├── components │ │ └── Hello.vue │ │ └── main.js ├── vue-select │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── README.md │ ├── dist │ │ └── .gitkeep │ ├── index.html │ ├── karma.conf.js │ ├── package-lock.json │ ├── package.json │ └── src │ │ ├── App.vue │ │ ├── components │ │ └── Hello.vue │ │ └── main.js ├── vue │ └── async_components │ │ ├── .babelrc │ │ ├── .eslintrc │ │ ├── .gitignore │ │ ├── README.md │ │ ├── dist │ │ └── .gitkeep │ │ ├── index.html │ │ ├── karma.conf.js │ │ ├── package-lock.json │ │ ├── package.json │ │ └── src │ │ ├── App.vue │ │ ├── components │ │ └── Hello.vue │ │ └── main.js ├── vue2.4 │ ├── .gitignore │ ├── package-lock.json │ └── package.json ├── vuejs-avoriaz-vuex │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── README.md │ ├── dist │ │ └── .gitkeep │ ├── index.html │ ├── karma.conf.js │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.vue │ │ ├── components │ │ │ ├── Actions.vue │ │ │ ├── Getters.vue │ │ │ └── Modules.vue │ │ ├── main.js │ │ └── store │ │ │ ├── index.js │ │ │ ├── modules │ │ │ └── counter.js │ │ │ └── mutation-types.js │ └── test │ │ └── unit │ │ ├── Actions.spec.js │ │ ├── Getters.spec.js │ │ └── Modules.spec.js ├── vuejs-avoriaz002 │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── README.md │ ├── dist │ │ └── .gitkeep │ ├── index.html │ ├── karma.conf.js │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.vue │ │ ├── components │ │ │ ├── Child.vue │ │ │ ├── Child2.vue │ │ │ ├── Event.vue │ │ │ ├── Hello.vue │ │ │ ├── HelloWithChild.vue │ │ │ └── Select.vue │ │ ├── libs │ │ │ └── api.js │ │ └── main.js │ └── test │ │ └── unit │ │ ├── Event.spec.js │ │ ├── Hello.spec.js │ │ ├── Hello.without_avoriaz.spec.js │ │ ├── HelloWithChild.spec.js │ │ └── Select.spec.js ├── vuejs-handson01 │ ├── 01.html │ ├── 02.html │ ├── 03.html │ ├── 04.html │ ├── 05.html │ ├── 06.html │ ├── 07.html │ ├── 08.html │ └── README.md ├── web-db-redux │ ├── .gitignore │ ├── counter │ │ ├── .babelrc │ │ ├── .gitignore │ │ ├── dist │ │ │ └── .gitkeep │ │ ├── package.json │ │ ├── src │ │ │ ├── app.js │ │ │ ├── app.jsx │ │ │ └── index.html │ │ └── webpack.config.js │ └── todo │ │ ├── .babelrc │ │ ├── .gitignore │ │ ├── dist │ │ ├── .gitkeep │ │ ├── actions │ │ │ └── index.js │ │ ├── app.js │ │ ├── components │ │ │ ├── App.js │ │ │ └── TodoList.js │ │ ├── container │ │ │ └── VisibleTodoList.js │ │ ├── containers │ │ │ └── VisibleTodoList.js │ │ └── reducers │ │ │ ├── index.js │ │ │ ├── todos.js │ │ │ └── visibilityFilter.js │ │ ├── package.json │ │ ├── src │ │ ├── actions │ │ │ └── index.js │ │ ├── app.js │ │ ├── app.jsx │ │ ├── components │ │ │ ├── App.jsx │ │ │ └── TodoList.jsx │ │ ├── containers │ │ │ └── VisibleTodoList.js │ │ ├── index.html │ │ └── reducers │ │ │ ├── index.js │ │ │ ├── todos.js │ │ │ └── visibilityFilter.js │ │ └── webpack.config.js ├── webpack-demo │ ├── .gitignore │ ├── dist │ │ ├── bundle.js │ │ └── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ └── index.js │ └── webpack.config.js ├── webpack-with-vue │ ├── .gitignore │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── App.vue │ │ │ ├── Footer.vue │ │ │ └── Header.vue │ │ └── entry.js │ └── webpack.config.js ├── webpack-with-vue2 │ ├── .gitignore │ ├── dist │ │ ├── hoge.html │ │ └── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── App.vue │ │ │ └── Header.vue │ │ └── index.js │ └── webpack.config.js ├── webpack │ ├── .gitignore │ ├── bundle.js │ ├── content.js │ ├── entry.js │ ├── index.html │ ├── style.css │ └── webpack.config.js └── window-load │ ├── index.html │ └── script.js ├── linux ├── comm │ ├── a.csv │ └── b.csv ├── deep-dig.md └── lsof.md ├── meetup └── ruby-on-rails-development-by-bracket-and-minnano-wedding.md ├── memo └── webpack.md ├── oauth.md ├── php-storm ├── .gitignore ├── Person.php ├── hello.js ├── index.html └── index.php ├── php ├── close_connection_test │ ├── .gitignore │ ├── application │ │ └── models │ │ │ └── Dao │ │ │ ├── Comment.php │ │ │ ├── User.php │ │ │ └── define.php │ ├── composer.json │ ├── composer.lock │ ├── config │ │ └── system.ini │ └── index.php ├── design_pattern │ ├── Bridge │ │ ├── DataSource │ │ │ ├── ExtendedListening.php │ │ │ ├── FileDataSource.php │ │ │ ├── Interface.php │ │ │ └── Listening.php │ │ ├── README.md │ │ ├── bridge_client.php │ │ └── data.txt │ └── Strategy │ │ ├── ItemDataContext.php │ │ ├── README.md │ │ ├── ReadFixedLengthDataStrategy.php │ │ ├── ReadItemDataStrategy.php │ │ ├── ReadTabSeparatedDataStrategy.php │ │ ├── fixed_data.txt │ │ ├── strategy_client.php │ │ └── tab.txt ├── dns_check │ ├── pear_net_dns2 │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ └── test.php │ └── react_dns │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ └── test.php ├── html_template_it │ ├── .gitignore │ ├── .php-version │ ├── HTML │ │ └── Template │ │ │ ├── IT.php │ │ │ ├── ITX.php │ │ │ └── IT_Error.php │ ├── composer.json │ ├── composer.lock │ ├── duplicate_declaration.html │ ├── duplicate_declaration.php │ ├── index.php │ └── test.html ├── laravel-api-sample │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ ├── Controller.php │ │ │ │ └── ItemController.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Item.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ └── 2018_03_28_062637_create_items_table.php │ │ └── seeds │ │ │ └── DatabaseSeeder.php │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ └── robots.txt │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── components │ │ │ │ │ └── ExampleComponent.vue │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── webpack.mix.js │ └── yarn.lock ├── laravel-error-response │ ├── .editorconfig │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Book.php │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ ├── BaseErrorResponseException.php │ │ │ ├── Handler.php │ │ │ ├── QueryParameterErrorResponseException.php │ │ │ └── ValidationErrorResponseException.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ ├── ResetPasswordController.php │ │ │ │ │ └── VerificationController.php │ │ │ │ ├── BookController.php │ │ │ │ └── Controller.php │ │ │ ├── Kernel.php │ │ │ ├── Middleware │ │ │ │ ├── Authenticate.php │ │ │ │ ├── CheckForMaintenanceMode.php │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ │ └── Requests │ │ │ │ └── BookRequest.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ ├── BookFactory.php │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ └── 2018_10_15_083638_create_books_table.php │ │ └── seeds │ │ │ └── DatabaseSeeder.php │ ├── docker-compose.yml │ ├── docker │ │ ├── api │ │ │ └── Dockerfile │ │ ├── database │ │ │ └── my.cnf │ │ └── nginx │ │ │ └── default.conf │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ ├── robots.txt │ │ └── svg │ │ │ ├── 403.svg │ │ │ ├── 404.svg │ │ │ ├── 500.svg │ │ │ └── 503.svg │ ├── resources │ │ ├── js │ │ │ ├── app.js │ │ │ ├── bootstrap.js │ │ │ └── components │ │ │ │ └── ExampleComponent.vue │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ ├── sass │ │ │ ├── _variables.scss │ │ │ └── app.scss │ │ └── views │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ ├── .gitignore │ │ │ │ └── data │ │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ ├── BookTest.php │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ └── webpack.mix.js ├── laravel-passport-change-auth │ ├── .editorconfig │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Account.php │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ └── Controller.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ └── 2018_06_10_125742_create_t_account_table.php │ │ └── seeds │ │ │ ├── AccountSeeder.php │ │ │ └── DatabaseSeeder.php │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ └── robots.txt │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── components │ │ │ │ │ └── ExampleComponent.vue │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── webpack.mix.js │ └── yarn.lock ├── laravel-passport-refers-another-table │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Customer.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ ├── Controller.php │ │ │ │ └── HomeController.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ └── 2018_05_07_013541_create_customer_table.php │ │ └── seeds │ │ │ └── DatabaseSeeder.php │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ └── robots.txt │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── components │ │ │ │ │ └── ExampleComponent.vue │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ ├── auth │ │ │ ├── login.blade.php │ │ │ ├── passwords │ │ │ │ ├── email.blade.php │ │ │ │ └── reset.blade.php │ │ │ └── register.blade.php │ │ │ ├── home.blade.php │ │ │ ├── layouts │ │ │ └── app.blade.php │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── webpack.mix.js │ └── yarn.lock ├── laravel-passport-sample │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ └── Controller.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ └── 2014_10_12_100000_create_password_resets_table.php │ │ └── seeds │ │ │ ├── DatabaseSeeder.php │ │ │ └── UsersTableSeeder.php │ ├── package-lock.json │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ ├── mix-manifest.json │ │ └── robots.txt │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── components │ │ │ │ │ ├── ExampleComponent.vue │ │ │ │ │ └── passport │ │ │ │ │ ├── AuthorizedClients.vue │ │ │ │ │ ├── Clients.vue │ │ │ │ │ └── PersonalAccessTokens.vue │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── webpack.mix.js │ └── yarn.lock ├── laravel-sample-blog │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Comment.php │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ ├── CommentsController.php │ │ │ │ ├── Controller.php │ │ │ │ └── PostsController.php │ │ │ ├── Kernel.php │ │ │ ├── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ └── VerifyCsrfToken.php │ │ │ └── Requests │ │ │ │ └── PostRequest.php │ │ ├── Post.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ ├── autoload.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── compile.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── ModelFactory.php │ │ ├── migrations │ │ │ ├── .gitkeep │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ ├── 2016_12_30_195655_create_posts_table.php │ │ │ ├── 2016_12_30_200438_add_summary_to_posts_table.php │ │ │ ├── 2016_12_30_224512_create_comments_table.php │ │ │ ├── 2016_12_30_225422_drop_summary_from_posts_table.php │ │ │ └── 2016_12_30_231213_rename_comment_to_body.php │ │ └── seeds │ │ │ ├── .gitkeep │ │ │ └── DatabaseSeeder.php │ ├── gulpfile.js │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ ├── app.css │ │ │ └── styles.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ ├── robots.txt │ │ └── web.config │ ├── readme.md │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── components │ │ │ │ │ └── Example.vue │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ ├── errors │ │ │ └── 503.blade.php │ │ │ ├── layouts │ │ │ └── default.blade.php │ │ │ ├── posts │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ ├── index.blade.php │ │ │ └── show.blade.php │ │ │ ├── vendor │ │ │ └── .gitkeep │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ └── tests │ │ ├── ExampleTest.php │ │ └── TestCase.php ├── laravel-tutorial │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── app │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ └── Controller.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ ├── Task.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── migrations │ │ │ └── 2017_12_31_101017_create_tasks_table.php │ │ └── seeds │ │ │ └── DatabaseSeeder.php │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ └── robots.txt │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ └── components │ │ │ │ │ └── ExampleComponent.vue │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ ├── common │ │ │ └── errors.blade.php │ │ │ ├── layouts │ │ │ └── app.blade.php │ │ │ ├── tasks.blade.php │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ ├── webpack.mix.js │ └── yarn.lock ├── laravel-web-app-book │ ├── chapter5 │ │ └── README.md │ ├── eloquent │ │ ├── .gitignore │ │ ├── Book.php │ │ ├── composer.json │ │ ├── composer.lock │ │ ├── docker-compose.yml │ │ └── docker │ │ │ └── initdb.d │ │ │ └── schema.sql │ └── sample-app │ │ ├── .editorconfig │ │ ├── .env.example │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .styleci.yml │ │ ├── app │ │ ├── Author.php │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ ├── ResetPasswordController.php │ │ │ │ │ └── VerificationController.php │ │ │ │ └── Controller.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── Authenticate.php │ │ │ │ ├── CheckForMaintenanceMode.php │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ │ ├── artisan │ │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ ├── ModelFactory.php │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ └── 2019_07_21_130926_create_authors_table.php │ │ └── seeds │ │ │ ├── AuthorsSeeder.php │ │ │ └── DatabaseSeeder.php │ │ ├── docker-compose.yml │ │ ├── docker │ │ ├── database │ │ │ └── my.cnf │ │ ├── nginx │ │ │ └── default.conf │ │ └── web │ │ │ └── Dockerfile │ │ ├── package.json │ │ ├── phpunit.xml │ │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ └── app.js │ │ └── robots.txt │ │ ├── resources │ │ ├── js │ │ │ ├── app.js │ │ │ ├── bootstrap.js │ │ │ └── components │ │ │ │ └── ExampleComponent.vue │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ ├── sass │ │ │ ├── _variables.scss │ │ │ └── app.scss │ │ └── views │ │ │ └── welcome.blade.php │ │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ │ ├── server.php │ │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ ├── .gitignore │ │ │ │ └── data │ │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ │ ├── webpack.mix.js │ │ └── yarn.lock ├── login_with_slack │ ├── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── index.php │ └── templates │ │ └── index.html ├── me │ ├── .gitignore │ ├── Me.php │ ├── composer.json │ ├── composer.lock │ ├── phpunit.xml │ └── tests │ │ └── MeTest.php ├── mini-instagram │ ├── .env.example │ ├── .gitattributes │ ├── .gitignore │ ├── .php-version │ ├── README.md │ ├── app │ │ ├── Comment.php │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ └── ResetPasswordController.php │ │ │ │ ├── CommentsController.php │ │ │ │ ├── Controller.php │ │ │ │ └── PostsController.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Post.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ ├── artisan │ ├── bootstrap │ │ ├── app.php │ │ ├── autoload.php │ │ └── cache │ │ │ └── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── compile.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── ModelFactory.php │ │ ├── migrations │ │ │ ├── .gitkeep │ │ │ ├── 2016_12_31_105204_create_posts_table.php │ │ │ ├── 2016_12_31_143457_drop_image_column_from_posts_table.php │ │ │ ├── 2016_12_31_143657_add_image_path_column_from_posts_table.php │ │ │ ├── 2016_12_31_181133_create_comments_table.php │ │ │ ├── 2017_01_02_220726_add_likes_table.php │ │ │ ├── 2017_01_09_143738_add_like_count_column_from_posts_table.php │ │ │ └── 2017_01_09_145208_drop_table_likes.php │ │ └── seeds │ │ │ ├── .gitkeep │ │ │ └── DatabaseSeeder.php │ ├── gulpfile.js │ ├── package.json │ ├── phpunit.xml │ ├── public │ │ ├── .htaccess │ │ ├── css │ │ │ ├── app.css │ │ │ └── styles.css │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── js │ │ │ ├── all.js │ │ │ └── app.js │ │ ├── robots.txt │ │ └── web.config │ ├── resources │ │ ├── assets │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ ├── bootstrap.js │ │ │ │ ├── components │ │ │ │ │ └── Example.vue │ │ │ │ └── main.js │ │ │ └── sass │ │ │ │ ├── _variables.scss │ │ │ │ └── app.scss │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ └── views │ │ │ ├── errors │ │ │ └── 503.blade.php │ │ │ ├── layouts │ │ │ └── default.blade.php │ │ │ ├── posts │ │ │ ├── create.blade.php │ │ │ └── index.blade.php │ │ │ ├── vendor │ │ │ └── .gitkeep │ │ │ └── welcome.blade.php │ ├── routes │ │ ├── api.php │ │ ├── console.php │ │ └── web.php │ ├── server.php │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ └── tests │ │ ├── ExampleTest.php │ │ └── TestCase.php ├── namespace_group_use │ ├── Fuga.php │ ├── Hoge.php │ └── test.php ├── phinx │ ├── .gitignore │ ├── README.md │ ├── composer.json │ ├── composer.lock │ ├── db │ │ └── migrations │ │ │ ├── 20171114150219_add_users_table.php │ │ │ └── 20171114154718_add_articles_table.php │ ├── docker-compose.yml │ └── phinx.yml ├── phpmd │ ├── .gitignore │ ├── Hoge.php │ ├── composer.json │ └── composer.lock ├── redis │ ├── Dockerfile │ ├── docker-compose.yml │ └── redis.php ├── routing │ ├── FastRoute │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ └── index.php │ ├── Pux │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ └── index.php │ └── klein.php │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ └── index.php ├── scraping │ ├── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── goutte.php │ ├── querylist.php │ ├── rss-php.php │ └── simplepie.php ├── sql-injection-sample │ ├── README.md │ ├── docker-compose.yml │ ├── docker │ │ ├── database │ │ │ ├── initdb.d │ │ │ │ ├── 01_master.sql │ │ │ │ └── 02_fixtures.sql │ │ │ └── my.cnf │ │ └── web │ │ │ └── Dockerfile │ ├── index.php │ ├── index2.php │ └── login.php ├── store-session-in-mysql │ ├── Dockerfile.database │ ├── Dockerfile.php │ ├── docker-compose.yml │ ├── docker-php-ext-memcached.ini │ ├── index.php │ └── initdb.d │ │ ├── 01_innodb_memcached_config.sql │ │ └── 02_setup.sql └── vagrant_centos7_nginx_phpfpm │ ├── .gitignore │ ├── Gemfile │ └── Gemfile.lock ├── presentation ├── 201706_git_github.md ├── 201706_sh0.md ├── 20170707_vuejs_meetup.md ├── 20170805_ginza_ruby.md ├── 20170828_tech_conference_vue.md ├── 20170828_tech_conference_vue_2.md ├── 20171008_php_conf_2017.md ├── 20180609_laraVueNo5.md └── 20180609_laraVueNo5_2.md ├── qiita └── migration-tool-review │ ├── goose │ └── db │ │ ├── dbconf.yml │ │ └── migrations │ │ └── 20170611012402_CreatePosts.sql │ ├── migrate │ ├── 1_Create_Posts.up.sql │ └── 2_Create_Users.up.sql │ └── phpmig │ ├── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── migrations │ └── 20170610153605_AddPosts.php │ └── phpmig.php ├── react ├── react-redux-todo-app │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.css │ │ ├── App.js │ │ ├── components │ │ ├── InputField.js │ │ ├── Todo.js │ │ └── TodosList.js │ │ ├── index.css │ │ ├── index.js │ │ └── redux │ │ ├── action │ │ └── addTodo.action.js │ │ ├── reducer │ │ └── addTodo.reducer.js │ │ └── store.js ├── wordle-clone │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.css │ │ ├── App.js │ │ ├── components │ │ ├── Board │ │ │ ├── Board.js │ │ │ └── index.js │ │ ├── BoardContainer │ │ │ ├── BoardContainer.js │ │ │ └── index.js │ │ ├── GameKeyboard │ │ │ ├── GameKeyboard.js │ │ │ └── index.js │ │ ├── Header │ │ │ ├── Header.js │ │ │ └── index.js │ │ └── KeyboardButton │ │ │ ├── KeyboardButton.js │ │ │ └── index.js │ │ ├── index.css │ │ ├── index.js │ │ ├── redux │ │ ├── action │ │ │ └── keyboard.action.js │ │ ├── reducer │ │ │ └── woodle.reducer.js │ │ └── store.js │ │ └── reportWebVitals.js └── wordle-clone2 │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── postcss.config.js │ ├── src │ ├── App.css │ ├── App.test.tsx │ ├── App.tsx │ ├── favicon.svg │ ├── index.css │ ├── logo.svg │ ├── main.tsx │ ├── test │ │ ├── test-setup.ts │ │ └── test-utils.tsx │ └── vite-env.d.ts │ ├── tailwind.config.js │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── ruby ├── activesupport │ └── configuarable │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ └── configuarable.rb ├── e2etest │ ├── .gitignore │ ├── .rspec │ ├── .ruby-version │ ├── Gemfile │ ├── Gemfile.lock │ └── spec │ │ ├── features │ │ └── sample_spec.rb │ │ └── spec_helper.rb ├── grape │ ├── Gemfile │ ├── Gemfile.lock │ ├── app │ │ └── api.rb │ └── config.ru ├── metaprograming │ ├── blocks │ │ ├── ampersand.rb │ │ ├── methods.rb │ │ ├── proc_vs_lambda.rb │ │ ├── proc_vs_lambda_args.rb │ │ ├── redflag_1 │ │ │ ├── events.rb │ │ │ └── redflag.rb │ │ ├── redflag_2 │ │ │ ├── events.rb │ │ │ ├── flat_scope_1.rb │ │ │ ├── flat_scope_2.rb │ │ │ └── redflag.rb │ │ ├── redflag_3 │ │ │ ├── events.rb │ │ │ └── redflag.rb │ │ ├── redflag_4 │ │ │ ├── events.rb │ │ │ └── redflag.rb │ │ ├── redflag_5 │ │ │ ├── clean_room.rb │ │ │ ├── events.rb │ │ │ ├── instance_eval.rb │ │ │ └── redflag.rb │ │ └── unbound_methods.rb │ └── method_mising_responde_to_missing.rb ├── rails │ ├── demo_app │ │ ├── .bundle │ │ │ └── config │ │ ├── .gitignore │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ ├── application.js │ │ │ │ │ ├── microposts.js.coffee │ │ │ │ │ └── users.js.coffee │ │ │ │ └── stylesheets │ │ │ │ │ ├── application.css │ │ │ │ │ ├── microposts.css.scss │ │ │ │ │ ├── scaffolds.css.scss │ │ │ │ │ └── users.css.scss │ │ │ ├── controllers │ │ │ │ ├── .users_controller.rb.swp │ │ │ │ ├── application_controller.rb │ │ │ │ ├── concerns │ │ │ │ │ └── .keep │ │ │ │ ├── microposts_controller.rb │ │ │ │ └── users_controller.rb │ │ │ ├── helpers │ │ │ │ ├── application_helper.rb │ │ │ │ ├── microposts_helper.rb │ │ │ │ └── users_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ ├── concerns │ │ │ │ │ └── .keep │ │ │ │ ├── micropost.rb │ │ │ │ └── user.rb │ │ │ └── views │ │ │ │ ├── layouts │ │ │ │ └── application.html.erb │ │ │ │ ├── microposts │ │ │ │ ├── _form.html.erb │ │ │ │ ├── edit.html.erb │ │ │ │ ├── index.html.erb │ │ │ │ ├── index.json.jbuilder │ │ │ │ ├── new.html.erb │ │ │ │ ├── show.html.erb │ │ │ │ └── show.json.jbuilder │ │ │ │ └── users │ │ │ │ ├── _form.html.erb │ │ │ │ ├── edit.html.erb │ │ │ │ ├── index.html.erb │ │ │ │ ├── index.json.jbuilder │ │ │ │ ├── new.html.erb │ │ │ │ ├── show.html.erb │ │ │ │ └── show.json.jbuilder │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── secret_token.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ └── routes.rb │ │ ├── db │ │ │ ├── development.sqlite3 │ │ │ ├── migrate │ │ │ │ ├── 20140705092737_create_users.rb │ │ │ │ └── 20140705093840_create_microposts.rb │ │ │ ├── schema.rb │ │ │ └── seeds.rb │ │ ├── lib │ │ │ ├── assets │ │ │ │ └── .keep │ │ │ └── tasks │ │ │ │ └── .keep │ │ ├── log │ │ │ ├── .keep │ │ │ └── development.log │ │ ├── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ ├── favicon.ico │ │ │ └── robots.txt │ │ ├── test │ │ │ ├── controllers │ │ │ │ ├── .keep │ │ │ │ ├── microposts_controller_test.rb │ │ │ │ └── users_controller_test.rb │ │ │ ├── fixtures │ │ │ │ ├── .keep │ │ │ │ ├── microposts.yml │ │ │ │ └── users.yml │ │ │ ├── helpers │ │ │ │ ├── .keep │ │ │ │ ├── microposts_helper_test.rb │ │ │ │ └── users_helper_test.rb │ │ │ ├── integration │ │ │ │ └── .keep │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ ├── micropost_test.rb │ │ │ │ └── user_test.rb │ │ │ └── test_helper.rb │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ └── .keep │ ├── login_sample │ │ ├── .gitignore │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ ├── application.js │ │ │ │ │ └── home.js.coffee │ │ │ │ └── stylesheets │ │ │ │ │ ├── application.css │ │ │ │ │ └── home.css.scss │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ ├── concerns │ │ │ │ │ └── .keep │ │ │ │ └── home_controller.rb │ │ │ ├── helpers │ │ │ │ ├── application_helper.rb │ │ │ │ └── home_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ ├── concerns │ │ │ │ │ └── .keep │ │ │ │ └── user.rb │ │ │ └── views │ │ │ │ ├── devise │ │ │ │ ├── confirmations │ │ │ │ │ └── new.html.erb │ │ │ │ ├── mailer │ │ │ │ │ ├── confirmation_instructions.html.erb │ │ │ │ │ ├── reset_password_instructions.html.erb │ │ │ │ │ └── unlock_instructions.html.erb │ │ │ │ ├── passwords │ │ │ │ │ ├── edit.html.erb │ │ │ │ │ └── new.html.erb │ │ │ │ ├── registrations │ │ │ │ │ ├── edit.html.erb │ │ │ │ │ └── new.html.erb │ │ │ │ ├── sessions │ │ │ │ │ └── new.html.erb │ │ │ │ ├── shared │ │ │ │ │ └── _links.html.erb │ │ │ │ └── unlocks │ │ │ │ │ └── new.html.erb │ │ │ │ ├── home │ │ │ │ ├── index.html.erb │ │ │ │ └── show.html.erb │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ ├── rake │ │ │ └── spring │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── devise.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ ├── devise.en.yml │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── db │ │ │ ├── migrate │ │ │ │ └── 20150525145509_devise_create_users.rb │ │ │ ├── schema.rb │ │ │ └── seeds.rb │ │ ├── lib │ │ │ ├── assets │ │ │ │ └── .keep │ │ │ └── tasks │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ ├── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ ├── favicon.ico │ │ │ └── robots.txt │ │ ├── test │ │ │ ├── controllers │ │ │ │ ├── .keep │ │ │ │ └── home_controller_test.rb │ │ │ ├── fixtures │ │ │ │ ├── .keep │ │ │ │ └── users.yml │ │ │ ├── helpers │ │ │ │ ├── .keep │ │ │ │ └── home_helper_test.rb │ │ │ ├── integration │ │ │ │ └── .keep │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── user_test.rb │ │ │ └── test_helper.rb │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ └── .keep │ └── sample_app │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── Guardfile │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ ├── .keep │ │ │ │ └── rails.png │ │ │ ├── javascripts │ │ │ │ ├── application.js │ │ │ │ ├── sessions.js.coffee │ │ │ │ └── static_pages.js.coffee │ │ │ └── stylesheets │ │ │ │ ├── application.css │ │ │ │ ├── custom.css.scss │ │ │ │ ├── sessions.css.scss │ │ │ │ └── static_pages.css.scss │ │ ├── controllers │ │ │ ├── application_controller.rb │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ ├── sessions_controller.rb │ │ │ ├── static_pages_controller.rb │ │ │ └── users_controller.rb │ │ ├── helpers │ │ │ ├── application_helper.rb │ │ │ ├── sessions_helper.rb │ │ │ ├── static_pages_helper.rb │ │ │ └── users_helper.rb │ │ ├── mailers │ │ │ └── .keep │ │ ├── models │ │ │ ├── .keep │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ └── user.rb │ │ └── views │ │ │ ├── layouts │ │ │ ├── _footer.html.erb │ │ │ ├── _header.html.erb │ │ │ ├── _shim.html.erb │ │ │ └── application.html.erb │ │ │ ├── sessions │ │ │ └── new.html.erb │ │ │ ├── shared │ │ │ └── _error_messages.html.erb │ │ │ ├── static_pages │ │ │ ├── about.html.erb │ │ │ ├── contact.html.erb │ │ │ ├── help.html.erb │ │ │ └── home.html.erb │ │ │ └── users │ │ │ ├── new.html.erb │ │ │ └── show.html.erb │ │ ├── bin │ │ ├── bundle │ │ ├── rails │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── backtrace_silencers.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ ├── inflections.rb │ │ │ ├── mime_types.rb │ │ │ ├── secret_token.rb │ │ │ ├── session_store.rb │ │ │ └── wrap_parameters.rb │ │ ├── locales │ │ │ └── en.yml │ │ └── routes.rb │ │ ├── db │ │ ├── migrate │ │ │ ├── 20140706150504_create_users.rb │ │ │ ├── 20140706155257_add_password_digtest_to_users.rb │ │ │ └── 20140712090157_add_rememer_token_to_users.rb │ │ ├── schema.rb │ │ └── seeds.rb │ │ ├── lib │ │ ├── assets │ │ │ └── .keep │ │ └── tasks │ │ │ └── .keep │ │ ├── log │ │ └── .keep │ │ ├── public │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── favicon.ico │ │ └── robots.txt │ │ ├── spec │ │ ├── factories.rb │ │ ├── models │ │ │ └── user_spec.rb │ │ ├── requests │ │ │ ├── authenticate_pages_spec.rb │ │ │ ├── static_pages_spec.rb │ │ │ └── user_pages_spec.rb │ │ ├── spec_helper.rb │ │ └── support │ │ │ └── utilities.rb │ │ └── vendor │ │ └── assets │ │ ├── javascripts │ │ └── .keep │ │ └── stylesheets │ │ └── .keep ├── ranking-with-json │ ├── data.json │ └── json-parse.rb └── ranking-with-redis │ ├── Gemfile │ ├── Gemfile.lock │ ├── docker-compose.yml │ └── ranking.rb ├── security ├── csrf │ └── regex.php └── php-conf-okinawa-2019 │ └── samples │ ├── csrf │ └── index.php │ ├── directory-traversal │ ├── README.md │ ├── index.php │ ├── safe.php │ ├── safe2.php │ └── sample.txt │ ├── docker-compose.yml │ ├── docker │ ├── database │ │ ├── initdb.d │ │ │ ├── 01_master.sql │ │ │ └── 02_fixtures.sql │ │ └── my.cnf │ └── web │ │ └── Dockerfile │ ├── os-command-injection │ ├── index.php │ ├── passthru.php │ ├── popen.php │ ├── sample.php │ └── shell_exec.php │ ├── sql-injection │ └── index.php │ └── xss │ ├── confirm.php │ └── index.php ├── slack └── interactive-message │ ├── .gitignore │ ├── config.sample.php │ ├── incoming-message.php │ ├── message-menus-by-incoming-message.php │ ├── message-menus-by-incoming-message1.php │ ├── message-menus-by-incoming-message2.php │ ├── message-menus-by-incoming-message3.php │ ├── message-menus-by-incoming-message4.php │ └── message-menus-by-incoming-message5.php ├── training ├── learning-vue-js-by-developing-nippo │ ├── README.md │ ├── goal │ │ └── index.html │ ├── lesson │ │ ├── 01.html │ │ ├── 02.html │ │ ├── 03.html │ │ ├── 04.html │ │ ├── 05.html │ │ ├── 06.html │ │ ├── 07.html │ │ └── 08.html │ └── template │ │ └── index.html └── learning-vue-js-by-developing-nippo02 │ ├── README.md │ ├── goal │ └── index.html │ ├── lesson │ ├── 01.html │ ├── 02.html │ ├── 03.html │ ├── 04.html │ ├── 05.html │ ├── 06.html │ ├── 07.html │ └── 08.html │ └── template │ └── index.html └── typescript └── udemy ├── .gitignore └── understanding-typescript-jp ├── section10 ├── .gitignore ├── app.css ├── index.html ├── package-lock.json ├── package.json ├── src │ ├── app.ts │ ├── components │ │ ├── base-component.ts │ │ ├── project-input.ts │ │ ├── project-item.ts │ │ └── project-list.ts │ ├── decorators │ │ └── autobind.ts │ ├── models │ │ ├── drag-drop.ts │ │ └── project.ts │ ├── state │ │ └── project-state.ts │ └── util │ │ └── validation.ts └── tsconfig.json ├── section11 ├── .gitignore ├── app.css ├── index.html ├── package-lock.json ├── package.json ├── src │ ├── app.ts │ ├── components │ │ ├── base-component.ts │ │ ├── project-input.ts │ │ ├── project-item.ts │ │ └── project-list.ts │ ├── decorators │ │ └── autobind.ts │ ├── models │ │ ├── drag-drop.ts │ │ └── project.ts │ ├── state │ │ └── project-state.ts │ └── util │ │ └── validation.ts ├── tsconfig.json ├── webpack.config.js └── webpack.config.prod.js ├── section1_2_3 ├── app.ts ├── basic.ts ├── funciton.ts ├── index.html ├── object-array.ts ├── package-lock.json ├── package.json ├── tsconfig.json ├── union-alias.ts └── unknown-never.ts ├── section4 ├── .gitignore ├── dist │ └── app.js ├── index.html ├── package-lock.json ├── package.json ├── src │ └── app.ts └── tsconfig.json ├── section5 ├── .gitignore ├── dist │ ├── app copy.js │ ├── app.js │ └── classes.js ├── index.html ├── package-lock.json ├── package.json ├── src │ ├── app.ts │ └── classes.ts └── tsconfig.json ├── section6 ├── .gitignore ├── dist │ ├── app.js │ └── classes.js ├── index.html ├── package-lock.json ├── package.json ├── src │ └── app.ts ├── tsconfig.json └── yarn.lock ├── section7 ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── src │ └── app.ts └── tsconfig.json ├── section8 ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── src │ └── app.ts └── tsconfig.json └── section9 ├── .gitignore ├── app.css ├── dist └── app.js ├── index.html ├── package.json ├── src └── app.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea/ 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | hypermkt 2 | ======== 3 | 4 | This is my playground. 5 | -------------------------------------------------------------------------------- /atcoder/ABC081A.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/atcoder/ABC081A.rb -------------------------------------------------------------------------------- /atcoder/abc086a_product.rb: -------------------------------------------------------------------------------- 1 | a, b = gets.split.map(&:to_i) 2 | r = a * b 3 | print r.even? ? 'Even' : 'Odd' 4 | -------------------------------------------------------------------------------- /atcoder/practive001.rb: -------------------------------------------------------------------------------- 1 | a = gets.to_i 2 | b, c = gets.split.map(&:to_i) 3 | s = gets.chomp 4 | 5 | print "#{a+b+c} #{s}\n" 6 | -------------------------------------------------------------------------------- /database/mysql/pref-city-company-tree/README.md: -------------------------------------------------------------------------------- 1 | ## Commands 2 | 3 | ```sh 4 | $ docker-compose exec database mysql -uroot -Dtest 5 | ``` -------------------------------------------------------------------------------- /docker/nginx-php-fpm-postgres/docker/Dockerfile.nginx: -------------------------------------------------------------------------------- 1 | FROM nginx:1.13.0 2 | 3 | COPY nginx/default.conf /etc/nginx/conf.d/ 4 | 5 | EXPOSE 80 6 | -------------------------------------------------------------------------------- /docker/nginx-php-fpm-postgres/docker/Dockerfile.php-fpm: -------------------------------------------------------------------------------- 1 | FROM php:7.1.4-fpm 2 | 3 | RUN apt-get -qq update \ 4 | && apt-get -qq install libxml2-dev libpq-dev \ 5 | && docker-php-ext-install pdo xml pgsql 6 | 7 | COPY php-fpm/www.conf /etc/php-fpm.d/www.conf 8 | -------------------------------------------------------------------------------- /docker/nginx-php-fpm-postgres/docker/Dockerfile.postgres: -------------------------------------------------------------------------------- 1 | FROM postgres:9.6.2 2 | 3 | # http://docs.docker.jp/engine/reference/builder.html#env 4 | ENV POSTGRES_DB=db_test\ 5 | POSTGRES_USER=db_user\ 6 | POSTGRES_PASSWORD=password 7 | 8 | EXPOSE 5432 9 | -------------------------------------------------------------------------------- /docker/nginx-php-fpm-postgres/public/index.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docker/nginx_php_fpm/rebuild.sh: -------------------------------------------------------------------------------- 1 | docker-compose down 2 | docker-compose build --no-cache 3 | docker-compose up 4 | -------------------------------------------------------------------------------- /docker/php5.4/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | 3 | services: 4 | php54: 5 | image: php:5.4-apache 6 | -------------------------------------------------------------------------------- /docker/php53_apache/.gitignore: -------------------------------------------------------------------------------- 1 | cakephp-1.3.21 2 | -------------------------------------------------------------------------------- /docker/php53_apache/README.md: -------------------------------------------------------------------------------- 1 | # PHP5.3 + Apache on Ubuntu 2 | 3 | ## Docker build 4 | ```sh 5 | $ docker build ./ -t php53-apache 6 | ``` 7 | -------------------------------------------------------------------------------- /docker/php53_apache/php/imagick.ini: -------------------------------------------------------------------------------- 1 | extension=imagick.so 2 | -------------------------------------------------------------------------------- /docker/php53_apache/php/memcache.ini: -------------------------------------------------------------------------------- 1 | extension=memcache.so 2 | -------------------------------------------------------------------------------- /docker/php53_apache/php/ssh2.ini: -------------------------------------------------------------------------------- 1 | extension=ssh2.so 2 | -------------------------------------------------------------------------------- /docker/php53_apache/run: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND 5 | -------------------------------------------------------------------------------- /docker/php53_apache/web/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM hypermkt/php53-apache 2 | 3 | WORKDIR /var/www/html 4 | 5 | COPY ./apache2/sites-available/default /etc/apache2/sites-available/default 6 | -------------------------------------------------------------------------------- /go/interpriter/.envrc: -------------------------------------------------------------------------------- 1 | export GOPATH=$(pwd) 2 | -------------------------------------------------------------------------------- /go/interpriter/README.md: -------------------------------------------------------------------------------- 1 | # go interpriter 2 | 3 | ## Setup 4 | 5 | ``` 6 | $ export GOPATH=$(pwd) 7 | ``` 8 | -------------------------------------------------------------------------------- /go/tour/README.md: -------------------------------------------------------------------------------- 1 | # A Tour of Go 2 | 3 | * [Welcome to a tour of Go](https://go-tour-jp.appspot.com/list) 4 | * Now is at [here](https://go-tour-jp.appspot.com/moretypes/12) 5 | 6 | -------------------------------------------------------------------------------- /go/tour/array.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | var a [2]string 7 | a[0] = "Hello" 8 | a[1] = "World" 9 | 10 | fmt.Println(a[0], a[1]) 11 | fmt.Println(a) 12 | 13 | primes := [6]int{2, 3, 5, 7, 11, 13} 14 | fmt.Println(primes) 15 | } 16 | -------------------------------------------------------------------------------- /go/tour/constants.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | const Pi = 3.14 6 | 7 | func main() { 8 | const World = "世界" 9 | fmt.Println("Hello", World) 10 | fmt.Println("Happy", Pi, "Day") 11 | 12 | const Truth = true 13 | fmt.Println("Go rules?", Truth) 14 | } 15 | -------------------------------------------------------------------------------- /go/tour/defer-multi.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func main() { 8 | fmt.Println("counting") 9 | 10 | for i := 0; i < 10; i++ { 11 | defer fmt.Println(i) 12 | } 13 | 14 | fmt.Println("done") 15 | } 16 | -------------------------------------------------------------------------------- /go/tour/defer.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func main() { 8 | defer fmt.Println("world") 9 | fmt.Println("hello") 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/exported-names.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math" 6 | ) 7 | 8 | func main() { 9 | fmt.Println(math.Pi) 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/for-continued.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | sum := 1 7 | for sum < 1000 { 8 | sum += sum 9 | } 10 | fmt.Println(sum) 11 | } 12 | -------------------------------------------------------------------------------- /go/tour/for-is-gos-while.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func main() { 8 | sum := 1 9 | for sum < 1000 { 10 | sum += sum 11 | } 12 | fmt.Println(sum) 13 | } 14 | -------------------------------------------------------------------------------- /go/tour/for.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func main() { 8 | sum := 0 9 | for i := 0; i < 10; i++ { 10 | sum += i 11 | } 12 | fmt.Println(sum) 13 | } 14 | -------------------------------------------------------------------------------- /go/tour/forever.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | for { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /go/tour/functions-continued.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func add(x, y int) int { 6 | return x + y 7 | } 8 | 9 | func main() { 10 | fmt.Println(add(42, 13)) 11 | } 12 | -------------------------------------------------------------------------------- /go/tour/functions.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func add(x int, y int) int { 6 | return x + y 7 | } 8 | 9 | func main() { 10 | fmt.Println(add(42, 13)) 11 | } 12 | -------------------------------------------------------------------------------- /go/tour/if-with-a-short-statement.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math" 6 | ) 7 | 8 | func pow(x, n, lim float64) float64 { 9 | if v := math.Pow(x, n); v < lim { 10 | return v 11 | } 12 | return lim 13 | } 14 | 15 | func main() { 16 | fmt.Println( 17 | pow(3, 2, 100), 18 | pow(3, 3, 20), 19 | ) 20 | } 21 | -------------------------------------------------------------------------------- /go/tour/if.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math" 6 | ) 7 | 8 | func sqrt(x float64) string { 9 | if x < 0 { 10 | return sqrt(-x) + "i" 11 | } 12 | return fmt.Sprint(math.Sqrt(x)) 13 | } 14 | 15 | func main() { 16 | fmt.Println(sqrt(2), sqrt(-4)) 17 | } 18 | -------------------------------------------------------------------------------- /go/tour/imports.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | import "math" 5 | 6 | func main() { 7 | fmt.Printf("Now you have %g problems.", math.Sqrt(7)) 8 | } 9 | -------------------------------------------------------------------------------- /go/tour/multiple-results.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func swap(x, y string) (string, string) { 6 | return y, x 7 | } 8 | 9 | func main() { 10 | a, b := swap("hello", "world") 11 | fmt.Println(a, b) 12 | } 13 | -------------------------------------------------------------------------------- /go/tour/named-resuls.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func split(sum int) (x, y int) { 6 | x = sum * 4 / 9 7 | y = sum - x 8 | return 9 | } 10 | 11 | func main() { 12 | fmt.Println(split(17)) 13 | } 14 | -------------------------------------------------------------------------------- /go/tour/packages.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math/rand" 6 | ) 7 | 8 | func main() { 9 | fmt.Println("My favorite number is", rand.Intn(10)) 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/pointers.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | i, j := 42, 2701 7 | 8 | p := &i 9 | fmt.Println(*p) 10 | *p = 21 11 | fmt.Println(i) 12 | 13 | p = &j 14 | *p = *p / 37 15 | fmt.Println(j) 16 | } 17 | -------------------------------------------------------------------------------- /go/tour/short-variable-declations.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | var i, j int = 1, 2 7 | k := 3 8 | c, python, java := true, false, "no!" 9 | fmt.Println(i, j, k, c, python, java) 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/slice-bounds.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | s := []int{2, 3, 5, 7, 11, 13} 7 | 8 | s = s[1:3] 9 | fmt.Println(s) 10 | 11 | s = s[:2] 12 | fmt.Println(s) 13 | 14 | s = s[1:] 15 | fmt.Println(s) 16 | } 17 | -------------------------------------------------------------------------------- /go/tour/slices-pointers.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | names := [4]string{ 7 | "John", "Paul", "Geoge", "Ring", 8 | } 9 | fmt.Println(names) 10 | 11 | a := names[0:2] 12 | b := names[1:3] 13 | fmt.Println(a, b) 14 | 15 | b[0] = "xxx" 16 | fmt.Println(a, b) 17 | fmt.Println(names) 18 | } 19 | -------------------------------------------------------------------------------- /go/tour/slices.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | primes := [6]int{2, 3, 5, 7, 11, 13} 7 | 8 | var s []int = primes[1:4] 9 | fmt.Println(s) 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/struct-fields.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | type Vertex struct { 6 | X int 7 | Y int 8 | } 9 | 10 | func main() { 11 | v := Vertex{1, 2} 12 | v.X = 4 13 | fmt.Println(v.X) 14 | } 15 | -------------------------------------------------------------------------------- /go/tour/struct-literals.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | type Vertex struct { 6 | X, Y int 7 | } 8 | 9 | var ( 10 | v1 = Vertex{1, 2} 11 | v2 = Vertex{X: 1} 12 | v3 = Vertex{} 13 | p = &Vertex{1, 2} 14 | ) 15 | 16 | func main() { 17 | fmt.Println(v1, p, v2, v3) 18 | } 19 | -------------------------------------------------------------------------------- /go/tour/struct-pointers.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | type Vertex struct { 6 | X int 7 | Y int 8 | } 9 | 10 | func main() { 11 | v := Vertex{1, 2} 12 | p := &v 13 | p.X = 1e9 14 | fmt.Println(v) 15 | } 16 | -------------------------------------------------------------------------------- /go/tour/structs.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | type Vertex struct { 6 | X int 7 | Y int 8 | } 9 | 10 | func main() { 11 | fmt.Println(Vertex{1, 2}) 12 | } 13 | -------------------------------------------------------------------------------- /go/tour/switch-with-no-condition.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "time" 6 | ) 7 | 8 | func main() { 9 | t := time.Now() 10 | switch { 11 | case t.Hour() < 12: 12 | fmt.Println("Good morning!") 13 | case t.Hour() < 17: 14 | fmt.Println("Good afternoon!") 15 | default: 16 | fmt.Println("Good evening!") 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /go/tour/switch.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "runtime" 6 | ) 7 | 8 | func main() { 9 | fmt.Print("Go runs on ") 10 | switch os := runtime.GOOS; os { 11 | case "darwin": 12 | fmt.Println("OS X.") 13 | case "linux": 14 | fmt.Println("Linux.") 15 | default: 16 | fmt.Println("%s.", os) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /go/tour/type-conversions.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "math" 6 | ) 7 | 8 | func main() { 9 | var x, y int = 3, 4 10 | var f float64 = math.Sqrt(float64(x*x + y*y)) 11 | var z uint = uint(f) 12 | fmt.Println(x, y, z) 13 | } 14 | -------------------------------------------------------------------------------- /go/tour/type-inference.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | v := 3.142 // change me! 7 | fmt.Printf("v is of type %T\n", v) 8 | } 9 | -------------------------------------------------------------------------------- /go/tour/variables-with-initializers.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | var i, j int = 1, 2 6 | 7 | func main() { 8 | var c, python, java = true, false, "no!" 9 | fmt.Println(i, j, c, python, java) 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/variables.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | var c, python, java bool 6 | 7 | func main() { 8 | var i int 9 | fmt.Println(i, c, python, java) 10 | } 11 | -------------------------------------------------------------------------------- /go/tour/zero.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | var i int 7 | var f float64 8 | var b bool 9 | var s string 10 | fmt.Printf("%v %v %v %q\n", i, f, b, s) 11 | } 12 | -------------------------------------------------------------------------------- /iOS/CountUp/CountUp/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bg.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bg@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bubble.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bubble@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_bubble@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_circle.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_circle@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_circle@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_pause.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_pause@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_pause@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_play.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_play@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_play@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_player_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_player_bg.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_player_bg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_player_bg@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_bg.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_bg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_bg@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_blue.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_blue@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwift/DKAudioPlayerSwift/player_progress_blue@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/first.imageset/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/first.imageset/first.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/first.imageset/first@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/first.imageset/first@2x.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/second.imageset/second.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/second.imageset/second.png -------------------------------------------------------------------------------- /iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/second.imageset/second@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/DKAudioPlayerSwiftVersion/DKAudioPlayerSwiftVersion/Images.xcassets/second.imageset/second@2x.png -------------------------------------------------------------------------------- /iOS/Design/Design.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/Design/Design.xcodeproj/project.xcworkspace/xcuserdata/hypermkt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Design/Design.xcodeproj/project.xcworkspace/xcuserdata/hypermkt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /iOS/Design/Design/FooterView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FooterView.swift 3 | // Design 4 | // 5 | // Created by 千葉 誠 on 2014/12/08. 6 | // Copyright (c) 2014年 千葉 誠. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | class FooterView: UITableViewHeaderFooterView { 13 | 14 | } -------------------------------------------------------------------------------- /iOS/Design/Design/HeaderView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HeaderView.swift 3 | // Design 4 | // 5 | // Created by 千葉 誠 on 2014/12/08. 6 | // Copyright (c) 2014年 千葉 誠. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | class HeaderView: UITableViewHeaderFooterView { 13 | 14 | } -------------------------------------------------------------------------------- /iOS/Design/Design/Images.xcassets/line.imageset/LineTimeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Design/Design/Images.xcassets/line.imageset/LineTimeline.png -------------------------------------------------------------------------------- /iOS/Design/Design/Images.xcassets/mysql_logo.imageset/mysql_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Design/Design/Images.xcassets/mysql_logo.imageset/mysql_logo.png -------------------------------------------------------------------------------- /iOS/Design/Design/TopHeaderView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TopHeaderView.swift 3 | // Design 4 | // 5 | // Created by 千葉 誠 on 2014/12/09. 6 | // Copyright (c) 2014年 千葉 誠. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | class TopHeaderView: UITableViewCell { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/dash0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/dash0.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/dash1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/dash1.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/dash2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/dash2.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/dash3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/dash3.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/dash4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/dash4.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/dash5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/dash5.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/start.png -------------------------------------------------------------------------------- /iOS/Swift4Manga1/Swift4Manga1/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift4Manga1/Swift4Manga1/stop.png -------------------------------------------------------------------------------- /iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/background.imageset/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/background.imageset/background.jpg -------------------------------------------------------------------------------- /iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/beach.imageset/beach.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/beach.imageset/beach.jpg -------------------------------------------------------------------------------- /iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/done.imageset/done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift5ImageView/Swift5ImageView/Assets.xcassets/done.imageset/done.png -------------------------------------------------------------------------------- /iOS/Swift5TableView1/Swift5TableView1/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS/Swift5TableView1/Swift5TableView1/Assets.xcassets/beach.imageset/beach.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift5TableView1/Swift5TableView1/Assets.xcassets/beach.imageset/beach.jpg -------------------------------------------------------------------------------- /iOS/Swift5TableView1/Swift5TableView1/Assets.xcassets/plus.imageset/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/Swift5TableView1/Swift5TableView1/Assets.xcassets/plus.imageset/plus.png -------------------------------------------------------------------------------- /iOS/SwiftButton1/SwiftButton1/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS/SwiftButton1/SwiftButton1/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/SwiftButton1/SwiftButton1/key.png -------------------------------------------------------------------------------- /iOS/SwiftButton1/SwiftButton1/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/SwiftButton1/SwiftButton1/setting.png -------------------------------------------------------------------------------- /iOS/SwiftStart/SwiftStart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /iOS/TableViewControllerTest/TableViewControllerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/TableViewControllerTest/TableViewControllerTest/Images.xcassets/aws.imageset/amazon-web-services-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/TableViewControllerTest/TableViewControllerTest/Images.xcassets/aws.imageset/amazon-web-services-logo-large.png -------------------------------------------------------------------------------- /iOS/TableViewOnScrollView/TableViewOnScrollView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/TableViewOnScrollView/TableViewOnScrollView/Images.xcassets/aws.imageset/amazon-web-services-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/TableViewOnScrollView/TableViewOnScrollView/Images.xcassets/aws.imageset/amazon-web-services-logo-large.png -------------------------------------------------------------------------------- /iOS/TableViewTest/TableViewTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/TableViewTest/TableViewTest.xcodeproj/project.xcworkspace/xcuserdata/hypermkt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/TableViewTest/TableViewTest.xcodeproj/project.xcworkspace/xcuserdata/hypermkt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /iOS/TableViewTest2/TableViewTest2.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iOS/TableViewTest2/TableViewTest2.xcodeproj/project.xcworkspace/xcuserdata/hypermkt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/TableViewTest2/TableViewTest2.xcodeproj/project.xcworkspace/xcuserdata/hypermkt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /iOS/TableViewTest2/TableViewTest2/Images.xcassets/aws.imageset/amazon-web-services-logo-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/iOS/TableViewTest2/TableViewTest2/Images.xcassets/aws.imageset/amazon-web-services-logo-large.png -------------------------------------------------------------------------------- /infra/docker-puppet-nginx-php-fpm/.dockerignore: -------------------------------------------------------------------------------- 1 | docker-compose.yml 2 | Dockerfile 3 | /vendor 4 | .DS_Store 5 | .git 6 | .librarian 7 | .bundle 8 | -------------------------------------------------------------------------------- /infra/docker-puppet-nginx-php-fpm/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | RUN rpm -Uvh https://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm \ 4 | && yum install -y puppet-agent \ 5 | && yum install -y ruby \ 6 | && gem install bundler -N 7 | 8 | ENV PATH /opt/puppetlabs/bin:$PATH 9 | -------------------------------------------------------------------------------- /infra/docker-puppet-nginx-php-fpm/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'puppet' 4 | gem 'librarian-puppet' 5 | -------------------------------------------------------------------------------- /infra/docker-puppet-nginx-php-fpm/Puppetfile: -------------------------------------------------------------------------------- 1 | forge 'https://forgeapi.puppetlabs.com' 2 | 3 | mod 'puppet-nginx' 4 | mod 'stahnma-epel', '1.3.0' 5 | mod 'hfm-remi', '1.7.0' 6 | -------------------------------------------------------------------------------- /infra/docker-puppet-nginx-php-fpm/environment.conf: -------------------------------------------------------------------------------- 1 | manifest = manifests 2 | modulepath = modules:roles:vendor/modules 3 | -------------------------------------------------------------------------------- /infra/k8s-nginx-php-fpm-mysql/README.md: -------------------------------------------------------------------------------- 1 | # kubernetes-nginx-php-fpm-mysql 2 | 3 | ```sh 4 | $ docker-compose up 5 | ``` 6 | -------------------------------------------------------------------------------- /infra/k8s-nginx-php-fpm-mysql/database/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8 2 | -------------------------------------------------------------------------------- /infra/k8s-nginx-php-fpm-mysql/nginx/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nginx:latest 2 | 3 | COPY site.conf /etc/nginx/conf.d/default.conf 4 | 5 | EXPOSE 80 6 | -------------------------------------------------------------------------------- /infra/k8s-nginx-php-fpm-mysql/php/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-fpm 2 | COPY index.php /code/ 3 | 4 | EXPOSE 9000 5 | -------------------------------------------------------------------------------- /infra/k8s-nginx-php-fpm-mysql/php/index.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /infra/kvm/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant/ 2 | -------------------------------------------------------------------------------- /infra/kvm/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | host: 4 | build: 5 | context: ./docker 6 | dockerfile: Dockerfile 7 | privileged: true 8 | -------------------------------------------------------------------------------- /infra/kvm/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | CMD ["/usr/sbin/init"] 4 | -------------------------------------------------------------------------------- /infra/puppet-apache/.gitignore: -------------------------------------------------------------------------------- 1 | .tmp/ 2 | .bundle/ 3 | .librarian/ 4 | vendor/ 5 | -------------------------------------------------------------------------------- /infra/puppet-apache/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'puppet', '~> 5.0' 4 | gem 'librarian-puppet' 5 | -------------------------------------------------------------------------------- /infra/puppet-apache/Puppetfile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | forge "https://forgeapi.puppetlabs.com" 4 | 5 | mod 'puppetlabs-puppet_agent' 6 | 7 | mod 'puppetlabs-apache' 8 | 9 | -------------------------------------------------------------------------------- /infra/puppet-apache/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | web: 4 | build: 5 | context: ./docker 6 | dockerfile: Dockerfile 7 | volumes: 8 | - .:/etc/puppetlabs/code/environments/production 9 | privileged: true 10 | -------------------------------------------------------------------------------- /infra/puppet-apache/docker/hiera.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | version: 5 3 | defaults: 4 | datadir: hieradata 5 | data_hash: yaml_data 6 | 7 | hierarchy: 8 | - name: "Common data" 9 | path: "common.yaml" 10 | -------------------------------------------------------------------------------- /infra/puppet-apache/hiera.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | version: 5 3 | defaults: 4 | datadir: hieradata 5 | data_hash: yaml_data 6 | 7 | hierarchy: 8 | - name: "Common data" 9 | path: "common.yaml" 10 | -------------------------------------------------------------------------------- /infra/puppet-apache/hieradata/common.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | apache::listen: 80 4 | apache::service_restart: 'systemctl reload httpd' 5 | -------------------------------------------------------------------------------- /infra/puppet-apache/modules/web/files/php.ini: -------------------------------------------------------------------------------- 1 | display_errors = On -------------------------------------------------------------------------------- /infra/puppet-tutorial/hello_world.pp: -------------------------------------------------------------------------------- 1 | notice("hello world") 2 | -------------------------------------------------------------------------------- /infra/puppet-tutorial/modules/nginx/templates/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello, <%= @target %>! -------------------------------------------------------------------------------- /infra/puppet-tutorial/modules/nginx/templates/my.conf.erb: -------------------------------------------------------------------------------- 1 | server { 2 | listen <%= @port %>; 3 | server_name localhost; 4 | 5 | location / { 6 | root /usr/share/nginx/html; 7 | index index.html; 8 | } 9 | } -------------------------------------------------------------------------------- /infra/puppet-tutorial/zsh.pp: -------------------------------------------------------------------------------- 1 | package { 'zsh': 2 | ensure => installed, 3 | } 4 | -------------------------------------------------------------------------------- /infra/stns-basic/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | server: 4 | build: 5 | context: ./docker 6 | dockerfile: Dockerfile.server 7 | privileged: true 8 | client: 9 | build: 10 | context: ./docker 11 | dockerfile: Dockerfile.client 12 | privileged: true 13 | -------------------------------------------------------------------------------- /infra/stns-basic/docker/Dockerfile.server: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | RUN yum install -y -q sudo vim tree 4 | RUN curl -fsSL https://repo.stns.jp/scripts/yum-repo.sh | sh 5 | RUN yum install -y -q stns-v2 libnss-stns-v2 6 | 7 | ADD server/stns.conf /etc/stns/server/stns.conf 8 | 9 | CMD ["/usr/sbin/init"] 10 | -------------------------------------------------------------------------------- /infra/terraform/ec2/.gitignore: -------------------------------------------------------------------------------- 1 | **/.terraform/* 2 | terraform.tfstate.info 3 | terraform.tfstate.backup 4 | terraform.tfvars 5 | -------------------------------------------------------------------------------- /infra/terraform/iam/.gitignore: -------------------------------------------------------------------------------- 1 | **/.terraform/* 2 | terraform.tfstate.info 3 | terraform.tfstate.backup 4 | terraform.tfvars 5 | -------------------------------------------------------------------------------- /infra/web-ops/.dockerignore: -------------------------------------------------------------------------------- 1 | docker-compose.yml 2 | Dockerfile 3 | /vendor 4 | .DS_Store 5 | .git 6 | .librarian 7 | .bundle 8 | -------------------------------------------------------------------------------- /infra/web-ops/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM asuforce/puppet 2 | 3 | RUN apt-get update -qq \ 4 | && apt-get install -qq git 5 | 6 | ADD . /etc/puppet 7 | 8 | WORKDIR /etc/puppet 9 | RUN bundle install --path vendor/bundle 10 | RUN bundle exec librarian-puppet install 11 | -------------------------------------------------------------------------------- /infra/web-ops/Dockerfile-agent: -------------------------------------------------------------------------------- 1 | FROM asuforce/puppet 2 | 3 | RUN apt-get update -qq 4 | -------------------------------------------------------------------------------- /infra/web-ops/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'puppet' 4 | gem 'librarian-puppet' 5 | -------------------------------------------------------------------------------- /infra/web-ops/Puppetfile: -------------------------------------------------------------------------------- 1 | forge 'https://forgeapi.puppetlabs.com' 2 | 3 | mod 'puppet-nginx' 4 | -------------------------------------------------------------------------------- /javascript/axios-unit-test/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | 3 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/README.md: -------------------------------------------------------------------------------- 1 | ```sh 2 | npm init 3 | ``` 4 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/dest/all-40c53c58fd.css: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/dest/all.css: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/dest/rev-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "all.css": "all-5da8389f2f.css" 3 | } -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/src/hoge.css: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | c 4 | age 5 | hoge 6 | -------------------------------------------------------------------------------- /javascript/css-rev-auto-change/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /javascript/dotinstall/basic_angularjs/myscript.js: -------------------------------------------------------------------------------- 1 | var sampleApp = angular.module('sampleApp', []); 2 | sampleApp.controller('Sample', function($scope) { 3 | $scope.users = [ 4 | {"name": "taguchi", "score": 55.22}, 5 | {"name": "tanaka", "score": 38.22}, 6 | {"name": "yamada", "score": 11.22}, 7 | ]; 8 | }); 9 | -------------------------------------------------------------------------------- /javascript/dotinstall/basic_gulp/.gitignore: -------------------------------------------------------------------------------- 1 | dest/* 2 | node_modules/* 3 | bower_components/* 4 | !empty 5 | -------------------------------------------------------------------------------- /javascript/dotinstall/basic_gulp/bower_components/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/dotinstall/basic_gulp/bower_components/empty -------------------------------------------------------------------------------- /javascript/dotinstall/basic_gulp/dest/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/dotinstall/basic_gulp/dest/empty -------------------------------------------------------------------------------- /javascript/dotinstall/basic_gulp/node_modules/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/dotinstall/basic_gulp/node_modules/empty -------------------------------------------------------------------------------- /javascript/dotinstall/basic_gulp/src/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/dotinstall/basic_gulp/src/img/logo.png -------------------------------------------------------------------------------- /javascript/dotinstall/basic_gulp/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello gulp 4 | 5 | 6 | -------------------------------------------------------------------------------- /javascript/hono-diary/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .wrangler 4 | .dev.vars 5 | 6 | # Change them to your taste: 7 | package-lock.json 8 | yarn.lock 9 | pnpm-lock.yaml 10 | bun.lockb -------------------------------------------------------------------------------- /javascript/hono-diary/README.md: -------------------------------------------------------------------------------- 1 | ``` 2 | npm install 3 | npm run dev 4 | ``` 5 | 6 | ``` 7 | npm run deploy 8 | ``` 9 | -------------------------------------------------------------------------------- /javascript/hono-diary/src/index.ts: -------------------------------------------------------------------------------- 1 | import { Hono } from 'hono' 2 | 3 | const app = new Hono() 4 | 5 | app.get('/', (c) => { 6 | return c.text('Hello Hono!') 7 | }) 8 | 9 | export default app 10 | -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/beach.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/beach.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/sea.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/sea.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/self.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/self.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/fast-site/src/assets/sunset.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/fast-site/src/scripts/main.js: -------------------------------------------------------------------------------- 1 | require('../styles/bulma.css'); 2 | require('../styles/main.css'); 3 | 4 | const $ = require('jquery'); 5 | 6 | $(function() { 7 | $('.title').html('

My Portfolio

'); 8 | }); 9 | -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/beach.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/beach.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/sea.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/sea.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/self.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/self.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/pagespeed-tuning-with-webpack/slow-site/src/assets/sunset.jpg -------------------------------------------------------------------------------- /javascript/pagespeed-tuning-with-webpack/slow-site/src/scripts/main.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('.title').html('

My Portfolio

'); 3 | }); -------------------------------------------------------------------------------- /javascript/phpcon2016/binding/main.js: -------------------------------------------------------------------------------- 1 | // main.js 2 | new Vue({ 3 | // 対象エレメントを指定します
この中がVue.jsの対象範囲となる
4 | el: '#app', 5 | // Vue インスタンスのためのデータオブジェクト 6 | data: { 7 | message: 'Hello PHPカンファレンス2016!' 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /javascript/phpcon2016/browserify/package-fail.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "browserify -e src/js/main.js -o public/app.js" 4 | }, 5 | "dependencies": { 6 | "vue": "^2.0.3" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /javascript/phpcon2016/browserify/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
9 | {{ message }} 10 |
11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /javascript/phpcon2016/browserify/src/js/main.js: -------------------------------------------------------------------------------- 1 | var Vue = require('vue'); 2 | 3 | new Vue({ 4 | el: '#app', 5 | data: { 6 | message: 'Hello PHP Confference 2016!' 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /javascript/phpcon2016/class-and-style-binding/main.js: -------------------------------------------------------------------------------- 1 | // main.js 2 | new Vue({ 3 | el: '#app', 4 | data: { 5 | isEvening: false 6 | } 7 | }); 8 | -------------------------------------------------------------------------------- /javascript/phpcon2016/conditional-rendering/main.js: -------------------------------------------------------------------------------- 1 | // main.js 2 | new Vue({ 3 | el: '#app', 4 | data: { 5 | isHandRaised: false 6 | }, 7 | methods: { 8 | raiseHand: function() { 9 | this.isHandRaised = true; 10 | } 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /javascript/phpcon2016/list-rendering/main.js: -------------------------------------------------------------------------------- 1 | // main.js 2 | new Vue({ 3 | el: '#app', 4 | data: { 5 | items: [ 6 | { title: 'PHP' }, 7 | { title: 'Cofference2016' }, 8 | { title: '2016年11月3日(木)' }, 9 | { title: '大田区産業プラザ PiO' } 10 | ] 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /javascript/phpcon2016/server-side-rendering/README.md: -------------------------------------------------------------------------------- 1 | ## vue-server-renderer 2 | 3 | ### createRenderer([rendererOptions]) 4 | `renderer` インスタンスを作成する 5 | 6 | ### renderer.renderToString(vm, cb) 7 | Vue インスタンスを文字列にレンダリングする。コールバックは第1引数にエラーとして受け取る標準的なコールバックです。 8 | 9 | 10 | -------------------------------------------------------------------------------- /javascript/phpcon2016/server-side-rendering/local/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | My Vue App 5 | 6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /javascript/phpcon2016/server-side-rendering/server/assets/app.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { 2 | return new Vue({ 3 | template: '
Helo PHPカンファレンス{{ year }}!
', 4 | data: { 5 | year: 2016 6 | } 7 | }) 8 | } 9 | -------------------------------------------------------------------------------- /javascript/phpcon2016/setup/index.html: -------------------------------------------------------------------------------- 1 | // index.html 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /javascript/phpcon2016/two-way-binding/main.js: -------------------------------------------------------------------------------- 1 | // main.js 2 | new Vue({ 3 | // 対象エレメントを指定します
この中がVue.jsの対象範囲となる
4 | el: '#app', 5 | // Vue インスタンスのためのデータオブジェクト 6 | data: { 7 | message: 'Hello PHPカンファレンス2016!' 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /javascript/progressive-web-app/home-icon/icon-4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/progressive-web-app/home-icon/icon-4x.png -------------------------------------------------------------------------------- /javascript/progressive-web-app/home-icon/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "PWA", 3 | "name": "Progressive Web App Sample", 4 | "icons": [ 5 | { 6 | "src": "icon-4x.png", 7 | "type": "image/png", 8 | "sizes": "192x192" 9 | } 10 | ], 11 | "start_url": "/", 12 | "display": "standalone" 13 | } 14 | -------------------------------------------------------------------------------- /javascript/progressive-web-app/home-icon/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "home-icon", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "http-server ." 8 | }, 9 | "devDependencies": { 10 | "http-server": "^0.10.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /javascript/progressive-web-app/home-icon/service-worker.js: -------------------------------------------------------------------------------- 1 | self.addEventListener('install', function(event) { 2 | // インストール処理 3 | }); 4 | -------------------------------------------------------------------------------- /javascript/progressive-web-app/push-notification/README.md: -------------------------------------------------------------------------------- 1 | ## References 2 | * [PWA(Progressive Web Apps/プログレッシブ ウェブ アプリ)でpush通知するための手順 \- Qiita](http://qiita.com/keki/items/81634135586763de235a) 3 | * [ブラウザプッシュ通知とユーザー個別に内容を送信する実装方法 in GAMY \- Qiita](http://qiita.com/narikei/items/0f26b30d347ae19d9559) 4 | -------------------------------------------------------------------------------- /javascript/progressive-web-app/push-notification/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/progressive-web-app/push-notification/icon.png -------------------------------------------------------------------------------- /javascript/progressive-web-app/push-notification/notifications.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "引越し侍", 3 | "body": "皆さんこんにちはでござる。拙者、引越し侍でござるよ。" 4 | } 5 | -------------------------------------------------------------------------------- /javascript/progressive-web-app/push-notification/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "home-icon", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "http-server ." 8 | }, 9 | "devDependencies": { 10 | "http-server": "^0.10.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /javascript/react-redux/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/react-redux/public/favicon.ico -------------------------------------------------------------------------------- /javascript/react-redux/src/App.test.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | 5 | it('renders without crashing', () => { 6 | const div = document.createElement('div'); 7 | ReactDOM.render(, div); 8 | }); 9 | -------------------------------------------------------------------------------- /javascript/react-redux/src/actions/app.js: -------------------------------------------------------------------------------- 1 | export default { 2 | increment: () => { 3 | return { type: 'INCREMENT' } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /javascript/react-redux/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 0; 4 | font-family: sans-serif; 5 | } 6 | -------------------------------------------------------------------------------- /javascript/react-redux/src/reducers/index.js: -------------------------------------------------------------------------------- 1 | const initialState = { 2 | fuga: 0 3 | } 4 | 5 | export default function reducer(state = initialState, action) { 6 | switch(action.type) { 7 | case 'INCREMENT': { 8 | return { fuga: state.fuga + 1 } 9 | } 10 | default: 11 | return state 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /javascript/react-redux/src/store/configureStore.js: -------------------------------------------------------------------------------- 1 | import { createStore } from 'redux'; 2 | import reducer from '../reducers/index' 3 | 4 | export default function configureStore() { 5 | const store = createStore(reducer); 6 | return store; 7 | } 8 | -------------------------------------------------------------------------------- /javascript/tech-conf-vue-2017/realtime/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | } 4 | -------------------------------------------------------------------------------- /javascript/tech-conf-vue-2017/realtime/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "plugins": [ 4 | "html" 5 | ], 6 | "env": { 7 | "jasmine": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /javascript/tech-conf-vue-2017/realtime/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/build.js 4 | dist/build.css 5 | yarn-error.log 6 | npm-debug.log 7 | 8 | # Editor directories and files 9 | .vscode 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | -------------------------------------------------------------------------------- /javascript/tech-conf-vue-2017/realtime/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/tech-conf-vue-2017/realtime/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/tech-conf-vue-2017/realtime/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /javascript/underscore/.babelrc: -------------------------------------------------------------------------------- 1 | { "presets": ["es2015"] } 2 | -------------------------------------------------------------------------------- /javascript/underscore/README.md: -------------------------------------------------------------------------------- 1 | ### Usage 2 | 3 | ```sh 4 | $ babel-node #{script name} 5 | ``` 6 | -------------------------------------------------------------------------------- /javascript/underscore/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "test": "echo \"Error: no test specified\" && exit 1" 4 | }, 5 | "dependencies": { 6 | "underscore": "^1.8.3" 7 | }, 8 | "devDependencies": { 9 | "babel-preset-es2015": "^6.24.1" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /javascript/unit-test/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /javascript/unit-test/add.js: -------------------------------------------------------------------------------- 1 | export default { 2 | add: function(a, b) { 3 | return a + b; 4 | } 5 | } 6 | 7 | // module.exports = function(a, b) { 8 | // return a + b; 9 | // } 10 | -------------------------------------------------------------------------------- /javascript/unit-test/test/unit/add.js: -------------------------------------------------------------------------------- 1 | import add from '../../add.js'; 2 | 3 | describe('calc.jsのテスト', () => { 4 | it('足し算の結果が正しい', () => { 5 | expect(add.add(1, 2)).to.be.eql(3); 6 | }) 7 | }) 8 | -------------------------------------------------------------------------------- /javascript/vue-js-2.0/single-file-component/hello.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 16 | -------------------------------------------------------------------------------- /javascript/vue-js-2.0/single-file-component/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /javascript/vue-js-2.0/single-file-component/main.js: -------------------------------------------------------------------------------- 1 | var Vue = require('vue'); 2 | var Hello = require('./hello.vue'); 3 | 4 | new Vue({ 5 | el: '#app', 6 | render: function(h) { 7 | return h(Hello); 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /javascript/vue-multisort/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | } 4 | -------------------------------------------------------------------------------- /javascript/vue-multisort/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "plugins": [ 4 | "html" 5 | ], 6 | "env": { 7 | "jasmine": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /javascript/vue-multisort/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/build.js 4 | dist/build.css 5 | yarn-error.log 6 | npm-debug.log 7 | 8 | # Editor directories and files 9 | .vscode 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | -------------------------------------------------------------------------------- /javascript/vue-multisort/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/vue-multisort/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/vue-multisort/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | vue-multisort 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /javascript/vue-select/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | } 4 | -------------------------------------------------------------------------------- /javascript/vue-select/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "plugins": [ 4 | "html" 5 | ], 6 | "env": { 7 | "jasmine": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /javascript/vue-select/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/build.js 4 | dist/build.css 5 | yarn-error.log 6 | npm-debug.log 7 | 8 | # Editor directories and files 9 | .vscode 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | -------------------------------------------------------------------------------- /javascript/vue-select/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/vue-select/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/vue-select/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | vue-select 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /javascript/vue/async_components/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | } 4 | -------------------------------------------------------------------------------- /javascript/vue/async_components/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "plugins": [ 4 | "html" 5 | ], 6 | "env": { 7 | "jasmine": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /javascript/vue/async_components/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/build.js 4 | dist/build.css 5 | yarn-error.log 6 | npm-debug.log 7 | 8 | # Editor directories and files 9 | .vscode 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | -------------------------------------------------------------------------------- /javascript/vue/async_components/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/vue/async_components/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/vue2.4/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "vue": "^2.5.13" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | } 4 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "plugins": [ 4 | "html" 5 | ], 6 | "env": { 7 | "jasmine": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/build.js 4 | dist/build.css 5 | yarn-error.log 6 | npm-debug.log 7 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/vuejs-avoriaz-vuex/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/src/components/Getters.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | 4 | import counter from './modules/counter' 5 | 6 | Vue.use(Vuex) 7 | 8 | export default new Vuex.Store({ 9 | modules: { 10 | counter 11 | } 12 | }) -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz-vuex/src/store/mutation-types.js: -------------------------------------------------------------------------------- 1 | export const INCREMENT = 'INCREMENT' 2 | export const INPUT_NUMBER = 'INPUT_NUMBER' 3 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | } 4 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "plugins": [ 4 | "html" 5 | ], 6 | "env": { 7 | "jasmine": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist/build.js 4 | dist/build.css 5 | yarn-error.log 6 | npm-debug.log 7 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/vuejs-avoriaz002/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | vuejs-avoriaz002 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/src/components/Child.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/src/components/Child2.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 13 | -------------------------------------------------------------------------------- /javascript/vuejs-avoriaz002/src/libs/api.js: -------------------------------------------------------------------------------- 1 | export default { 2 | checkAccount: () => { 3 | } 4 | } -------------------------------------------------------------------------------- /javascript/vuejs-handson01/README.md: -------------------------------------------------------------------------------- 1 | # 第1回Vue.jsハンズオン会 2 | 3 | ## テキスト 4 | * [PHPerのためのVue\.js入門とVue\.js 2\.0の未来 // Speaker Deck](https://speakerdeck.com/hypermkt/phperfalsetamefalsevue-dot-jsru-men-tovue-dot-js-2-dot-0falsewei-lai) 5 | * [はじめに \- Vue\.js](https://jp.vuejs.org/v2/guide/) 6 | -------------------------------------------------------------------------------- /javascript/web-db-redux/counter/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "react"] 3 | } 4 | -------------------------------------------------------------------------------- /javascript/web-db-redux/counter/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/web-db-redux/counter/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/web-db-redux/counter/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /javascript/web-db-redux/todo/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "react"] 3 | } 4 | -------------------------------------------------------------------------------- /javascript/web-db-redux/todo/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/javascript/web-db-redux/todo/dist/.gitkeep -------------------------------------------------------------------------------- /javascript/web-db-redux/todo/src/components/App.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import VisibleTodoList from '../containers/VisibleTodoList' 3 | import AddTodo from '../containers/AddTodo' 4 | 5 | const App = () => { 6 |
7 | 8 | 9 |
10 | } 11 | -------------------------------------------------------------------------------- /javascript/web-db-redux/todo/src/components/TodoList.jsx: -------------------------------------------------------------------------------- 1 | import React, { PropTypes } from 'react' 2 | 3 | const TodoList = ({ todos }) => ( 4 | 7 | ) 8 | 9 | TodoList.propTypes = { 10 | todos: PropTypes.array.isRequired 11 | } 12 | 13 | export default TodoList -------------------------------------------------------------------------------- /javascript/web-db-redux/todo/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /javascript/web-db-redux/todo/src/reducers/index.js: -------------------------------------------------------------------------------- 1 | import { combineReducers } from 'redux' 2 | import todos from './todos' 3 | import visibilityFilter from './visibilityFilter' 4 | 5 | const todoApp = combineReducers({todos, visibilityFilter}) 6 | 7 | export default todoApp -------------------------------------------------------------------------------- /javascript/webpack-demo/dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Getting Started 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /javascript/webpack-demo/src/index.js: -------------------------------------------------------------------------------- 1 | import _ from 'lodash'; 2 | 3 | function component() { 4 | var element = document.createElement('div'); 5 | 6 | element.innerHTML = _.join(['Hello', 'Webpack', ' ']); 7 | 8 | return element; 9 | } 10 | 11 | document.body.appendChild(component()); -------------------------------------------------------------------------------- /javascript/webpack-demo/webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = { 4 | entry: './src/index.js', 5 | output: { 6 | filename: 'bundle.js', 7 | path: path.resolve(__dirname, 'dist') 8 | } 9 | }; -------------------------------------------------------------------------------- /javascript/webpack-with-vue/src/components/Footer.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 9 | 10 | 12 | -------------------------------------------------------------------------------- /javascript/webpack-with-vue/src/entry.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import App from './components/App.vue' 3 | 4 | window.onload = function() { 5 | new Vue(App).$mount('#app'); 6 | } 7 | -------------------------------------------------------------------------------- /javascript/webpack-with-vue2/dist/hoge.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /javascript/webpack-with-vue2/dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
フロントエンドテックミーティング!
9 | 10 | 11 | -------------------------------------------------------------------------------- /javascript/webpack-with-vue2/src/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import App from './components/App.vue'; 3 | 4 | window.onload = function() { 5 | new Vue(App).$mount('#app'); 6 | } 7 | -------------------------------------------------------------------------------- /javascript/webpack/content.js: -------------------------------------------------------------------------------- 1 | module.exports = "It works from content.js."; 2 | -------------------------------------------------------------------------------- /javascript/webpack/entry.js: -------------------------------------------------------------------------------- 1 | require("./style.css"); 2 | document.write(require("./content.js")); 3 | -------------------------------------------------------------------------------- /javascript/webpack/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /javascript/webpack/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: yellow; 3 | } 4 | -------------------------------------------------------------------------------- /javascript/webpack/webpack.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | entry: "./entry.js", 3 | output: { 4 | path: __dirname, 5 | filename: "bundle.js" 6 | }, 7 | module: { 8 | loaders: [ 9 | { test: /\.css$/, loader: "style!css" } 10 | ] 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /linux/comm/a.csv: -------------------------------------------------------------------------------- 1 | 1 2 | 22 3 | 333 4 | 4444 5 | -------------------------------------------------------------------------------- /linux/comm/b.csv: -------------------------------------------------------------------------------- 1 | 1111 2 | 22 3 | 3333 4 | -------------------------------------------------------------------------------- /oauth.md: -------------------------------------------------------------------------------- 1 | ### OAuth 2 | * [今更聞けないOAuth2\.0](https://www.slideshare.net/ph1ph2sa25/oauth20-46144252) 3 | -------------------------------------------------------------------------------- /php-storm/hello.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by usr0600221 on 2017/06/05. 3 | */ 4 | 5 | function max(arg1, arg2) { 6 | return arg1 * arg2; 7 | } 8 | -------------------------------------------------------------------------------- /php-storm/index.php: -------------------------------------------------------------------------------- 1 | getName(); 5 | echo $person->isYoung(); 6 | 7 | $sql = "SELECT * FROM EMP ORDER BY EMP_NO;"; 8 | 9 | $html = ""; 10 | 11 | function dumpPerson($person) { 12 | echo $person->getName(); 13 | } 14 | -------------------------------------------------------------------------------- /php/close_connection_test/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | -------------------------------------------------------------------------------- /php/close_connection_test/application/models/Dao/define.php: -------------------------------------------------------------------------------- 1 | query('php.net'); 8 | var_dump($response); 9 | } catch(Net_DNS2_Exception $e) { 10 | echo "::query() failed: ", $e->getMessage(), "\n"; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /php/dns_check/react_dns/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | -------------------------------------------------------------------------------- /php/dns_check/react_dns/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "react/dns": "^0.4.9" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /php/html_template_it/.php-version: -------------------------------------------------------------------------------- 1 | system 2 | -------------------------------------------------------------------------------- /php/laravel-api-sample/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /php/laravel-api-sample/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | /.idea 7 | /.vscode 8 | /.vagrant 9 | Homestead.json 10 | Homestead.yaml 11 | npm-debug.log 12 | yarn-error.log 13 | .env 14 | -------------------------------------------------------------------------------- /php/laravel-api-sample/app/Item.php: -------------------------------------------------------------------------------- 1 | belongsTo(User::class); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /php/laravel-api-sample/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /php/laravel-api-sample/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/php/laravel-api-sample/public/favicon.ico -------------------------------------------------------------------------------- /php/laravel-api-sample/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/resources/assets/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | 2 | // Body 3 | $body-bg: #f5f8fa; 4 | 5 | // Typography 6 | $font-family-sans-serif: "Raleway", sans-serif; 7 | $font-size-base: 0.9rem; 8 | $line-height-base: 1.6; 9 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-api-sample/tests/TestCase.php: -------------------------------------------------------------------------------- 1 | belongsTo('App\Post'); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/app/Post.php: -------------------------------------------------------------------------------- 1 | hasMany('App\Comment'); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/php/laravel-sample-blog/public/favicon.ico -------------------------------------------------------------------------------- /php/laravel-sample-blog/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | 2 | // Fonts 3 | @import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600); 4 | 5 | // Variables 6 | @import "variables"; 7 | 8 | // Bootstrap 9 | @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; 10 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/resources/views/vendor/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-sample-blog/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/laravel-tutorial/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /php/laravel-tutorial/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | /.idea 7 | /.vagrant 8 | Homestead.json 9 | Homestead.yaml 10 | npm-debug.log 11 | yarn-error.log 12 | .env 13 | -------------------------------------------------------------------------------- /php/laravel-tutorial/app/Task.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ./tests 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /php/mini-instagram/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | -------------------------------------------------------------------------------- /php/mini-instagram/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/storage 3 | /vendor 4 | /.idea 5 | Homestead.json 6 | Homestead.yaml 7 | .env 8 | -------------------------------------------------------------------------------- /php/mini-instagram/.php-version: -------------------------------------------------------------------------------- 1 | 7.1.0 2 | -------------------------------------------------------------------------------- /php/mini-instagram/README.md: -------------------------------------------------------------------------------- 1 | # Mini Instagram 2 | 3 | ## Setup 4 | 5 | ```sh 6 | # DBマイグレーションの実施 7 | php artisan migrate 8 | 9 | # .envのAPP_KEYの記入 10 | php artisan key:genrate 11 | 12 | # app/public storageを利用するためにシムリンクを貼る 13 | php artisan storage:link 14 | ``` 15 | 16 | -------------------------------------------------------------------------------- /php/mini-instagram/app/Comment.php: -------------------------------------------------------------------------------- 1 | belongsTo('App\Post'); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /php/mini-instagram/app/Post.php: -------------------------------------------------------------------------------- 1 | hasMany('App\Comment'); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /php/mini-instagram/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/mini-instagram/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /php/mini-instagram/database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/mini-instagram/database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/mini-instagram/public/css/styles.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #FAFAFA; 3 | } 4 | 5 | .btn-upload { 6 | margin-bottom: 10px; 7 | } -------------------------------------------------------------------------------- /php/mini-instagram/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/php/mini-instagram/public/favicon.ico -------------------------------------------------------------------------------- /php/mini-instagram/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /php/mini-instagram/resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | 2 | // Fonts 3 | @import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600); 4 | 5 | // Variables 6 | @import "variables"; 7 | 8 | // Bootstrap 9 | @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; 10 | -------------------------------------------------------------------------------- /php/mini-instagram/resources/views/vendor/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/mini-instagram/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /php/namespace_group_use/Fuga.php: -------------------------------------------------------------------------------- 1 | show(); 13 | 14 | 15 | $a = new Fuga(); 16 | $a->show(); -------------------------------------------------------------------------------- /php/phinx/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | -------------------------------------------------------------------------------- /php/phinx/README.md: -------------------------------------------------------------------------------- 1 | ## Usage 2 | 3 | ### Connect from local 4 | ```sh 5 | $ mysql -udevelop -p -Ddevelop -P3307 -h127.0.0.1 6 | ``` 7 | 8 | ### Migrate 9 | 10 | ```sh 11 | $ vendor/bin/phinx migrate -e development 12 | ``` 13 | -------------------------------------------------------------------------------- /php/phinx/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hypermkt/phinx", 3 | "require": { 4 | "robmorgan/phinx": "^0.9.1" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /php/phinx/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | services: 3 | database: 4 | image: mysql:5.7 5 | environment: 6 | TZ: Asia/Tokyo 7 | MYSQL_DATABASE: develop 8 | MYSQL_USER: develop 9 | MYSQL_PASSWORD: develop 10 | MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' 11 | ports: 12 | - "3307:3306" 13 | -------------------------------------------------------------------------------- /php/phpmd/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | -------------------------------------------------------------------------------- /php/phpmd/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "phpmd/phpmd" : "1.4.*", 4 | "pdepend/pdepend" : "1.1.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /php/redis/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.1-apache 2 | 3 | RUN pecl install redis-3.1.4 \ 4 | && docker-php-ext-enable redis 5 | 6 | RUN docker-php-ext-install mysqli pdo_mysql 7 | -------------------------------------------------------------------------------- /php/redis/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | web: 4 | build: 5 | context: . 6 | dockerfile: ./Dockerfile 7 | volumes: 8 | - ./:/var/www/html 9 | links: 10 | - redis 11 | redis: 12 | image: redis:3.2.11 13 | 14 | -------------------------------------------------------------------------------- /php/routing/FastRoute/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "nikic/fast-route": "^1.2" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /php/routing/Pux/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "corneltek/pux": "^1.6" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /php/routing/klein.php/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "klein/klein": "^2.1" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /php/scraping/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "jaeger/querylist": "^4.0", 4 | "fabpot/goutte": "^3.2", 5 | "dg/rss-php": "^1.3", 6 | "simplepie/simplepie": "^1.5" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /php/sql-injection-sample/README.md: -------------------------------------------------------------------------------- 1 | # SQLインジェクションが発生するコードサンプル 2 | 3 | * 本サンプルはWebセキュリティの資料作りに伴うサンプルである 4 | * `'); delete from books; --` を入力すると books テーブルの値がすべて消える 5 | -------------------------------------------------------------------------------- /php/sql-injection-sample/docker/database/initdb.d/02_fixtures.sql: -------------------------------------------------------------------------------- 1 | insert into books (title) values ('hoge'); 2 | insert into books (title) values ('fuga'); 3 | 4 | 5 | insert into users(login_id, password) values ('taro', 'password'); 6 | -------------------------------------------------------------------------------- /php/sql-injection-sample/docker/database/my.cnf: -------------------------------------------------------------------------------- 1 | [client] 2 | default-character-set=utf8mb4 3 | 4 | [mysqld] 5 | character_set_server=utf8mb4 6 | -------------------------------------------------------------------------------- /php/store-session-in-mysql/Dockerfile.database: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | RUN apt-get update && apt-get -qq install -y --no-install-recommends memcached 4 | -------------------------------------------------------------------------------- /php/store-session-in-mysql/docker-php-ext-memcached.ini: -------------------------------------------------------------------------------- 1 | extension=memcached.so 2 | 3 | session.save_handler = memcached 4 | session.save_path = "database:11211" 5 | -------------------------------------------------------------------------------- /php/store-session-in-mysql/index.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | , 10 | document.getElementById('root') 11 | ) 12 | -------------------------------------------------------------------------------- /react/wordle-clone2/src/test/test-setup.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom' -------------------------------------------------------------------------------- /react/wordle-clone2/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /react/wordle-clone2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: [ 3 | "./index.html", 4 | "./src/**/*.{ts,tsx}", 5 | ], 6 | theme: { 7 | extend: {}, 8 | }, 9 | plugins: [], 10 | } 11 | -------------------------------------------------------------------------------- /react/wordle-clone2/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "esnext", 5 | "moduleResolution": "node" 6 | }, 7 | "include": ["vite.config.ts"] 8 | } 9 | -------------------------------------------------------------------------------- /ruby/activesupport/configuarable/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } 4 | 5 | gem "activesupport" 6 | -------------------------------------------------------------------------------- /ruby/e2etest/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /ruby/e2etest/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.3.1 2 | -------------------------------------------------------------------------------- /ruby/e2etest/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | group :test do 4 | gem 'rspec' 5 | gem 'capybara' 6 | gem 'poltergeist' 7 | end 8 | -------------------------------------------------------------------------------- /ruby/grape/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'grape' 4 | gem 'rack' 5 | -------------------------------------------------------------------------------- /ruby/grape/config.ru: -------------------------------------------------------------------------------- 1 | require_relative 'app/api' 2 | 3 | run API 4 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/ampersand.rb: -------------------------------------------------------------------------------- 1 | def math(a, b) 2 | yield(a, b) 3 | end 4 | 5 | def do_math(a, b, &operation) 6 | puts operation 7 | math(a, b, &operation) 8 | end 9 | 10 | puts do_math(2, 3) {|x, y| x * y } # => 6 11 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/methods.rb: -------------------------------------------------------------------------------- 1 | class MyClass 2 | def initialize(value) 3 | @x = value 4 | end 5 | 6 | def my_method 7 | @x 8 | end 9 | end 10 | 11 | object = MyClass.new(1) 12 | m = object.method :my_method 13 | puts m.call 14 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/proc_vs_lambda_args.rb: -------------------------------------------------------------------------------- 1 | p = Proc.new {|a, b| [a, b]} 2 | p p.call(1, 2) 3 | p p.call(1) 4 | 5 | p = lambda {|a, b| [a, b] } 6 | p p.call(1, 2) 7 | p p.call(1) 8 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_1/events.rb: -------------------------------------------------------------------------------- 1 | event "常に発生するイベント" do 2 | true 3 | end 4 | 5 | event "絶対に発生しないイベント" do 6 | false 7 | end 8 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_1/redflag.rb: -------------------------------------------------------------------------------- 1 | def event(descrption) 2 | puts "ALERT: #{descrption}" if yield 3 | end 4 | load 'events.rb' 5 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_2/events.rb: -------------------------------------------------------------------------------- 1 | def monthly_sales 2 | 110 # TODO: 実際のデータはデータベースから読み取る 3 | end 4 | 5 | target_sales = 100 6 | 7 | event "月額売上が驚くほど高い" do 8 | monthly_sales > target_sales 9 | end 10 | 11 | event "月額売上が底なしに低い" do 12 | monthly_sales < target_sales 13 | end 14 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_2/flat_scope_1.rb: -------------------------------------------------------------------------------- 1 | my_var = "成功" 2 | 3 | class MyClass 4 | # my_var をここに表示したい... 5 | 6 | def my_method 7 | # ...ここにも表示したい 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_2/flat_scope_2.rb: -------------------------------------------------------------------------------- 1 | my_var = "成功" 2 | 3 | MyClass = Class.new do 4 | # my_var をここに表示したい... 5 | puts "クラス定義の中は #{my_var}" 6 | 7 | define_method :my_method do 8 | "my_method 定義の中は #{my_var}" 9 | end 10 | end 11 | 12 | puts MyClass.new.my_method 13 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_2/redflag.rb: -------------------------------------------------------------------------------- 1 | def event(descrption) 2 | puts "ALERT: #{descrption}" if yield 3 | end 4 | load 'events.rb' 5 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/redflag_5/clean_room.rb: -------------------------------------------------------------------------------- 1 | class CleanRoom 2 | def current_temperature 3 | # ... 4 | end 5 | end 6 | 7 | clean_room = CleanRoom.new 8 | clean_room.instance_eval do 9 | if current_temperature < 20 10 | # TODO: ジャケットを着る 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /ruby/metaprograming/blocks/unbound_methods.rb: -------------------------------------------------------------------------------- 1 | module MyModule 2 | def my_method 3 | 42 4 | end 5 | end 6 | 7 | unbound = MyModule.instance_method(:my_method) 8 | unbound.class 9 | 10 | String.send :define_method, :another_method, unbound 11 | puts "abc".another_method # => 42 12 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_WITHOUT: production 3 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require File.expand_path('../config/application', __FILE__) 5 | 6 | DemoApp::Application.load_tasks 7 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/app/assets/images/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/assets/javascripts/microposts.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/assets/javascripts/users.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/assets/stylesheets/microposts.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the Microposts controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/assets/stylesheets/users.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the Users controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/controllers/.users_controller.rb.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/app/controllers/.users_controller.rb.swp -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | # Prevent CSRF attacks by raising an exception. 3 | # For APIs, you may want to use :null_session instead. 4 | protect_from_forgery with: :exception 5 | end 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/app/controllers/concerns/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/helpers/microposts_helper.rb: -------------------------------------------------------------------------------- 1 | module MicropostsHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/app/mailers/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/app/models/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/models/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/app/models/concerns/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/models/micropost.rb: -------------------------------------------------------------------------------- 1 | class Micropost < ActiveRecord::Base 2 | belongs_to :user 3 | validates :content, 4 | length: { maximum: 140 } 5 | end 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | has_many :microposts 3 | end 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/microposts/edit.html.erb: -------------------------------------------------------------------------------- 1 |

Editing micropost

2 | 3 | <%= render 'form' %> 4 | 5 | <%= link_to 'Show', @micropost %> | 6 | <%= link_to 'Back', microposts_path %> 7 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/microposts/index.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.array!(@microposts) do |micropost| 2 | json.extract! micropost, :content, :user_id 3 | json.url micropost_url(micropost, format: :json) 4 | end -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/microposts/new.html.erb: -------------------------------------------------------------------------------- 1 |

New micropost

2 | 3 | <%= render 'form' %> 4 | 5 | <%= link_to 'Back', microposts_path %> 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/microposts/show.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.extract! @micropost, :content, :user_id, :created_at, :updated_at 2 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/users/edit.html.erb: -------------------------------------------------------------------------------- 1 |

Editing user

2 | 3 | <%= render 'form' %> 4 | 5 | <%= link_to 'Show', @user %> | 6 | <%= link_to 'Back', users_path %> 7 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/users/index.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.array!(@users) do |user| 2 | json.extract! user, :name, :email 3 | json.url user_url(user, format: :json) 4 | end -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/users/new.html.erb: -------------------------------------------------------------------------------- 1 |

New user

2 | 3 | <%= render 'form' %> 4 | 5 | <%= link_to 'Back', users_path %> 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/users/show.html.erb: -------------------------------------------------------------------------------- 1 |

<%= notice %>

2 | 3 |

4 | Name: 5 | <%= @user.name %> 6 |

7 | 8 |

9 | Email: 10 | <%= @user.email %> 11 |

12 | 13 | <%= link_to 'Edit', edit_user_path(@user) %> | 14 | <%= link_to 'Back', users_path %> 15 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/app/views/users/show.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.extract! @user, :name, :email, :created_at, :updated_at 2 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path('../../config/application', __FILE__) 3 | require_relative '../config/boot' 4 | require 'rails/commands' 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run Rails.application 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/config/boot.rb: -------------------------------------------------------------------------------- 1 | # Set up gems listed in the Gemfile. 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | 4 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the Rails application. 5 | DemoApp::Application.initialize! 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Configure sensitive parameters which will be filtered from the log file. 4 | Rails.application.config.filter_parameters += [:password] 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | DemoApp::Application.config.session_store :cookie_store, key: '_demo_app_session' 4 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/db/development.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/db/development.sqlite3 -------------------------------------------------------------------------------- /ruby/rails/demo_app/db/migrate/20140705092737_create_users.rb: -------------------------------------------------------------------------------- 1 | class CreateUsers < ActiveRecord::Migration 2 | def change 3 | create_table :users do |t| 4 | t.string :name 5 | t.string :email 6 | 7 | t.timestamps 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/db/migrate/20140705093840_create_microposts.rb: -------------------------------------------------------------------------------- 1 | class CreateMicroposts < ActiveRecord::Migration 2 | def change 3 | create_table :microposts do |t| 4 | t.string :content 5 | t.integer :user_id 6 | 7 | t.timestamps 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/lib/assets/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/lib/tasks/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/lib/tasks/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/log/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/public/favicon.ico -------------------------------------------------------------------------------- /ruby/rails/demo_app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/controllers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/test/controllers/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/fixtures/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/test/fixtures/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/fixtures/microposts.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html 2 | 3 | one: 4 | content: MyString 5 | user_id: 1 6 | 7 | two: 8 | content: MyString 9 | user_id: 1 10 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/fixtures/users.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html 2 | 3 | one: 4 | name: MyString 5 | email: MyString 6 | 7 | two: 8 | name: MyString 9 | email: MyString 10 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/helpers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/test/helpers/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/helpers/microposts_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class MicropostsHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/helpers/users_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class UsersHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/integration/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/test/integration/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/test/mailers/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/test/models/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/models/micropost_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class MicropostTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/test/models/user_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class UserTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /ruby/rails/demo_app/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/vendor/assets/javascripts/.keep -------------------------------------------------------------------------------- /ruby/rails/demo_app/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/demo_app/vendor/assets/stylesheets/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require File.expand_path('../config/application', __FILE__) 5 | 6 | Rails.application.load_tasks 7 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/app/assets/images/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/assets/javascripts/home.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/assets/stylesheets/home.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the Home controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | # Prevent CSRF attacks by raising an exception. 3 | # For APIs, you may want to use :null_session instead. 4 | protect_from_forgery with: :exception 5 | end 6 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/app/controllers/concerns/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/controllers/home_controller.rb: -------------------------------------------------------------------------------- 1 | class HomeController < ApplicationController 2 | def index 3 | end 4 | 5 | def show 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/helpers/home_helper.rb: -------------------------------------------------------------------------------- 1 | module HomeHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/app/mailers/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/app/models/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/models/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/app/models/concerns/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | # Include default devise modules. Others available are: 3 | # :confirmable, :lockable, :timeoutable and :omniauthable 4 | devise :database_authenticatable, :registerable, 5 | :recoverable, :rememberable, :trackable, :validatable 6 | end 7 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/views/devise/mailer/confirmation_instructions.html.erb: -------------------------------------------------------------------------------- 1 |

Welcome <%= @email %>!

2 | 3 |

You can confirm your account email through the link below:

4 | 5 |

<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>

6 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/views/home/index.html.erb: -------------------------------------------------------------------------------- 1 |

Home#index

2 |

Find me in app/views/home/index.html.erb

3 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/app/views/home/show.html.erb: -------------------------------------------------------------------------------- 1 |

Home#show

2 |

Find me in app/views/home/show.html.erb

3 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | begin 3 | load File.expand_path("../spring", __FILE__) 4 | rescue LoadError 5 | end 6 | APP_PATH = File.expand_path('../../config/application', __FILE__) 7 | require_relative '../config/boot' 8 | require 'rails/commands' 9 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | begin 3 | load File.expand_path("../spring", __FILE__) 4 | rescue LoadError 5 | end 6 | require_relative '../config/boot' 7 | require 'rake' 8 | Rake.application.run 9 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run Rails.application 5 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/config/boot.rb: -------------------------------------------------------------------------------- 1 | # Set up gems listed in the Gemfile. 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | 4 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 5 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the Rails application. 5 | Rails.application.initialize! 6 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | Rails.application.config.action_dispatch.cookies_serializer = :json -------------------------------------------------------------------------------- /ruby/rails/login_sample/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Configure sensitive parameters which will be filtered from the log file. 4 | Rails.application.config.filter_parameters += [:password] 5 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | Rails.application.config.session_store :cookie_store, key: '_login_sample_session' 4 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/lib/assets/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/lib/tasks/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/lib/tasks/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/log/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/public/favicon.ico -------------------------------------------------------------------------------- /ruby/rails/login_sample/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/controllers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/test/controllers/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/fixtures/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/test/fixtures/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/helpers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/test/helpers/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/helpers/home_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class HomeHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/integration/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/test/integration/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/test/mailers/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/test/models/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/test/models/user_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class UserTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /ruby/rails/login_sample/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/vendor/assets/javascripts/.keep -------------------------------------------------------------------------------- /ruby/rails/login_sample/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/login_sample/vendor/assets/stylesheets/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/.rspec: -------------------------------------------------------------------------------- 1 | --colour 2 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require File.expand_path('../config/application', __FILE__) 5 | 6 | SampleApp::Application.load_tasks 7 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/assets/images/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/app/assets/images/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/app/assets/images/rails.png -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/assets/javascripts/sessions.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/assets/javascripts/static_pages.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/assets/stylesheets/sessions.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the Sessions controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/assets/stylesheets/static_pages.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the StaticPages controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | # Prevent CSRF attacks by raising an exception. 3 | # For APIs, you may want to use :null_session instead. 4 | protect_from_forgery with: :exception 5 | include SessionsHelper 6 | end 7 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/app/controllers/concerns/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/controllers/static_pages_controller.rb: -------------------------------------------------------------------------------- 1 | class StaticPagesController < ApplicationController 2 | def home 3 | end 4 | 5 | def help 6 | end 7 | 8 | def about 9 | end 10 | 11 | def contact 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | def full_title(page_title) 3 | base_title = "Ruby on Rails Tutorial Sample App" 4 | if page_title.empty? 5 | base_title 6 | else 7 | "#{base_title} | #{page_title}" 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/helpers/static_pages_helper.rb: -------------------------------------------------------------------------------- 1 | module StaticPagesHelper 2 | end 3 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | def gravatar_for(user) 3 | gravatar_id = Digest::MD5::hexdigest(user.email.downcase) 4 | gravatar_url = "https://secure.gravatar.com/avatar/#{gravatar_id}" 5 | image_tag(gravatar_url, alt: user.name, class: "gravator") 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/app/mailers/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/app/models/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/models/concerns/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/app/models/concerns/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/views/layouts/_shim.html.erb: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/app/views/static_pages/contact.html.erb: -------------------------------------------------------------------------------- 1 | <% provide(:title, 'Contact') %> 2 |

Contact

3 |

4 | This is the home page for the 5 | Ruby on Rails Tutorial 6 | sample application. 7 |

8 | 9 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path('../../config/application', __FILE__) 3 | require_relative '../config/boot' 4 | require 'rails/commands' 5 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run Rails.application 5 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/config/boot.rb: -------------------------------------------------------------------------------- 1 | # Set up gems listed in the Gemfile. 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | 4 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 5 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the Rails application. 5 | SampleApp::Application.initialize! 6 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Configure sensitive parameters which will be filtered from the log file. 4 | Rails.application.config.filter_parameters += [:password] 5 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | SampleApp::Application.config.session_store :cookie_store, key: '_sample_app_session' 4 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/db/migrate/20140706150504_create_users.rb: -------------------------------------------------------------------------------- 1 | class CreateUsers < ActiveRecord::Migration 2 | def change 3 | create_table :users do |t| 4 | t.string :name 5 | t.string :email 6 | 7 | t.timestamps 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/db/migrate/20140706155257_add_password_digtest_to_users.rb: -------------------------------------------------------------------------------- 1 | class AddPasswordDigtestToUsers < ActiveRecord::Migration 2 | def change 3 | add_column :users, :password_digest, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/db/migrate/20140712090157_add_rememer_token_to_users.rb: -------------------------------------------------------------------------------- 1 | class AddRememerTokenToUsers < ActiveRecord::Migration 2 | def change 3 | add_column :users, :remember_token, :string 4 | add_index :users, :remember_token 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/lib/assets/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/lib/tasks/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/lib/tasks/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/log/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/public/favicon.ico -------------------------------------------------------------------------------- /ruby/rails/sample_app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/spec/factories.rb: -------------------------------------------------------------------------------- 1 | FactoryGirl.define do 2 | factory :user do 3 | name "Mitchael Hartl" 4 | email "michael@example.com" 5 | password "foobar" 6 | password_confirmation "foobar" 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/spec/support/utilities.rb: -------------------------------------------------------------------------------- 1 | def full_title(page_title) 2 | base_title = "Ruby on Rails Tutorial Sample App" 3 | if page_title.empty? 4 | base_title 5 | else 6 | "#{base_title} | #{page_title}" 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /ruby/rails/sample_app/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/vendor/assets/javascripts/.keep -------------------------------------------------------------------------------- /ruby/rails/sample_app/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hypermkt/playground/26b8b037ce84713843d8011be03689560868c62a/ruby/rails/sample_app/vendor/assets/stylesheets/.keep -------------------------------------------------------------------------------- /ruby/ranking-with-json/json-parse.rb: -------------------------------------------------------------------------------- 1 | require 'json' 2 | 3 | json = JSON.parse(STDIN.read, symbolize_names: true) 4 | # https://ref.xaio.jp/ruby/classes/array/slice 5 | p json.slice(0, 3) 6 | -------------------------------------------------------------------------------- /ruby/ranking-with-redis/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } 3 | 4 | gem "redis" 5 | -------------------------------------------------------------------------------- /ruby/ranking-with-redis/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | redis (4.1.2) 5 | 6 | PLATFORMS 7 | ruby 8 | 9 | DEPENDENCIES 10 | redis 11 | 12 | BUNDLED WITH 13 | 2.0.1 14 | -------------------------------------------------------------------------------- /ruby/ranking-with-redis/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | redis: 4 | image: redis:latest 5 | ports: 6 | - 6379:6379 7 | -------------------------------------------------------------------------------- /security/csrf/regex.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /security/php-conf-okinawa-2019/samples/directory-traversal/sample.txt: -------------------------------------------------------------------------------- 1 | Hello World -------------------------------------------------------------------------------- /security/php-conf-okinawa-2019/samples/docker/database/initdb.d/02_fixtures.sql: -------------------------------------------------------------------------------- 1 | insert into books (title) values ('hoge'); 2 | insert into books (title) values ('fuga'); 3 | 4 | 5 | insert into users(login_id, password) values ('taro', 'password'); 6 | -------------------------------------------------------------------------------- /security/php-conf-okinawa-2019/samples/docker/database/my.cnf: -------------------------------------------------------------------------------- 1 | [client] 2 | default-character-set=utf8mb4 3 | 4 | [mysqld] 5 | character_set_server=utf8mb4 6 | -------------------------------------------------------------------------------- /security/php-conf-okinawa-2019/samples/os-command-injection/sample.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 名前: 7 | 8 | 9 | -------------------------------------------------------------------------------- /security/php-conf-okinawa-2019/samples/xss/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 名前:
8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /slack/interactive-message/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | -------------------------------------------------------------------------------- /slack/interactive-message/config.sample.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section4/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section4/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section5/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section5/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section6/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section7/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section8/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /dist/* 3 | !.gitignore -------------------------------------------------------------------------------- /typescript/udemy/understanding-typescript-jp/section9/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | --------------------------------------------------------------------------------