View readme.md

Fetching artifact programmatically through REST/API

Nexus 2.x

Nexus 2.x had a REST API to download artifacts like below based on some Maven GAV co-ordinates but this no longer works for Nexus 3.x

wget "http://local:8081/service/local/artifact/maven/redirect?g=com.mycompany&a=my-app&v=LATEST" --content-disposition

or

curl --insecure "https://local:8081/service/local/artifact/maven/content?r=public&g=log4j&a=log4j&v=1.2.17&p=jar&c=" > log4j.jar

View keybase.md

Keybase proof

I hereby claim:

  • I am cedricwalter on github.
  • I am cedricwalter (https://keybase.io/cedricwalter) on keybase.
  • I have a public key ASCmyW9-Cfg8Ore2_Z7arazMcIXjwgqwhKDhPVrTIB8UVAo

To claim this, I am signing this object:

View notes.txt
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
View mergeGitRepositories.sh
#!/bin/bash
#
################################################################################
## Script to merge multiple git repositories into a new repository
## - The new repository will contain a folder for every merged repository
## - The script adds remotes for every project and then merges in every branch
## and tag. These are renamed to have the origin project name as a prefix
##
## Usage: mergeGitRepositories.sh <new_project> <my_repo_urls.lst>
## - where <new_project> is the name of the new project to create
View build-ars-releases.sh
#!/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
View build-ars-subscriptions.sh
#!/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
View jedupdate.xsd
<?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"/>
View Usage example
run in a shell
./renew.sh renew-joomla3.cfg
or better in a crontab every 30 minutes
View gist:8cf67b2acc6a4d062860
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
cinst ChocolateyGUI notepadplusplus git 7zip GoogleChrome Firefox flashplayerplugin vlc adobereader mysql.workbench sysinternals fiddler dropbox skype DotNet4.5.1 teamviewer
cinst gimp winscp SourceTree mysql googledrive truecrypt f.lux keepass TotalCommander android-sdk git.commandline picasa mpc-hc XnView spybot
cinst WindowsLiveWriter freemind jdownloader AndroidStudio intellijidea-ultimate java.jdk winsplit MicrosoftSecurityEssentials mariadb RocketDock
cinst jdk8 AdobeAIR
View .gitattributes
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.java text
*.xml text
*.xsl text
*.csv text
*.conf text