This file contains hidden or 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
#!/bin/bash | |
# 0. Get iDRAC command-line tools | |
# (we use Dell EMC iDRAC Tools for Linux, v9.3.1) | |
# (for reference, use this link: https://dl.dell.com/FOLDER05818335M/1/DellEMC-iDRACTools-Web-LX-9.3.1-3669_A00.tar.gz) | |
# 1. extract & install tools (install script is USELESS/root privilege is required) | |
tar -xf DellEMC-iDRACTools-Web-LX-*.tar.gz | |
yum install iDRACTools/racadm/RHEL7/x86_64/srvadmin-*.rpm | |
alternatives --install /usr/sbin/racadm racadm /opt/dell/srvadmin/sbin/racadm 1 |
This file contains hidden or 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
<?php | |
/** | |
* [getMediaByUsername description] | |
* | |
* Author : Imam Ali Mustofa - Betta Dev Indonesia | |
* Website : www.bettadevindonesia.com | |
* | |
* This function will scrap data from instagram without API | |
* Define username you need and define how many media will you get! |