Skip to content

Instantly share code, notes, and snippets.

@sarandafl
sarandafl / graphFile.json
Last active February 22, 2018 12:35
A Simple d3 Network Graph
{
"nodes":[
{"name":"HANE0002","group":1,"id":"HANE0002"},
{"name":"HANE0003","group":1,"id":"HANE0003"},
{"name":"AANE0002","group":2,"id":"AANE0002"}
],
"links":[
{"source":"AANE0002","target":"HANE0002","weight":1},
{"source":"AANE0002","target":"HANE0003","weight":1}
]
@sarandafl
sarandafl / xx
Created February 15, 2018 10:11
{
'id': '2027fc56b9baa40a',
'worker_id': 'aaws0283',
'version': '2.4.4',
'kind': 'helper',
'ua': 'ndis/2.4.4 (Windows NT 6.1; Win64; x64) libuv/1.19.0 msvc/2017',
'cpu': {
'brand': 'Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz',
'aes': True,
'x64': True,
/* Get all VLANs on switch */
function vlans(session, cb) {
let vlans = []
session.getSubtree({ oid: Mibs.vlans }, function (error, varbinds) {
if (error) {
console.log('Fail :(');
console.log(error)
} else {
varbinds.forEach(function (varbind) {
vlans.push(varbind.oid[varbind.oid.length -1])
#version=DEVEL
# Install OS instead of upgrade
install
text
# Firewall configuration
# This is NOT the same as firewalld
firewall --disabled
# Use FTP installation media
url --url="ftp://172.16.1.1/pub/"
# Root password
@sarandafl
sarandafl / x.md
Last active February 22, 2017 09:50

2.4.3 Tag 03 - Dienstag, 21.02.2017

Ziele Soll (Min.) Ist (Min.) Erriecht
SSL Zertifikate erzeugen 60 120 - [x]