Skip to content

Instantly share code, notes, and snippets.

View jvkassi's full-sized avatar

Jean-Vincent kassi jvkassi

  • Smile CI
  • Côte d’Ivoire
View GitHub Profile
@jvkassi
jvkassi / gist:02991afe6f2c177847feb6ec62c08c76
Created August 4, 2020 16:58 — forked from fduran/gist:1870554
Linux disk/memory stress test
# www.fduran.com
# hardware stress test
# mismatched md5sums shows a faulty disk/RAM
# time depends on hardware, ex: 1 sec per 100 count
dd if=/dev/zero of=/tmp/test.file bs=1M count=1000
for i in {1..5}; do md5sum /tmp/test.file; done
@jvkassi
jvkassi / portainer-stack
Created August 24, 2018 15:20
Stack Portainer
version: '3.2'
services:
agent:
image: portainer/agent
environment:
# REQUIRED: Should be equal to the service name prefixed by "tasks." when
# deployed inside an overlay network
AGENT_CLUSTER_ADDR: tasks.agent
# AGENT_PORT: 9001
@jvkassi
jvkassi / webpack.config.js
Created March 25, 2016 15:35
webpack config for aureila
/*eslint-disable no-var*/
var path = require('path');
var AureliaWebpackPlugin = require('aurelia-webpack-plugin');
var ProvidePlugin = require('webpack/lib/ProvidePlugin');
module.exports = {
devServer: {
host: 'localhost',
port: 3000,
#!/bin/sh
#
#
#
# Modifications are:
# * Remove authbind.
# * Remove JVM_TMP. We will use CATALINA_BASE/temp
# * Explicitly set JAVA_HOME. No need to figure out where it is.
# * Remove SECURITY. We are not using the Java security manager.
# * Remove references to DEFAULT. We have no defaults to use.