This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #justin.tv streaming command functionality | |
| streaming() { | |
| INRES="1440x900" # input resolution | |
| OUTRES="1440x900" # Output resolution | |
| FPS="35" # target FPS | |
| QUAL="medium" # one of the many FFMPEG preset on (k)ubuntu found in /usr/share/ffmpeg | |
| # If you have low bandwidth, put the qual preset on 'fast' (upload bandwidth) | |
| # If you have medium bandwitch put it on normal to medium |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem install fog | |
| Fetching: fog-1.9.0.gem (100%) | |
| Successfully installed fog-1.9.0 | |
| 1 gem installed | |
| Installing ri documentation for fog-1.9.0... | |
| Installing RDoc documentation for fog-1.9.0... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'xmlrpc/client' | |
| # A useful helper for running Confluence XML-RPC from Ruby. Takes care of | |
| # adding the token to each method call (so you can call server.getSpaces() | |
| # instead of server.getSpaces(token)). Also takes care of re-logging in | |
| # if your login times out. | |
| # | |
| # Usage: | |
| # | |
| # server = Confluence::Server.new :server => 'http://confluence02.lightningsoure.com' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {'ChassisIntrusion': 'inactive', | |
| 'CoolingFanFault': 'false', | |
| 'DriveFault': 'false', | |
| 'FrontPanelControl': 'none', | |
| 'FrontPanelLockout': 'inactive', | |
| 'LastPowerEvent': 'none', | |
| 'MainPowerFault': 'false', | |
| 'PowerControlFault': 'false', | |
| 'PowerInterlock': 'inactive', | |
| 'PowerOverload': 'false', |