Skip to content

Instantly share code, notes, and snippets.

View travisdmathis's full-sized avatar
🏠
Working from home

Travis Mathis travisdmathis

🏠
Working from home
View GitHub Profile
### ERROR ###
undefined method `each' for nil:NilClass
### /views/posts/_latest.html ###
<table>
<tr>
<th>Name</th>
<th>Title</th>
<th>Content</th>
Traviss-MacBook-Pro:~ fluffheadsr$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
-sh: syntax error near unexpected token `<'
./run_fpdb.py
** (fpdb_prerun.py:21938): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (fpdb_prerun.py:21938): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (fpdb_prerun.py:21938): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Python 2.7...
Failed to load libs for graphing, graphing will not function. Please install numpy and matplotlib if you want to use graphs.
This is of no consequence for other parts of the program, e.g. import and HUD are NOT affected by this problem.
axilla@linux-9qm3:~/.wine/drive_c/Program Files (x86)/LockPoker> wine client.exe
wine: Unhandled exception 0xc0000409 at address 0x13fd0b4c (thread 0009), starting debugger...
Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
0000001f 0
0000001e 0
Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /srv/www/htdocs/zbxx/lib/Cake/Cache/Cache.php on line 310 Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /srv/www/htdocs/zbxx/lib/Cake/Cache/Cache.php on line 310 Warning: /srv/www/htdocs/zbxx/app/tmp/cache/persistent/ is not writable in /srv/www/htdocs/zbxx/lib/Cake/Cache/Engine/FileEngine.php on line 320 Warning: /srv/www/htdocs/zbxx/app/tmp/cache/models/ is not writable in /srv/www/htdocs/zbxx/lib/Cake/Cache/Engine/FileEngine.php on line 320 Warning: /srv/www/htdocs/zbxx/app/tmp/cache/ is not writable in /srv/www/htdocs/zbxx/lib/Cake/Cache/Engine/FileEngine.php on line 320
def toggleMonitoringToolbar(self):
toggle = False
if toggle is False:
monitorDashAction = QtGui.QAction(QtGui.QIcon('images/icons/dashboard.png'), 'Dashboard', self)
monitoringToolbar = self.addToolBar('Monitoring Toolbar')
monitoringToolbar.addAction(monitorDashAction)
toggle = True
else:
monitoringToolbar = self.removeToolBar('Monitoring Toolbar')
def toggleMonitoringToolbar(self):
monitoringToolbarVisibility = 0
if monitoringToolbarVisibility is 0:
monitoringToolbar = self.addToolBar('monitoringbar')
monitoringToolbar.addAction('Dashboard')
monitoringToolbar.addAction('Overivew')
monitoringToolbar.addAction('Web')
monitoringToolbar.addAction('Latest Data')
monitoringToolbar.addAction('Hosts')