- Dump data in json or xml
- CRUD for Monitors and Events
- Set the Function of monitors
- Get the Status of monitors
This file contains 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
<Hashie::Mash data=[#<Hashie::Mash apparentTemperatureMax=38.19 apparentTemperatureMaxTime=1391194800 apparentTemperatureMin=19.51 apparentTemperatureMinTime=1391144400 cloudCover=0.71 dewPoint=20.89 humidity=0.68 icon="partly-cloudy-day" moonPhase=0.04 ozone=269.72 precipIntensity=0 precipIntensityMax=0 precipProbability=0 pressure=1022.02 summary="Mostly cloudy throughout the day." sunriseTime=1391170534 sunsetTime=1391207208 temperatureMax=40.43 temperatureMaxTime=1391194800 temperatureMin=19.51 temperatureMinTime=1391144400 time=1391144400 visibility=9.95 windBearing=212 windSpeed=1.68>, #<Hashie::Mash apparentTemperatureMax=36.43 apparentTemperatureMaxTime=1391284800 apparentTemperatureMin=28.03 apparentTemperatureMinTime=1391310000 cloudCover=0.82 dewPoint=31.11 humidity=0.86 icon="partly-cloudy-day" moonPhase=0.07 ozone=273.71 precipIntensity=0.0001 precipIntensityMax=0.0008 precipIntensityMaxTime=1391313600 precipProbability=0.02 precipType="rain" pressure=1022.74 summary="Mostly cloudy throughout the |
This file contains 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
fpm \ | |
--vendor ZoneMinder \ | |
--maintainer iconnor@you.com \ | |
--url https://github.com/ZoneMinder/ZoneMinder \ | |
--depends package1 package2 \ | |
--description 'ZoneMinder Description' \ | |
-n ZoneMinder \ | |
-s dir \ | |
-t deb \ | |
--before-remove /root/ZoneMinder/devops/prerm \ |
This file contains 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
[root@freenas] ~# zpool list bak | |
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT | |
bak 2.72T 728G 2.01T 26% 1.00x ONLINE - |
This file contains 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
xterm*selectToClipboard: true |
This file contains 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
root@ip-10-230-44-163:/opt/voltdb/bin# ./voltdb | |
ERROR: Failed to find the VoltDB jar file. | |
ERROR: You may need to perform a build. | |
ERROR: Searched the following: | |
ERROR: /opt/voltdb/bin/voltdb/voltdb-*.jar | |
ERROR: /opt/voltdb/bin/lib/voltdb/voltdb-*.jar | |
ERROR: /opt/voltdb/voltdb/voltdb-*.jar | |
ERROR: /opt/voltdb/lib/voltdb/voltdb-*.jar | |
ERROR: /opt/voltdb/voltdb-*.jar | |
ERROR: /opt/lib/voltdb/voltdb-*.jar |
This file contains 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
public function categories($category = null) { | |
if ($category != null) { | |
if (!$this->Config->find('first', array( 'conditions' => array('Config.Category' => $category)))) { | |
throw new NotFoundException(__('Invalid Config Category')); | |
} | |
$config = $this->Config->find('all', array( | |
'conditions' => array('Config.Category' => $category), | |
'recursive' => 0 | |
)); |
This file contains 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
int_if="fxp0" | |
ext_if="vr0" | |
camera_fd="192.168.11.20" | |
xbox_live_tcp_ports = "{ 53, 80, 3074 }" | |
xbox_live_udp_ports = "{ 53, 88, 500, 3074, 3544, 4500, 8083, 1780, 49164 }" | |
xbox = "192.168.11.5" | |
# options | |
set block-policy return | |
set loginterface egress |
This file contains 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
git clone git@github.com:ZoneMinder/ZoneMinder.git | |
cd ZoneMinder | |
git checkout -b api-updates | |
git fetch git@github.com:kylejohnson/ZoneMinder.git hipster-web-frontend | |
git checkout master | |
git cherry-pick 123 | |
git cherry-pick 456 | |
... | |
git push origin master |
This file contains 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
curl -XPOST http://zmdevapi/monitors.js -d "Monitor[Name]=Cliff-Burton \&Monitor[Function]=Modect \ &Monitor[Protocol]=http \ &Monitor[Method]=simple \&Monitor[Host]=ussr:pass@192.168.11.20 \ &Monitor[Port]=80 \ &Monitor[Path]=/mjpg/video.mjpg\ &Monitor[Width]=704 \ &Monitor[Height]=480 \ &Monitor[Colours]=4” |
OlderNewer