This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name awsconsole-open-service-bind | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description xxx | |
// @author komazarari@gmail.com | |
// @match https://*.console.aws.amazon.com/* | |
// @grant none | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@default-ubuntu-1604:~$ chef-client -v | |
Chef: 13.6.0 | |
ubuntu@default-ubuntu-1604:~$ apt-cache policy git | |
git: | |
Installed: 1:2.7.4-0ubuntu1 | |
Candidate: 1:2.7.4-0ubuntu1.3 | |
Version table: | |
1:2.7.4-0ubuntu1.3 500 | |
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages | |
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if uname | grep Darwin > /dev/null; then | |
BSD=true | |
else | |
BSD=false | |
fi | |
if $BSD; then | |
DATE_B2D=$(date -u -v-2d +"%Y-%m-%dT00:00:00") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur capistrano_v3.4.1/capistrano.gemspec capistrano/capistrano.gemspec | |
--- capistrano_v3.4.1/capistrano.gemspec 2016-05-29 19:49:15.375348143 +0900 | |
+++ capistrano/capistrano.gemspec 2016-05-29 19:48:33.282348056 +0900 | |
@@ -1,37 +1,32 @@ | |
# -*- encoding: utf-8 -*- | |
-lib = File.expand_path('../lib', __FILE__) | |
+lib = File.expand_path("../lib", __FILE__) | |
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |
-require 'capistrano/version' | |
+require "capistrano/version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rack/rpc' | |
require 'sucker_punch' | |
require 'open3' | |
class Server < Rack::RPC::Server | |
@@lock = Mutex.new | |
class Worker | |
include SuckerPunch::Job | |
workers 3 |