Skip to content

Instantly share code, notes, and snippets.

View ziouf's full-sized avatar

Cyril MARIN ziouf

  • MiiMOSA
  • France
View GitHub Profile
@ziouf
ziouf / JetBrains products Activation code until 15 May 2024
Created October 19, 2023 06:38 — forked from SoabY/JetBrains products Activation code until 15 May 2024
JetBrains products Activation code until 15 May 2024
8Z6IT0PIZH-eyJsaWNlbnNlSWQiOiI4WjZJVDBQSVpIIiwibGljZW5zZWVOYW1lIjoiSHVuYW4gTm9ybWFsIFVuaXZlcnNpdHkiLCJhc3NpZ25lZU5hbWUiOiJTdGFyayB6aGFuZyIsImFzc2lnbmVlRW1haWwiOiJzdGFyazE5ODUyMDIwQGdtYWlsLmNvbSIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDI0LTA1LTE1IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjAyNC0wNS0xNSIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwMjQtMDUtMTUiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDI0LTA1LTE1IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJSU0MiLCJwYWlkVXBUbyI6IjIwMjQtMDUtMTUiLCJleHRlbmRlZCI6dHJ1ZX0seyJjb2RlIjoiR08iLCJwYWlkVXBUbyI6IjIwMjQtMDUtMTUiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRNIiwicGFpZFVwVG8iOiIyMDI0LTA1LTE1IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJSU0YiLCJwYWlkVXBUbyI6IjIwMjQtMDUtMTUiLCJleHRlbmRlZCI6dHJ1ZX0seyJjb2RlIjoiRFMiLCJwYWlkVXBUbyI6IjIwMjQtMDUtMTUiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlBDIiwicGFpZFVwVG8iOiIyMDI0LTA1LTE1IiwiZ
@ziouf
ziouf / _README.md
Last active March 13, 2019 19:26
Home monitoring

# Command line

PHONE_ID=... python main.py

@ziouf
ziouf / _README.md
Last active July 22, 2018 07:47
Secretin Docker stack (compile + run)

Secret-in.me

Why this gist

Official seret-in.me project is missing a simple way to build and deploy the full stack. This Gist is just a pack of dockerfiles to give a response to the issue.

How to build and run project

# Pull pre-built images
@ziouf
ziouf / _README.md
Last active June 5, 2018 09:31
Workarround to allow downloaded file sharing between jenkins-slave and selenium containers

Docker-compose : Jenkins + Selenium grid

Why ?

When using Jenkins and Selenium grid on a Docker stack components are isolated. So it could be quite hard to find and read downloaded file by a test case.

The workarround is to override selenium images to set user id equals to jenkins user id and share /dev/shm mount point between containers.

Usage

@ziouf
ziouf / _README.md
Last active May 30, 2018 14:35
Grafana notification to Yammer gateway

Notification gateway from Grafana to Yammer

Why this GIST ?

Yammer notifications are not implemented in Grafana, by default. So I decided to develop a little gateway that publish Grafana alarm webhooks to Yammer thread.

Configuration

Grafana

@ziouf
ziouf / _README.md
Last active June 5, 2018 09:31
Docker-compose Selenium grid file

Docker-compose : Selenium Grid stack

Why this GIST ?

Selenium official documentation dont specify that it's mandatory to have a window manager in node container to use webDriver.manage().window().maximize();. I've found that debug node images are embeding fluxbox window manager unlike standard node images.

Run

@ziouf
ziouf / _README.md
Last active April 24, 2018 09:22
Traefik reverse proxy rewrite rules for jFrog Artifactory Docker registry

Artifactory proxied by Traefik

About

Due to lake of documentation on that topic this is a Gist to configure reverse proxy properly.

Traefik is not officialy supported by jFrog as reverse proxy for Artifactory.

Keep in mind that the minimum licence level jFrog Artifactory Pro to enable Docker registry feature.