- Algoritmms from the Wired story (https://www.youtube.com/watch?v=R-R0KrXvWbc)
- Step 1: Daisy
- Yellow center with white petals
- Step 2: White Cross
- Make sure each white petal on the cross is adjacent to two squares of the same color
- Step 3: Solve the Bottom Layer
- Pick white corner pieces and move them down by executing a trigger move on the color of the adjacent face
- If there is a white corner at the top
- Position it on top of the right place and turn the cube to have the white corner on the right close to the front
- Step 1: Daisy
- Execute right trigger twice
This guide describes the process of configuring Enterprise Search and Kibana running in Elastic Cloud on Kubernetes (ECK) to work together. The final setup uses end-to-end TLS encryption with self-signed certificates managed by ECK.
Before you begin, you need a few pieces in place:
- Get a Kubernetes cluster
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
#!/usr/bin/env ruby | |
require 'manticore' | |
require 'webmock' | |
WebMock.disable_net_connect!(allow: 'example.org') | |
WebMock.enable! | |
client = Manticore::Client.new |
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
#!/usr/bin/env ruby | |
require 'softlayer_api' | |
require 'pp' | |
require 'pry' | |
# Credentials to the API are read from a configuration file by default. | |
# See https://github.com/softlayer/softlayer-ruby/blob/master/lib/softlayer/Config.rb#L11-L44 | |
client = SoftLayer::Client.new(timeout: 120) | |
pool_id = 193291 |
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
<img src=x onerror=alert(document.cookie)> |
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 'formula' | |
class V8 < Formula | |
homepage 'http://code.google.com/p/v8/' | |
# Use the official github mirror, it is easier to find tags there | |
url 'https://github.com/v8/v8/archive/3.16.14.tar.gz' | |
sha1 'd33c47b9a0179527966ac3edbfcd40113653eab6' | |
head 'https://github.com/v8/v8.git' |
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
[[email protected] ~]# dig @NS1.HOVER.COM +short hover.com | |
;; connection timed out; no servers could be reached | |
[[email protected] ~]# dig @NS2.HOVER.COM +short hover.com | |
;; connection timed out; no servers could be reached | |
[[email protected] ~]# dig @NS3.HOVER.COM +short hover.com | |
;; connection timed out; no servers could be reached |
I hereby claim:
- I am kovyrin on github.
- I am kovyrin (https://keybase.io/kovyrin) on keybase.
- I have a public key whose fingerprint is E7D5 5EFE F899 C5E1 BEF8 5A3C C286 54FB 3764 5E8D
To claim this, I am signing this object:
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
~/work/OPENSOURCE/db-charmer/db-charmer 0 (rails4 *$)$ RAILS_VERSION=4.0.5 ./ci_build | |
----------------------------------------------------------------------------------------------------------------- | |
* Running specs for Rails version 4.0.5... | |
* Ruby version: ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin13.0.0] | |
* Rubygems version: 2.2.2 | |
* DbCharmer gem version: 'trunk' | |
----------------------------------------------------------------------------------------------------------------- | |
.... | |
.... | |
Finished in 31.4 seconds (files took 1.01 seconds to load) |
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
14/02/18 19:10:08 INFO net.NetworkTopology: Adding a new node: /default/10.84.56.10:50010 | |
14/02/18 19:10:08 INFO net.NetworkTopology: Adding a new node: /default/10.80.72.204:50010 | |
14/02/18 19:10:08 INFO net.NetworkTopology: Adding a new node: /default/10.60.120.8:50010 | |
14/02/18 19:10:08 INFO net.NetworkTopology: Adding a new node: /default/10.80.72.196:50010 | |
14/02/18 19:10:08 INFO net.NetworkTopology: Adding a new node: /default/10.84.56.2:50010 | |
14/02/18 19:10:08 INFO balancer.Balancer: 4 over-utilized: [Source[10.84.56.10:50010, utilization=38.16673473609848], Source[10.60.120.8:50010, utilization=38.864087345097474], Source[10.80.72.196:50010, utilization=37.031010603198204], Source[10.84.56.2:50010, utilization=39.10853173385409]] | |
14/02/18 19:10:08 INFO balancer.Balancer: 0 underutilized: [] | |
14/02/18 19:10:08 INFO balancer.Balancer: Need to move 304.36 GB to make the cluster balanced. | |
14/02/18 19:10:08 INFO balancer.Balancer: Decided to move 10 GB bytes from 10.84.56.10:50010 to 10.80.72.204:50010 | |
14/02/1 |
NewerOlder