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
{"s": {"AAPL": 0.25133422827795837, "GOOG": 0.3334488626006967, "AMZN": 0.3740810988798152, "NVDA": 0.5380555051571062, "TSLA": 0.5978797177153061, "LLY": 0.27668983620418824, "JPM": 0.21769958048869922, "XOM": 0.2622961333517632, "AVGO": 0.32762039500874146, "V": 0.18849603446983362, "JNJ": 0.16470111192176468, "PG": 0.15020283486133143, "MA": 0.2085917915162287, "HD": 0.23516338551999078, "ADBE": 0.3491675706381003, "MRK": 0.19328049253425997, "COST": 0.20399242233838977, "CVX": 0.2442523141032357, "ABBV": 0.1983861287795725, "WMT": 0.15528602884693177, "PEP": 0.1511472835108664, "KO": 0.14192521797403318, "CSCO": 0.19798244935255943, "CRM": 0.34361379918075297, "ACN": 0.26322917771381316, "NFLX": 0.42258542083434136, "MCD": 0.1397354070055457, "LIN": 0.20283398441141257, "AMD": 0.4939505006751646, "BAC": 0.26238259593786306, "ORCL": 0.27720520875055465, "CMCSA": 0.25278548226092584, "PFE": 0.21768908588572533, "ABT": 0.21193232700378156, "INTC": 0.38880430429409446, "DIS": 0.3172399100887614, "VZ": 0.24141 |
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
# Support http and https concurrently | |
function isSecure() { | |
return | |
(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') | |
|| $_SERVER['SERVER_PORT'] == 443; | |
} | |
$web_site = $_SERVER['HTTP_HOST']; | |
$schema = isSecure() ? 'https://' : 'http://'; | |
$web_site_url = $schema . $web_site; |
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
#!/bin/bash | |
### Formatting ### | |
TIMESTAMP=`date +%Y%m%d` | |
NC='\033[0m' # No Color | |
RED='\033[0;31m' | |
YELLOW='\033[0;33m' | |
GREEN='\033[0;32m' | |
### OS detection ### |
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
#!/bin/bash | |
### Formatting ### | |
TIMESTAMP=`date +%Y%m%d` | |
NC='\033[0m' # No Color | |
RED='\033[0;31m' | |
YELLOW='\033[0;33m' | |
GREEN='\033[0;32m' | |
### OS detection ### |