The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<?php | |
require_once( 'Timer.php' ); | |
Timer::start(); | |
// do something | |
echo "Time elapsed: " . Timer::end() . "\n"; | |
#! /bin/bash | |
KEY="hahahahayeahright" | |
URL="https://www.example.com/apiv1/router/collector-conf/key/${KEY}" | |
LAN1ID="1" | |
LAN2ID="2" | |
ETCPATH="/usr/local/etc/bird" | |
RUNPATH="/var/run/bird" | |
BIN="/usr/sbin/bird" |
curl -H "Content-Type: application/json" \ | |
-H "Accept: application/json" \ | |
-X POST \ | |
-d '{ "definitions": [ | |
{ | |
"target": "92.61.192.131", | |
"description": "AS5466-AS44384-IPv4", | |
"type": "traceroute", | |
"af": 4, | |
"is_oneoff": true, |
Hi all,
there are some changes coming as to how users are managed in IXP Manager. No action is required by you but we do want to let you know what's happening.
The current system has two user types for our members:
a customer administrator user whose only purpose is to create and manage users. This user cannot do anything else.
a standard customer user who cannot manage users but has all the other functionality including peering manager, port graphs, peer to peer graphs, etc.
$ git fetch --all | |
Fetching origin | |
remote: Enumerating objects: 381, done. | |
remote: Counting objects: 100% (381/381), done. | |
remote: Compressing objects: 100% (53/53), done. | |
remote: Total 713 (delta 342), reused 358 (delta 327), pack-reused 332 | |
Receiving objects: 100% (713/713), 1.13 MiB | 2.37 MiB/s, done. | |
Resolving deltas: 100% (500/500), completed with 170 local objects. | |
From https://github.com/inex/IXP-Manager | |
* [new branch] release-v5 -> origin/release-v5 |
<?php | |
/* | |
* Quick and dirty script to import IPv4 addresses from an IPPlan export (converted to CSV) | |
* into {php}IPAM to suit a particular use case: | |
* | |
* - IPv4 only | |
* - no consideration of VLANs, VRFs | |
* - subnets already exist (we could import the IPPlan export directly into {php}IPAM | |
* |
<?php | |
use IXP\Models\Customer; | |
// sample customer with ID 18: | |
$cust = Customer::find(18); | |
// iterate over the customer's contacts: | |
foreach( $cust->contacts as $c ) { | |
# !/usr/bin/env bash | |
## | |
## Copyright (C) 2022 Island Bridge Networks Limited. All Rights Reserved. | |
## | |
## Based on work by @sparkeh | |
## | |
# Acme location | |
ACME="/usr/local/acme.sh/acme.sh" |
<?php | |
/* | |
* Bird Route Server Configuration Template | |
* | |
* | |
* You should not need to edit these files - instead use your own custom skins. If | |
* you can't effect the changes you need with skinning, consider posting to the mailing | |
* list to see if it can be achieved / incorporated. | |
* | |
* Skinning: https://ixp-manager.readthedocs.io/en/latest/features/skinning.html |