Skip to content

Instantly share code, notes, and snippets.

View evan4498's full-sized avatar

Evan Ochs evan4498

View GitHub Profile
@evan4498
evan4498 / gist:5773509
Created June 13, 2013 13:06
Cloud DB agent check
root@cloudserv:~# raxmon-checks-create --entity-id=enT8WCQUIs --label=clouddbcheck --type=agent.mysql --details="host=<REDACTED>.rackspaceclouddb.com","username=<REDACTED>","password=<REDACTED>","port=3306"
Resource created. ID: chV01XMDLx
root@cloudserv:~# raxmon-checks-test-existing --entity-id=enT8WCQUIs --id=chV01XMDLx
[{u'available': True,
u'metrics': {u'core.aborted_clients': {u'data': 36996,
u'type': u'L',
u'unit': u'clients'},
u'core.connections': {u'data': 2161933,
u'type': u'l',
@evan4498
evan4498 / gist:5767061
Last active December 18, 2015 10:18
packages.json
[
{
"name": "Windows Training",
"files": [
"file1.txt",
"file2.txt"
]
},
{
"name": "Linux Training",
@evan4498
evan4498 / gist:5767051
Last active December 18, 2015 10:18
packages.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2013 Rackspace
# All Rights Reserved.
#
# 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
#
@evan4498
evan4498 / gist:5760758
Last active December 18, 2015 09:19
Create temp url
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2013 Rackspace
# All Rights Reserved.
#
# 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
#
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.
@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
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
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
#
# 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
#
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_