dns-sd \
-R "A Fake Announcement to Register a Dummy HTTP Server" \
_http._tcp,_universal \
. \
8081
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
From https://documentation.meraki.com/MR/Client_Addressing_and_Bridging/RADIUS_Override:
A RADIUS server has the ability to send VLAN information to the AP in RADIUS Access Accept messages. To send VLAN information, three required RADIUS attributes must be configured in your RADIUS policy:
- Tunnel-Type: Choose Attribute value Commonly used for 802.1X and select Virtual LANs (VLANs).
- Tunnel-Medium-Type: Choose 802 (Includes all 802 media plus Ethernet canonical format) for the Attribute value Commonly used for 802.1X.
- Tunnel-Private-Group-ID: Choose String and enter the VLAN desired (ex. "500"). This string will specify the VLAN ID 500.
Sample FreeRADIUS user configuration (/etc/freeradius/3.0/users):
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
", ".join(map( lambda x: str(x), labels) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delimiter //; | |
CREATE FUNCTION `first_day_month`(dt datetime) RETURNS date | |
COMMENT 'Returns the first day of the month of the date' | |
BEGIN | |
RETURN DATE_ADD(DATE_ADD(LAST_DAY(dt), | |
INTERVAL 1 DAY), | |
INTERVAL - 1 MONTH); | |
END// |
See https://docs.python-guide.org/starting/install3/linux/
sudo apt-get install python3.6-dev libmysqlclient-dev
pip install mysqlclient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from | |
# http://answers.opencv.org/question/25642/how-to-compile-basic-opencv-program-in-c-in-ubuntu/ | |
# http://answers.opencv.org/question/46755/first-example-code-error/ | |
g++ -I/usr/local/include/opencv -I/usr/local/include -L/usr/local/lib/ -g -o output opencv_test.cpp -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_stitching -lopencv_imgcodecs -lopencv_cudafeatures2d -lopencv_xfeatures2d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "First, you must manually donwload CUDA8 from https://developer.nvidia.com/cuda-downloads" | |
echo "Ideas taken from https://github.com/BVLC/caffe/wiki/OpenCV-3.2-Installation-Guide-on-Ubuntu-16.04 and http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/" | |
echo "Installing Nvidia drivers" | |
# Start clean | |
sudo apt purge nvidia-* | |
# Add the PPA | |
sudo add-apt-repository ppa:graphics-drivers/ppa | |
sudo apt update | |
sudo apt-get install nvidia-367 |