image.webp.enabled
false
image.avif.enabled
false
browser.tabs.insertAfterCurrent
true
javascript: (() => { if (location.href) { origin = location.href; const url = ['https://webcache.googleusercontent.com/search?q=cache:' + origin, 'https://web.archive.org/web/*/' + origin + '*']; url.forEach(element => { window.open(element, "'" + element + "'"); }); } })(); |
javascript:document.getElementById('download').click(); |
javascript: (() => { var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+"%20"+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed%20autocomplete=off%20from%20"+n(ca,"form")+"%20and%20from%20"+n(cea,"form%20element")+",%20and%20removed%20onsubmit%20from%20"+n(cs,"form")+".%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password."); })() |
echo '
# tests whether you'\''re in a screen session and if not: runs screen -R
if [ -z "$STY" ]; then screen -R; fi
' >> .bashrc
javascript: (() => { qr_query=''+document.getSelection()||document.URL;window.location='https://chart.googleapis.com/chart?chs=540x540&cht=qr&chl='+encodeURIComponent(qr_query); })() |
My network address changed and I needed to still be able to supervise using Centreon. The address plan stayed the same from one network to the other and I didn't want to install a new Centreon from scratch & redo the setup of all the hosts and services. This is what I did to achieve the move from one network to the other.
The previous network will be referred to as previous network
and the new one as new network
. For the sake of this How-to, let's say that on the previous network
the network address was 192.168.1.0
and the new network
's address is 192.168.2.0
.
I had one central Centreon-Central
(or even central
) and one Centreon-Poller
(or poller
). This is how I'll refer to these VMs here. We'll say that the central
address ends with .2
on both the previous network
and the new network
, and the poller
's ends with .3
.
#!python | |
import sys | |
# GB --> MB utility in Python3 | |
# usage: GB-MB.py x [y]; GB-MB.py | |
''' | |
Windows: | |
Install python3 |
Open cmd as Administrator and paste/edit the following lines to taste (ie. edit Lport)
# chose the port to be used afterwards ie. replace 1234 by the port you want
set "Lport=1234"
# bind and listen to a specific port
netsh interface portproxy add v4tov4 listenport=%Lport% listenaddress=0.0.0.0 connectport=%Lport% connectaddress=localhost