Skip to content

Instantly share code, notes, and snippets.

View XaaT's full-sized avatar

Clément XaT XaaT

View GitHub Profile
@XaaT
XaaT / build.sh
Created May 18, 2020 08:26 — forked from Forst/build.sh
Ubuntu ISO with preseed.cfg generation script
#!/bin/bash
## FORSTWOOF UBUNTU PRESEED :: BUILD SCRIPT
# Quit on first error
set -e
# Temporary directory for the build
TMP="/var/tmp/ubuntu-build"
@XaaT
XaaT / gist:6357f134df56d10181372d4e5525bd28
Created May 9, 2019 15:08
Oxidized "old" config (09-05-19)
---
log: "/home/oxidized/.config/oxidized/log"
debug: true
username: oxidized
password: <<deleted>>
model: procurve
resolve_dns: false
interval: 3600
use_syslog: false
threads: 30
@XaaT
XaaT / gist:dcd6e0d6c3999a9743401a3daa545a3b
Created May 9, 2019 15:06
Oxidized config (last at 09-05-19)
---
username: username
password: <<deleted>>
model: procurve
resolve_dns: false
interval: 3600
use_syslog: false
debug: true
threads: 30
timeout: 20
@XaaT
XaaT / gist:35f3250e3283c617e8f990cffa2609a4
Created May 9, 2019 14:36
Oxidized failed to fetch hp procurve 2810-24g configuration : DEBUG
Puma starting in single mode...
* Version 3.11.4 (ruby 2.5.1-p57), codename: Love Song
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://127.0.0.1:8888
Use Ctrl-C to stop
D, [2019-05-09T16:35:13.493018 #5113] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 0 of 1 - ended: 0 of 1
D, [2019-05-09T16:35:13.493732 #5113] DEBUG -- : lib/oxidized/worker.rb: Added /sw-1r2-ss to the job queue
D, [2019-05-09T16:35:13.493875 #5113] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
D, [2019-05-09T16:35:13.494390 #5113] DEBUG -- : lib/oxidized/job.rb: Starting fetching process for sw-1r2-ss at 2019-05-09 14:35:13 UTC
I, [2019-05-09T15:11:44.903290 #15211] INFO -- : Oxidized starting, running as pid 15211
I, [2019-05-09T15:11:44.905147 #15211] INFO -- : lib/oxidized/nodes.rb: Loading nodes
I, [2019-05-09T15:11:44.978508 #15211] INFO -- : lib/oxidized/nodes.rb: Loaded 3 nodes
W, [2019-05-09T15:12:05.674606 #15211] WARN -- : 192.168.254.234 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2019-05-09T15:12:06.343621 #15211] WARN -- : /sw-1r2-ss status no_connection, retry attempt 1
W, [2019-05-09T15:12:26.527006 #15211] WARN -- : 192.168.254.234 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2019-05-09T15:12:27.361561 #15211] WARN -- : /sw-1r2-ss status no_connection, retry attempt 2
W, [2019-05-09T15:12:47.559594 #15211] WARN -- : 192.168.254.234 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2019-05-09T15:12:48.375372 #15211] WARN -- : /sw-1r2-ss status n
<page>
<title>Création VMs</title>
<ns>0</ns>
<id>107</id>
<revision>
<id>1059</id>
<parentid>1058</parentid>
<timestamp>2018-07-26T08:10:04Z</timestamp>
<contributor>
<username>ANONYMISATION</username>
<page>
<title>Creation Compte Windows</title>
<ns>0</ns>
<id>41</id>
<revision>
<id>1552</id>
<parentid>534</parentid>
<timestamp>2019-04-08T12:57:54Z</timestamp>
<contributor>
<username>ANONYMISATION</username>
// ==UserScript==
// @name [HFR] Multi MP
// @author PetitJean, Rucous
// @version 0.3.6
// @description compléments à la fonctionnalité des MP multiples.
// @icon http://reho.st/self/40f387c9f48884a57e8bbe05e108ed4bd59b72ce.png
// @downloadURL http://breizhodrome.free.fr/hfr/scripts/multimp.user.js
// @updateURL http://breizhodrome.free.fr/hfr/scripts/multimp.user.js
// @require http://breizhodrome.free.fr/hfr/scripts/hfr.js?mybody=isready
// @include https://forum.hardware.fr/forum2.php*
// ==UserScript==
// @author BZHDeveloper, roger21
// @name [HFR] Téléver d'images
// @version 0.4.1.1
// @namespace forum.hardware.fr
// @description envoi d'image sur reho.st (copie du BBCode si réussite) ou conversion de texte enrichi
// @icon http://reho.st/self/40f387c9f48884a57e8bbe05e108ed4bd59b72ce.png
// @require http://breizhodrome.free.fr/hfr/scripts/hfr.js
// @include https://forum.hardware.fr/message.php*
// @include https://forum.hardware.fr/forum2.php*
@XaaT
XaaT / clientside
Created June 17, 2014 09:37
[puppet@Windows] Group creation failed
C:\Program Files (x86)\Puppet Labs\Puppet\bin>puppet agent --test --debug
Debug: Failed to load library 'syslog' for feature 'syslog'
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Using settings: adding file resource 'confdir': 'File[C:/Users/emac/.puppet]{:path=>"C:/Users/emac/.puppet", :ensure=>:directory, :lo
glevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Using settings: adding file resource 'vardir': 'File[C:/Users/emac/.puppet/var]{:path=>"C:/Users/emac/.puppet/var", :ensure=>:directo
ry, :loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Using settings: adding file resource 'logdir': 'File[C:/Users/emac/.puppet/var/log]{:path=>"C:/Users/emac/.puppet/var/log", :mode=>"7
50", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Using settings: adding file resource 'statedir': 'File[C:/Users/emac/.puppet/var/state]{:path=>"C:/Users/emac/.puppet/var/state", :mo