Skip to content

Instantly share code, notes, and snippets.

View evan4498's full-sized avatar

Evan Ochs evan4498

View GitHub Profile
---
- name: Build a Cloud Server
hosts: localhost
connection: local
gather_facts: False
tasks:
- name: Server build request
local_action:
module: rax
credentials: ~/.rackspace_cloud_credentials
#!/usr/bin/python
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@evan4498
evan4498 / graylog2mon.sh
Created February 1, 2012 22:06
Script for monitoring graylog2 log file and restarting service
#!/bin/bash
#
# File: logmon.sh
# Description: Restart graylog2 if the error message is found in the current log file.
#
# History:
# Date Author Comment
# 2012-02-01 Evan Ochs initial version
#
@evan4498
evan4498 / gist:2702618
Created May 15, 2012 15:23
pip install fail on chef run
root@hosted-client:~# sudo chef-client -l debug
[Tue, 15 May 2012 15:22:54 +0000] INFO: *** Chef 0.10.10 ***
[Tue, 15 May 2012 15:22:54 +0000] DEBUG: Loading plugin os
[Tue, 15 May 2012 15:22:54 +0000] DEBUG: Loading plugin kernel
[Tue, 15 May 2012 15:22:54 +0000] DEBUG: Loading plugin ruby
[Tue, 15 May 2012 15:22:54 +0000] DEBUG: Loading plugin languages
[Tue, 15 May 2012 15:22:54 +0000] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(host_cpu=#{::Config::CONFIG['host_cpu']},host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_vendor=#{::Config::CONFIG['target_vendor']},version=#{RUBY_VERSION},target_os=#{::Config::CONFIG['target_os']},)" STDOUT ----
[Tue, 15 May
root@cmtest:~# chef-client -l debug
[2012-06-11T14:54:50+00:00] INFO: *** Chef 0.10.10 ***
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin os
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin kernel
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin ruby
[2012-06-11T14:54:50+00:00] DEBUG: Loading plugin languages
[2012-06-11T14:54:50+00:00] DEBUG: ---- Begin ruby -e "require 'rbconfig'; puts %Q(host_vendor=#{::Config::CONFIG['host_vendor']},target=#{::Config::CONFIG['target']},release_date=#{RUBY_RELEASE_DATE},ruby_bin=#{::File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])},bin_dir=#{::Config::CONFIG['bindir']},target_cpu=#{::Config::CONFIG['target_cpu']},host_os=#{::Config::CONFIG['host_os']},target_vendor=#{::Config::CONFIG['target_vendor']},platform=#{RUBY_PLATFORM},host=#{::Config::CONFIG['host']},target_os=#{::Config::CONFIG['target_os']},version=#{RUBY_VERSION},host_cpu=#{::Config::CONFIG['host_cpu']},)" STDOUT ----
[2012-06-11T14:54:50+00:00] DEBUG: host_vendor=pc,target=x86_
#
# Cookbook Name:: cloud_monitoring
# Recipe:: default
#
# Copyright 2012, Rackspace
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
r = gem_package "rackspace-monitoring" do
version node['cloud_monitoring']['version']
action :nothing
end
pkg_chk_cmd="dpkg -s libxslt-dev libxml2-dev"
if `#{pkg_chk_cmd}`
r.run_action(:install)
end
if system("dpkg -s libxslt-dev libxml2-dev")
r = gem_package "rackspace-monitoring" do
version node['cloud_monitoring']['version']
action :nothing
end
r.run_action(:install)
else
package "libxslt-dev" do
action :install
@evan4498
evan4498 / gist:2917908
Created June 12, 2012 14:35 — forked from eherot/gist:2917872
failure
case node[:platform]
when "ubuntu","debian"
package( "libxslt-dev" ).run_action( :install )
package( "libxml2-dev" ).run_action( :install )
when "redhat","centos","fedora","scientific"
package( "libxslt-devel" ).run_action( :install )
package( "libxml2-devel" ).run_action( :install )
end
r = gem_package "rackspace-monitoring" do
The game freezing is ridiculous... So many people on xb1 with the issue... Hard resets, rebooting router and cable modem, deleting and redownloading the game, putting it on an external usb3 hard drive, etc all don't work... It seems to be much worse if you snap an app like tv on the xb1 while you play, but happens with madden in full screen also... Seems to be worse since microsoft releasing the new NXOE dashboard also...
I would be happy to help do testing with y'all over streaming or whatever if y'all are not able to troubleshoot... Also, make sure you have a kinect plugged in while testing on your end, it may be coincidence but everyone i know with freezing issues also has kinect... I have not tried playing without kinect yet but will do that...
One other issue... If you get a notification or something while in the my auctions page the game crashes to the main menu... The setups:
1) Go to Auctions. Go to My items. Wait for a notification for an AH sale or whatever. Cancel an existing auction.