Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
install | |
url --url http://mirrors.liquidweb.com/CentOS/6.5/os/x86_64/ | |
# if you use proxy | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
rootpw password | |
authconfig --enableshadow --passalgo=sha512 | |
timezone PST | |
bootloader --location=mbr |
Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
#!/usr/bin/env python | |
from pyvirtualdisplay import Display | |
from selenium import webdriver | |
import unittest, time | |
#display = Display(visible=0, size=(800, 600)) | |
#display.start() | |
browser = webdriver.Firefox() |
{ | |
"rankDir" : "TB", | |
"template" : "", | |
"state_type" : "both", | |
"name" : "presentation uploads presentation viewing", | |
"nodes" : [ | |
{ | |
"function" : "worst()", | |
"create_obj" : 1, | |
"label" : "presentation uploads presentation viewing", |
unknown attribute: aggregation in event_waiting.cfg:4 | |
unknown attribute: duplicate_foreach in event_waiting.cfg:4 | |
unknown attribute: aggregation in replicatset.cfg:2 | |
unknown attribute: aggregation in templates.cfg:42 | |
unknown object type 'discoveryrule' in discovery.cfg:2 | |
unexpected end of object in discovery.cfg:7 | |
expected end of object in /usr/local/shinken/etc/packs/network/fortinet/discovery.cfg:7 | |
unknown attribute: duplicate_foreach in check_safekit_cluster_state.cfg:1 | |
unknown object type 'discoveryrule' in discovery.cfg:2 | |
unexpected end of object in discovery.cfg:7 |
define module { | |
modules Apache_passwd, ActiveDir_UI, Cfg_password, PNP_UI, Mongodb, Glances_UI | |
manage_acl 1 | |
play_sound 0 | |
host 0.0.0.0 | |
module_type webui | |
allow_html_output 0 | |
max_output_length 100 | |
module_name WebUI | |
auth_secret CHANGE_ME |
define scheduler { | |
data_timeout 120 | |
check_interval 60 | |
weight 1 | |
skip_initial_broks 0 | |
modules PickleRetention,PickleRetention | |
spare 0 | |
timeout 3 | |
address snode00.foo.dev | |
scheduler_name scheduler-Outside |
└─▪ easy_install | |
Traceback (most recent call last): | |
File "/usr/bin/easy_install", line 9, in <module> | |
load_entry_point('distribute', 'console_scripts', 'easy_install')() | |
File "/usr/lib/python2.6/site-packages/setuptools-1.3-py2.6.egg/pkg_resources.py", line 357, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/usr/lib/python2.6/site-packages/setuptools-1.3-py2.6.egg/pkg_resources.py", line 2393, in load_entry_point | |
raise ImportError("Entry point %r not found" % ((group,name),)) |
==> /home/foobar/.pulp/server_calls.log <== | |
2013-10-10 10:44:53,188 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None | |
2013-10-10 10:44:53,188 - INFO - Response status : 401 | |
2013-10-10 10:44:53,188 - INFO - Response body : | |
"Permission Denied" | |
==> /home/foobar/.pulp/admin.log <== | |
2013-10-10 10:44:53,189 - ERROR - Client-side exception occurred |
[root@cnode01 code]# chef-apply tdi.rb | |
Recipe: (chef-apply cookbook)::(chef-apply recipe) | |
* user[tdi] action create (up to date) | |
* template[/tmp/tdi.txt] action create | |
================================================================================ | |
Error executing action `create` on resource 'template[/tmp/tdi.txt]' | |
================================================================================ | |
NoMethodError | |
------------- |