Skip to content

Instantly share code, notes, and snippets.

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

Travis Mathis travisdmathis

🏠
Working from home
  • Vermont
View GitHub Profile
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')
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')
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
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
./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.
Traviss-MacBook-Pro:~ fluffheadsr$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
-sh: syntax error near unexpected token `<'
### ERROR ###
undefined method `each' for nil:NilClass
### /views/posts/_latest.html ###
<table>
<tr>
<th>Name</th>
<th>Title</th>
<th>Content</th>
### accordion.js -- /assets/javascripts/accordion.js
jQuery(document).ready(function(){
$('.accordion .head').click(function() {
$(this).next().toggle('slow');
return false;
}).next().hide();
});
### application.js ###
<div class="carousel-caption">
<h4>Launch Day 10% OFF!</h4>
<h5>Welcome to CloudPokerDB.com use Coupon LAUNCHDAY to get 10% off your first month!</h5>
<button type="button" class="btn btn-success" data-loading-text="Loading...">Sign Up Now!</button>
</div>
<div class="hero-unit">
<div id="myCarousel" class="carousel slide">
<div class="carousel-inner">
<div class="item active">
<img src="assets/launchday.png" alt="CloudPokerDB.com Is Open For Business!">
<div class="carousel-caption">
<h4>Launch Day 10% OFF!<button type="button" class="btn btn-large btn-success pull-right" data-loading-text="Loading...">Sign Up Now!</button></h4>
<h5>Welcome to CloudPokerDB.com use Coupon LAUNCHDAY to get 10% off your first month!</h5>
</div>
</div>