Skip to content

Instantly share code, notes, and snippets.

View cedricwalter's full-sized avatar
💭
Hello world

cedric walter cedricwalter

💭
Hello world
View GitHub Profile
@cedricwalter
cedricwalter / .env
Last active February 8, 2024 09:56
jellyfin on steroids
DOCKER_HOME=/root/docker
MEDIA_PUID=1000
MEDIA_PGID=1000
AUDIOBOOK_PATH=/media/audio
COMIC_PATH=/media/comic
BOOK_PATH=/media/book
MUSIC_PATH=/media/music
TZ=Europe/Paris
HOMARR_ADMIN_PWD=xxxxxxx
POSTGRES_DB=jellyserrdb
@cedricwalter
cedricwalter / gpg_git_signing.md
Last active August 2, 2020 13:12
using GPG to sign your GIT commit

Windows

run once to create trustdb

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

Common

@cedricwalter
cedricwalter / readme.md
Last active October 29, 2021 08:56
Sonatype NEXUS 2 has a rest API :-) but NEXUS 3 has none/not ready, the following simulate curl/wget call

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

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 February 10, 2017 09:22
Aeontec, raspberryPi3, openHabian, openHab, FIbaro sensor
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 July 14, 2016 12:33
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…
#!/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 March 10, 2017 14:58
Build your own version of Akeeba release, use at your own risk, not endorsed by https://www.akeebabackup.com/
#!/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 20:12
Build your own version of Akeeba Subscription, use at your own risk, not endorsed by https://www.akeebabackup.com/
#!/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 December 30, 2014 15:01
Joomla JED Schema Validation: Remote Listing Administration: Keep your listing up-to-date using a XML file hosted on your own server.
<?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"/>