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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "strconv" | |
| "github.com/miekg/dns" | |
| ) |
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
| cat test.json |jq -r ".AvailabilityZones[] | .ZoneName " | tr '\n' ' ' |
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
| <div class="row"> | |
| <div class="col-xs-8"><h2 class="text-primary text-center">CatPhotoApp</h2></div> | |
| <div class="col-xs-4"> | |
| <a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a></div> | |
| </div> | |
| <img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Thr |
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
| function add_repo_url { | |
| local repo="${1?}" | |
| read -p "Enter repository URL for '$repo': " url | |
| mkdir -p /etc/kiwi | |
| echo "{$repo} $url" >> /etc/kiwi/repoalias \ | |
| && echo "{$repo} $url alias added to /etc/kiwi/repoalias" | |
| } |
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
| # for f in /usr/lib*/libdb* ; do echo "==> $f"; rpm -qf $f; done | |
| ==> /usr/lib64/libdb-4.5.so | |
| libdb-4_5-4.5.20-131.6.x86_64 | |
| ==> /usr/lib64/libdb-4.8.so | |
| libdb-4_8-4.8.30-30.4.x86_64 | |
| ==> /usr/lib64/libdb_cxx-4.5.so | |
| libdb-4_5-4.5.20-131.6.x86_64 | |
| ==> /usr/lib64/libdb_cxx-4.8.so | |
| libdb-4_8-4.8.30-30.4.x86_64 | |
| ==> /usr/lib64/libdbus-glib-1.so.2 |
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
| rpm -qf /usr/lib*/libdb* | |
| libdb-4_5-4.5.20-131.6.x86_64 | |
| libdb-4_8-4.8.30-30.4.x86_64 | |
| libdb-4_5-4.5.20-131.6.x86_64 | |
| libdb-4_8-4.8.30-30.4.x86_64 | |
| dbus-1-glib-0.100.2-3.2.x86_64 | |
| dbus-1-glib-0.100.2-3.2.x86_64 | |
| libdbusmenu-glib4-12.10.3+bzr20150410-3.2.x86_64 | |
| libdbusmenu-glib4-12.10.3+bzr20150410-3.2.x86_64 | |
| libdbusmenu-gtk3-4-12.10.3+bzr20150410-3.2.x86_64 |
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
| serverspec rubocop | |
| Running RuboCop... | |
| Inspecting 109 files | |
| ...........................................E................................................................. | |
| Offenses: | |
| /mnt/ebs/jenkins-slave/workspace/puppet-serverspec-rubocop/spec/common/cl_dss_jbalancer/jbalancer_spec.rb:31:1: E: unexpected token $end | |
| (Using Ruby 2.0 parser; configure using TargetRubyVersion parameter, under AllCops) |
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
| Error: Execution of '/bin/yum -d 0 -e 0 -y install postgresql9-libs' returned 1: Transaction check error: | |
| file /usr/lib64/libecpg.so.6.4 from install of postgresql9-libs-9.2.8-12.el7.gdc4.x86_64 conflicts with file from package postgresql-libs-9.2.14-1.el7_1.x86_64 | |
| file /usr/lib64/libecpg_compat.so.3.4 from install of postgresql9-libs-9.2.8-12.el7.gdc4.x86_64 conflicts with file from package postgresql-libs-9.2.14-1.el7_1.x86_64 | |
| file /usr/lib64/libpgtypes.so.3.3 from install of postgresql9-libs-9.2.8-12.el7.gdc4.x86_64 conflicts with file from package postgresql-libs-9.2.14-1.el7_1.x86_64 | |
| file /usr/lib64/libpq.so.5.5 from install of postgresql9-libs-9.2.8-12.el7.gdc4.x86_64 conflicts with file from package postgresql-libs-9.2.14-1.el7_1.x86_64 | |
| file /usr/share/locale/es/LC_MESSAGES/ecpglib6-9.2.mo from install of postgresql9-libs-9.2.8-12.el7.gdc4.x86_64 conflicts with file from package postgresql-libs-9.2.14-1.el7_1.x86_64 | |
| file /usr/share/locale/fr/ |
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
| pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" | |
| pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" |
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
| <p id="notice"><%= notice %></p> | |
| <ul> | |
| <li> | |
| <em>Name:</em> | |
| <%= @weapon.name %> | |
| </li> | |
| <li> | |
| <em>Condition:</em> | |
| <span id="condition"><%= @weapon.condition %></span> | |
| <%= link_to "Toggle", toggle_condition_user_weapon_path(@user, @weapon), remote: true %> |