Skip to content

Instantly share code, notes, and snippets.

View JohnnyQQQQ's full-sized avatar
🔥
lit

Jean-Philippe Quéméner JohnnyQQQQ

🔥
lit
  • Aachen, Germany
  • 09:58 (UTC +02:00)
View GitHub Profile
@JohnnyQQQQ
JohnnyQQQQ / docker-compose.yml
Created May 16, 2023 08:15
Grafana with reverse proxy
version: '3.8'
services:
grafana:
image: grafana/grafana:main
container_name: grafana
restart: always
ports:
- "3000:3000"
networks:
@JohnnyQQQQ
JohnnyQQQQ / alternative.html
Created August 17, 2016 20:26
Alternative design for the Jenkins CI Build Monitor Plugin
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Buildmonitor Material</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.2.0/material.indigo-pink.min.css">
<style>
body {
background: #dedede;
@JohnnyQQQQ
JohnnyQQQQ / exclude.js
Last active August 17, 2016 12:14
Remove material-design css from monitor view
var cssUrl = 'https://jenkins-contrib-themes.github.io/jenkins-material-theme/dist/material-light-blue.css';
var url = 'http://192.168.1.11:8080/view/Monitor/';
if (window.location.href === url) {
var links = document.getElementsByTagName("link");
for (var i = 0; i < links.length; i++) {
var link = links[i];
if (link.href === cssUrl) {
link.href = '';
}
}
.pipeline-wrapper {
background:#FFF;
}
.build-card .header {
font-weight:800;
}
@JohnnyQQQQ
JohnnyQQQQ / test.java
Created December 7, 2015 15:08
binding a simple java object to javafx
import javafx.beans.property.StringProperty;
import javafx.beans.property.adapter.JavaBeanStringPropertyBuilder;
public class Main {
public static class MyPojo {
private String name;
private String country;
@JohnnyQQQQ
JohnnyQQQQ / draganddrop.js
Last active December 12, 2015 09:29
simple snippet and demo for a drag and drop motion in casperjs
var casper = require('casper').create();
casper.start();
casper.userAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X)');
casper.viewport(1024, 768);
casper.thenOpen('http://jsbin.com/ifuma#noedit', function() {
this.capture('test.png');