Skip to content

Instantly share code, notes, and snippets.

Youri Bonnaffé youribonnaffe

Block or report user

Report or block youribonnaffe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:27d623e85dcc0e44e50c
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Hidden /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v SuperHidden /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v ShowSuperHidden /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v TaskbarGlomming /t REG_DWORD /d 0 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v TaskbarGlomLevel /t REG_DWORD /d 2 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v TaskbarSmallIcons /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v FriendlyTree /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER
@youribonnaffe
youribonnaffe / gist:7401737
Last active Mar 30, 2018
Gradle IDEA add project dependencies instead of JAR dependencies in Intellij configuration file (.iml)
View gist:7401737
apply plugin: 'idea'
idea.module.iml {
def customDependencies = ['org.objectweb.proactive', 'org.ow2.proactive']
whenMerged { module ->
// to reorder dependencies
def existingDependencies = module.dependencies
module.dependencies = new LinkedHashSet()
configurations.compile.resolvedConfiguration.resolvedArtifacts.each {
if (it.moduleVersion.id.group == project.group || customDependencies.contains(it.moduleVersion.id.group) ) {
logger.info("Custom idea: adding ${it.name}")
View gist:895d0e545115ba53ea521e7820b73604
https://tbnm9.app.goo.gl/?link=https%3a%2f%2fboogi.fr%2fbordeaux%3fsearch%3d104&apn=com.is.android.boogibordeaux&al=https://www.boogi.fr&ibi=com.instantsystem.boogi-bordeaux&d=0
@youribonnaffe
youribonnaffe / netExtender Ubuntu install and service
Last active Feb 5, 2016
netExtender Ubuntu 14.04 Install and run as a service
View netExtender Ubuntu install and service
# Install
Get the archive from http://ainola.sdf.org/NetExtender.Linux.8.0.784.x86_64.tgz
Run ./install as root (otherwise it got stuck on Connecting ... for me)
View gist:6375515
task wrapper(type: Wrapper) {
gradleVersion = '1.7'
jarFile "${project.projectDir}/.gradle/wrapper/gradle-wrapper.jar"
}
View Windows quick settings
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v Hidden /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v SuperHidden /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v ShowSuperHidden /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v TaskbarGlomming /t REG_DWORD /d 0 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v TaskbarGlomLevel /t REG_DWORD /d 2 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v TaskbarSmallIcons /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v HideFileExt /t REG_DWORD /d 0 /f
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ /v FriendlyTree /t REG_DWORD /d 1 /f
reg add HKEY_CURRENT_USER
@youribonnaffe
youribonnaffe / gist:5295471
Created Apr 2, 2013
Openvswitch rules to drop packets from a given IP address
View gist:5295471
ovs-ofctl add-flow xenbr0 "in_port=1,ip,nw_src=172.20.0.1,actions=drop"
ovs-ofctl add-flow xenbr0 "in_port=1,ip,nw_dst=172.20.0.1,actions=drop"
View job.xml
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev ../../src/scheduler/src/org/ow2/proactive/scheduler/common/xml/schemas/jobdescriptor/dev/schedulerjob.xsd"
name="docker" priority="normal" cancelJobOnError="false">
<taskFlow>
<task name="run">
<scriptExecutable>
<script>
<code language="groovy">
println "ps -e".execute().text
@youribonnaffe
youribonnaffe / Dockerfile
Created Jun 11, 2014
Dockerfile for ProActive
View Dockerfile
# ProActive
#
# VERSION 3.4.4
FROM dockerfile/java
MAINTAINER Youri Bonnaffé <youri.bonnaffe@activeeon.com>
COPY ./ProActiveScheduling-3.4.4_bin_full /opt/proactive
COPY rm-start-docker-node /opt/proactive/
@youribonnaffe
youribonnaffe / gist:76dfab1c2b4fa1319ce9
Created Jun 11, 2014
Run the ProActive Scheduler with Docker
View gist:76dfab1c2b4fa1319ce9
unzip ProActiveScheduling-3.4.4_bin_full.zip
cd ProActiveScheduling-3.4.4_bin_full
./bin/unix/scheduler-start-gui -Dproactive.useIPaddress=true -Dproactive.net.interface=docker0
You can’t perform that action at this time.