Skip to content

Instantly share code, notes, and snippets.

optimising-unifi-performance

Below are the key settings that I apply on any unifi installation for optimal performance.

Settings

Settings > Site

  • Ensure Enable Advanced Features is enabled
    This allows you to follow along with the guide in it's entirety.

  • Ensure Automatically Optimise Network and WiFi performance is disabled
    These settings will do a better job.

@Tambralinga
Tambralinga / RouterOS 6 Syntax.xml
Created September 14, 2021 12:09 — forked from RomelSan/RouterOS 6 Syntax.xml
Mikrotik RouterOS Syntax for Notepad++
<NotepadPlus>
<UserLang name="RouterOS" ext="rsc" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
# www.adityasaputra.com
:global ddnsuser "Usernam Dynu.com"
:global ddnspass "Password Dynu.com"
:global theinterface "Interface"
:global ddnshost "domain.dynu.com"
:global ipddns [:resolve $ddnshost];
:global ipfresh [ /ip address get [/ip address find interface=$theinterface ] address ]
:if ([ :typeof $ipfresh ] = nil ) do={
:log info ("dynu: No ip address on $theinterface .")
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@Tambralinga
Tambralinga / dataset.csv
Created July 10, 2017 00:24 — forked from chunrapeepat/dataset.csv
Linear Regression Example
32.502345269453031 31.70700584656992
53.426804033275019 68.77759598163891
61.530358025636438 62.562382297945803
47.475639634786098 71.546632233567777
59.813207869512318 87.230925133687393
55.142188413943821 78.211518270799232
52.211796692214001 79.64197304980874
39.299566694317065 59.171489321869508
48.10504169176825 75.331242297063056
52.550014442733818 71.300879886850353
@Tambralinga
Tambralinga / something.py
Created July 10, 2017 00:24 — forked from chunrapeepat/something.py
Linear Regression Example
# -*- coding: utf-8 -*-
from numpy import *
def compute_error_function(dataset, current_m, current_c):
error = 0
for i in range(0, len(dataset)):
x = dataset[i, 0]
y = dataset[i, 1]
error += (y - (current_m * x + current_c)) ** 2
return (error / float(len(dataset))) * 0.5
@Tambralinga
Tambralinga / thinkspeak_rest.ino
Created May 26, 2016 16:30 — forked from prasertsakd/thinkspeak_rest.ino
Thinkspeak Post Data
#include <ESP8266WiFi.h>
const char* ssid = "-----------";
const char* password = "-----------";
// ThingSpeak Settings
char thingSpeakAddress[] = "api.thingspeak.com";
String writeAPIKey = "----------------------";
const int updateThingSpeakInterval = 15 * 1000; // Time interval in milliseconds to update ThingSpeak (number of seconds * 1000 = interval)
@Tambralinga
Tambralinga / temp4sensor.py
Created February 1, 2016 19:43 — forked from mazzmn/temp4sensor.py
ChannelOneTempMonitor
#!/usr/bin/python
#Based on Adafruit's Raspberry Pi Lesson 11 Temperature sensing tutorial by Simon Monk
#Modified by Tim Massaro 2/2014
#This script now uses a Raspberry Pi, Adafruit PiPlate LCD and
#two DS18B20 temp sensor to monitor the freezer and fridge unit at Channel One Food Shelf
#significant changes
#adapt for 2 sensors
#Display temperature on the LCD
#sendtext messages when temperature is out of range
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
WiFiUDP Udp;
const char* ssid = "----------";
const char* password = "--------------";
IPAddress local_ip = {192,168,1,200};
IPAddress gateway = {192,168,1,1};
/*
XBee sensor
ZCL Temperature Measurement Cluster
*/
#define ledPin 13
#define lcdPin 6
#define temt6000Pin 3