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
<%= form_for(@job, :class=>"form-horizontal") do |f| %> | |
<% if @job.errors.any? %> | |
<div id="error_explanation"> | |
<h2><%= pluralize(@job.errors.count, "error") %> prohibited this job from being saved:</h2> | |
<ul> | |
<% @job.errors.full_messages.each do |msg| %> | |
<li><%= msg %></li> | |
<% end %> | |
</ul> |
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
dmi | |
base_board | |
all_records | |
0 | |
Asset Tag | |
00000000000000000000000000000000 | |
Chassis Handle | |
0x0003 | |
Contained Object Handles | |
0 |
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
oem_strings | |
all_records | |
array_handle | |
0x002A | |
asset_tag | |
A1_AssetTagNum1 | |
bank_locator | |
CHANNEL B-DIMM0 | |
bus_address | |
0000:00:1b.0 |
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
knife ssh -a ipaddress name:m223* -x remote "ls" | |
ERROR: JSON::ParserError: 387: unexpected token at '{"Asset Tag":"To Be Filled By O.E.M.","External Clock":"100 MHz","size":"4","Maximum Size":"3072 kB","Installed Size":"3072 kB","Flags":{"PSE (Page size extension)":null,"SSE (Streaming SIMD extensions)":null,"MSR (Model specific registers)":null,"PBE (Pending break enabled)":null,"TM (Thermal monitor supported)":null,"MCE (Machine check exception)":null,"FPU (Floating-point unit on-chip)":null,"PSE-36 (36-bit page size extension)":null,"MMX (MMX technology supported)":null,"SS (Self-snoop)":null,"MTRR (Memory type range registers)":null,"PAT (Page attribute table)":null,"DE (Debugging extension)":null,"APIC (On-chip APIC hardware supported)":null,"MCA (Machine check architecture)":null,"SSE2 (Streaming SIMD extensions 2)":null,"CMOV (Conditional move instruction supported)":null,"FXSR (FXSAVE and FXSTOR instructions supported)":null,"VME (Virtual mode extension)":null,"DS (Debug store)":null,"TSC (Time stamp |
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
knife ssh -VV name:m* ls | |
DEBUG: Using configuration from /.chef/knife.rb | |
DEBUG: Signing the request as | |
DEBUG: Sending HTTP Request via GET to chef-server.newground.com:443/search/node | |
DEBUG: ---- HTTP Status and Header Data: ---- | |
DEBUG: HTTP 1.1 200 OK | |
DEBUG: server: nginx/1.2.3 | |
DEBUG: date: Thu, 25 Oct 2012 14:41:11 GMT | |
DEBUG: content-type: application/json; charset=utf-8 | |
DEBUG: transfer-encoding: chunked |
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: JSON::ParserError: 387: unexpected token at '{"Asset Tag":"To Be Filled By O.E.M.","External Clock":"25 MHz","Maximum Size":"3072 kB","size":"4","Installed Size":"3072 kB","Flags":{"PSE (Page size extension)":null,"SSE (Streaming SIMD extensions)":null,"MSR (Model specific registers)":null,"PBE (Pending break enabled)":null,"FPU (Floating-point unit on-chip)":null,"TM (Thermal monitor supported)":null,"MCE (Machine check exception)":null,"MMX (MMX technology supported)":null,"PSE-36 (36-bit page size extension)":null,"MTRR (Memory type range registers)":null,"DE (Debugging extension)":null,"PAT (Page attribute table)":null,"SS (Self-snoop)":null,"CMOV (Conditional move instruction supported)":null,"SSE2 (Streaming SIMD extensions 2)":null,"APIC (On-chip APIC hardware supported)":null,"MCA (Machine check architecture)":null,"VME (Virtual mode extension)":null,"FXSR (FXSAVE and FXSTOR instructions supported)":null,"DS (Debug store)":null,"PGE (Page global enable)":null,"TSC (Time stamp counter)":null,"HT |
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
knife ssh name:m* "ls" | |
ERROR: JSON::ParserError: 387: unexpected token at '{"size":"0","Address":"0xF0000","Runtime Size":"64 kB","Vendor":"Intel Corp.","Characteristi' |
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
0 openssl recipe | |
1 postgresql::client recipe | |
2 ufw recipe | |
3 postgresql recipe | |
4 postgresql::server recipe | |
5 zabbix::default recipe | |
6 zabbix::agent_install recipe | |
7 zabbix::host_registration recipe |
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
def save_with_payment(plan, email,coupon_code) | |
if valid? | |
if coupon_code == 'LAUNCHDAY' || coupon_code = 'launchday' | |
customer = Stripe::Customer.create(description: "#{email}", plan: "#{plan}", card: stripe_card_token, coupon: "LAUNCHDAY") | |
self.stripe_customer_token = customer.id | |
save! | |
else | |
customer = Stripe::Customer.create(description: "#{email}", plan: "#{plan}", card: stripe_card_token ) | |
self.stripe_customer_token = customer.id |
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
if RAILS_ENV == 'production' | |
Spice.setup do |s| | |
s.server_url = "http://chef.cloudpokerdb.com:4000" | |
s.client_name = "cloudpokerdb-webserver" | |
s.client_key = Spice.read_key_file("/etc/chef/client.pem") | |
s.chef_version = "0.10.14" | |
end | |
else |