Installing mysql2 gem errors on MacOS Catalina with MySQL 5.7.
Make sure openssl is installed on Mac via Homebrew.
brew install openssl
| Copyright (C) 2011 by Colin MacKenzie IV | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in |
| body { | |
| text-align: center; | |
| > #container { | |
| text-align:left; | |
| margin:0 auto; | |
| width:500px; | |
| } | |
| } | |
| ## Templates for guava ## | |
| .toList : convert to ImmutableList | |
| java.util.stream.Stream -> $expr$.collect(com.google.common.collect.ImmutableList.toImmutableList()) |
Author: Chris
Date: 2017-02-17
線上MarkDown編輯器
Author: Chris
Date: 2017-02-17
線上MarkDown編輯器
| #載入selenium套件 | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| import time | |
| #我的chromedriver路徑 | |
| chrome_driver_path = '/Users/ting11222001/Downloads/chromedriver' | |
| #第一個頁面的url | |
| url = 'https://gogakuru.com/english/phrase/genre/180_%E5%88%9D%E7%B4%9A%E3%83%AC%E3%83%99%E3%83%AB.html?layoutPhrase=1&orderPhrase=1&condMovie=0&flow=enSearchGenre&condGenre=180&perPage=50' |
| /* | |
| Arc Dark theme for styling Vimium link hints | |
| By Giorgi Gzirishvili (@giogziro95). This code is in the public domain. | |
| To use: | |
| 1. Copy the code. | |
| 2. Go to the Vimium options. | |
| 3. Click Show Advanced Options. |
| # frozen_string_literal: true | |
| source 'https://rubygems.org' | |
| gem 'activesupport' | |
| gem 'minitest' | |
| gem 'minitest-reporters', '>= 0.5.0' | |
| gem 'rr' | |
| gem 'rubocop' |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"