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
#!/bin/bash | |
# you need some dependencies, run them once | |
# pear channel-discover pear.phing.info | |
# pear install [--alldeps] phing/phing | |
# pear install -f VersionControl_SVN | |
# the major difficulties is to find a combination of version that work together...these are the latest as of today 19.05.2016 | |
export release_version=3.1.1 | |
export buildfiles_version=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
Here are my notes since i am still strugling to make it work, it may help you | |
Hardware | |
* rapsberry PI 3 with Linux openHABianPi 4.4.0-1-rpi2 #1 SMP Debian 4.4.6-1+rpi14 (2016-05-05) armv7l GNU/Linux | |
* openHAB 2.0.0-1 (Release Build) on /dev/ttyACM0 | |
* Latest AEONtec Gen5 USB | |
* Fibaro FGMS001-001 ZW5 Motion Sensor firmware v3.2 | |
* Vision plus zwave plus siren | |
Attention: Order a lamp or something not harmful (like a siren that run for 30s) to test your automation rules |
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
<!-- to be saved at /usr/share/nginx/html/404.html --> | |
<html lang="en"><head><meta charset="utf-8"> | |
<meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width"> | |
<title>Error 404 (Not Found)!!1</title> | |
<style> | |
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}} | |
</style> | |
<link type="text/css" rel="stylesheet" href="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/style.css"><script type="text/javascript" charset="utf-8" src="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/page_context.js"></script></head><body screen_capture_injected="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
#!/bin/bash | |
# you need some dependencies, run them once | |
# pear channel-discover pear.phing.info | |
# pear install [--alldeps] phing/phing | |
# pear install -f VersionControl_SVN | |
# the major difficulty is to find a combination of versions that work together...these are the latest as of today 19.05.2016 | |
export akeebasubs_version=5.1.1 | |
export buildfiles_version=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
truncate #__ucm_content; | |
INSERT INTO sd7c5_ucm_content | |
(core_type_alias, | |
core_title, core_alias, | |
core_body, | |
core_state, | |
core_checked_out_time, core_checked_out_user_id, | |
core_access, | |
core_params, | |
core_featured, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$("td.buildConfigurationName IMG[src *= 'success.gif']") | |
.parents("table") | |
.addClass("buildSuccess"); |
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
truncate #__tags; | |
INSERT INTO sd7c5_tags | |
(id, parent_id, lft, rgt, `level`, | |
path, title, alias, note, description, | |
published, checked_out, checked_out_time, access, params, | |
metadesc, metakey, metadata, created_user_id, | |
created_time, created_by_alias, modified_user_id, modified_time, | |
images, urls, hits, | |
`language`, version, publish_up, publish_down) |
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
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' | |
alias .....='cd ../../../..' | |
alias ..='cd ..' | |
alias ..2='cd ../..' | |
alias ..3='cd ../../..' | |
alias ..4='cd ../../../..' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xs:element name="jedupdate"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element ref="core_body"/> | |
<xs:element ref="homepage_link"/> | |
<xs:element ref="download_link"/> | |
<xs:element ref="demo_link"/> | |
<xs:element ref="documentation_link"/> |
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
run in a shell | |
./renew.sh renew-joomla3.cfg | |
or better in a crontab every 30 minutes |