Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

cedric walter cedricwalter

View GitHub Profile
@cedricwalter
cedricwalter / gpg_git_signing.md
Last active Oct 16, 2018
using GPG to sign your GIT commit
View gpg_git_signing.md

Windows

run once to create trustdb

gpg --list-secret-keys --keyid-format LONG

Common

@cedricwalter
cedricwalter / readme.md
Last active Jan 9, 2019
Sonatype NEXUS 2 has a rest API :-) but NEXUS 3 has none/not ready, the following simulate curl/wget call
View readme.md

Fetching artifact programmatically through REST/API fro Nexus2/3

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

Nexus 2.x

Nexus 2.x had a REST API to download artifacts based on some Maven GAV co-ordinates

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

or

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:

@cedricwalter
cedricwalter / notes.txt
Last active Feb 10, 2017
Aeontec, raspberryPi3, openHabian, openHab, FIbaro sensor
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
@cedricwalter
cedricwalter / mergeGitRepositories.sh
Created Jul 14, 2016
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 <my_repo_urls.lst> is a file contaning the URLs to the respositories which ar…
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
@cedricwalter
cedricwalter / build-ars-releases.sh
Last active Mar 10, 2017
Build your own version of Akeeba release, use at your own risk, not endorsed by https://www.akeebabackup.com/
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
@cedricwalter
cedricwalter / build-ars-subscriptions.sh
Last active May 19, 2016
Build your own version of Akeeba Subscription, use at your own risk, not endorsed by https://www.akeebabackup.com/
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
@cedricwalter
cedricwalter / jedupdate.xsd
Created Dec 30, 2014
Joomla JED Schema Validation: Remote Listing Administration: Keep your listing up-to-date using a XML file hosted on your own server.
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"/>
@cedricwalter
cedricwalter / Usage example
Last active Aug 29, 2015
Automatically renew Joomla Showcase Site Safely
View Usage example
run in a shell
./renew.sh renew-joomla3.cfg
or better in a crontab every 30 minutes
@cedricwalter
cedricwalter / gist:8cf67b2acc6a4d062860
Created Sep 19, 2014
My personal Chocolatey list of softwares
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
You can’t perform that action at this time.