Put the script in ~/.docker/cli-plugin/docker-intel.
docker intel COMMAND
| // Visit https://twitter.com/settings/muted_keywords | |
| // Open Developer tools console | |
| // Paste and run the following code: | |
| (async () => { | |
| const keywords = `ActivityTweet | |
| filter:follows -filter:replies | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity |
共有担当: @miyajan
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| readonly apps=( | |
| "GoogleJapaneseInput.app:-10" | |
| "zoom.us.app:10" | |
| ) | |
| sudo echo -n |
| #!/usr/bin/env bash | |
| eval "$(anyenv lazyload)" | |
| for envtool in $(\ls ~/.anyenv/envs) | |
| do | |
| ${envtool} --version | |
| done | |
| anyenv update |
| class Emacs < Formula | |
| desc "GNU Emacs text editor" | |
| homepage "https://www.gnu.org/software/emacs/" | |
| url "https://ftp.gnu.org/gnu/emacs/emacs-25.3.tar.xz" | |
| sha256 "253ac5e7075e594549b83fd9ec116a9dc37294d415e2f21f8ee109829307c00b" | |
| head do | |
| url "https://github.com/emacs-mirror/emacs.git" | |
| depends_on "autoconf" => :build |
| class Emacs < Formula | |
| desc "GNU Emacs text editor" | |
| homepage "https://www.gnu.org/software/emacs/" | |
| url "https://ftpmirror.gnu.org/emacs/emacs-25.1.tar.xz" | |
| mirror "https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz" | |
| sha256 "19f2798ee3bc26c95dca3303e7ab141e7ad65d6ea2b6945eeba4dbea7df48f33" | |
| bottle do | |
| rebuild 4 | |
| sha256 "c80ef281b85fb8a8bd65a84676056ea41d7bb2954d5c82193eef2acea2ade856" => :sierra |
| require 'net/http' | |
| require 'openssl' | |
| host = 'www.google.com' | |
| https = Net::HTTP.new(host, 443) | |
| #https.open_timeout = SYSTEM_TIMEOUT_SEC | |
| #https.read_timeout = SYSTEM_TIMEOUT_SEC | |
| https.use_ssl = true | |
| https.verify_mode = OpenSSL::SSL::VERIFY_PEER |
| import org.openqa.selenium.phantomjs.PhantomJSDriver | |
| import org.openqa.selenium.remote.DesiredCapabilities | |
| driver = { | |
| def capabilities = new DesiredCapabilities() | |
| capabilities.setCapability( | |
| 'phantomjs.page.settings.userAgent', | |
| 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)' | |
| ) | |
| new PhantomJSDriver(capabilities) |
| String.metaClass.getLanguage = { "Groovy" } | |
| String.metaClass.getLang = { "Groovy" } | |
| assert "JGGUG".language == "Groovy" | |
| assert "JGGUG".lang == "Groovy" |