Skip to content

Instantly share code, notes, and snippets.

View synox's full-sized avatar

Aravindo Wingeier synox

View GitHub Profile
@synox
synox / Start and change to tuner
Last active August 29, 2015 14:16
Yamaha RX-v673 Network-Control bookmarklet for firefox
javascript:(function(){var%20request1=new%20XMLHttpRequest();request1.open('POST','http://192.168.0.3/YamahaRemoteControl/ctrl',true);request1.send('<YAMAHA_AV%20cmd="PUT"><Main_Zone><Power_Control><Power>On</Power></Power_Control><Input><Input_Sel>TUNER</Input_Sel></Input></Main_Zone></YAMAHA_AV>');})()
tell application "System Events"
-- start playing with the VPN
tell current location of network preferences
-- set the name of the VPN service from your Network Settings
set VPNService to service "VPN myHome"
-- determine current VPN connection status
set isConnected to connected of current configuration of VPNService
if isConnected then
-- disconnect VPNService
else -- otherwise, connect to the VPN
@synox
synox / install SonarQube on Raspberry Pi
Last active October 4, 2022 12:06
How to install SonarQube on Raspberry PI
SonarQube does currently not support Raspberry PI.
This is a workaround. It compiles a armv6 compatible version of the java-wrapper and configures sonarqube to use it.
(Testet with Raspbian, wheezy, 3.6)
Compile java-wrapper for ARMv6
============================
Download latest version of " wrapper_prerelease_XY.tar" from http://wrapper.tanukisoftware.com/downloads/ (for me 3.5.17 works)