- Get Vagrantfile from here
- vagrant up and vagrant ssh
- Fire command
oc new-app nodejs-example
- Expect:
- --> Success message at the end of command output.
This file contains hidden or 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
[vagrant@centos7-adb ~]$ docker images | |
REPOSITORY TAG IMAGE ID CREATED SIZE | |
docker.io/openshift/origin-sti-builder latest e3bfb30fa8d1 5 weeks ago 425.8 MB | |
docker.io/openshift/origin-deployer latest 77e40fdef408 5 weeks ago 425.8 MB | |
docker.io/openshift/origin-docker-registry latest 099b4288fd91 5 weeks ago 337.1 MB | |
docker.io/openshift/origin-haproxy-router latest cffa9ad573ec 5 weeks ago 445 MB | |
docker.io/openshift/origin latest fa7bd2e9e7e1 5 weeks ago 425.8 MB | |
docker.io/openshift/origin-deployer v1.3.0-alpha.2 112b6b61d786 5 weeks ago 415 MB | |
docker.io/openshift/origin-pod v1.3.0-alpha.2 50762cad5302 5 weeks ago 1.59 MB |
This file contains hidden or 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
# List System(s) | |
virsh -c qemu:///system list | |
virsh list # List running | |
virsh list --all # List all | |
# Open guest VM console | |
virsh console <instance> | |
# Control specific instance | |
virsh start <instance> |
This file contains hidden or 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
$ vagrant plugin install ./vagrant-service-manager-1.1.1.gem | |
Installing the './vagrant-service-manager-1.1.1.gem' plugin. This can take a few minutes... | |
Bundler, the underlying system Vagrant uses to install plugins, | |
reported an error. The error is shown below. These errors are usually | |
caused by misconfigured plugin installations or transient network | |
issues. The error from Bundler is: | |
Could not find gem 'vagrant-service-manager (= 1.1.1) x86-mingw32' in any of the gem sources listed in your Gemfile | |
or available on this machine. |
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
- Joins the specified channel.
/part #channel
- Leaves the specified channel.
This file contains hidden or 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
$ jekyll serve --watch | |
Configuration file: /home/budhram/_work/blogging/budhrg.github.io/_config.yml | |
Deprecation: Please change 'use_coderay' to 'enable_coderay' in your configuration file. | |
Deprecation: You appear to have pagination turned on, but you haven't included the `jekyll-paginate` gem. Ensure you have `gems: [jekyll-paginate]` in your configuration file. | |
Source: /home/budhram/_work/blogging/budhrg.github.io | |
Destination: /home/budhram/_work/blogging/budhrg.github.io/_site | |
Incremental build: disabled. Enable with --incremental | |
Generating... | |
Dependency Error: Yikes! It looks like you don't have pygments or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- pygments' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! | |
Liquid Exception: pygments in /home/budhram/_work/blogging/budhrg.github.io/_posts/ |
This file contains hidden or 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 'gmail' | |
require 'nokogiri' | |
# ... ur usual code | |
doc = Nokogiri::HTML::Document.parse(version_change_email.body.to_s) | |
puts doc.text |
This file contains hidden or 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
q1: | |
title: "this is title" | |
steps: | |
- aaa | |
- bbb | |
- ccc |
This file contains hidden or 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
.splitter_panel .vsplitter { | |
position: absolute; | |
right: 0; | |
top: 0; | |
bottom: 0; | |
width: 6px !important; | |
background-color: gray; | |
cursor: ew-resize; | |
line-height: 15px; | |
font-size: 14px; |