sudo /usr/local/McAfee/AntiMalware/VSControl stopoas
sudo defaults write /Library/Preferences/com.mcafee.ssm.StatefulFirewall.plist IsFirewallEnabled -bool false
[ | |
{ | |
"id": 1, | |
"category": "Appetizers", | |
"name": "Bruschetta", | |
"description": "Grilled bread topped with diced tomatoes, garlic, and basil.", | |
"price": 6.99, | |
"image": "/images/bruschetta.jpg", | |
"customizations": { | |
"toppings": ["Extra Garlic", "Parmesan Cheese", "Olives"], |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Next.js: debug server-side", | |
"type": "node-terminal", | |
"request": "launch", | |
"command": "npm run dev", | |
"preLaunchTask": "clear-editor-history" | |
}, |
/** @type {import('webpack').Configuration} */ |
Function GetColorCount(CountRange As Range, CountColor As Range) | |
Dim CountColorValue As Integer | |
Dim TotalCount As Integer | |
CountColorValue = CountColor.Interior.ColorIndex | |
Set rCell = CountRange | |
For Each rCell In CountRange | |
If rCell.Interior.ColorIndex = CountColorValue Then | |
TotalCount = TotalCount + 1 | |
End If | |
Next rCell |
FROM oraclelinux | |
MAINTAINER "Joji Jacob" <[email protected]> | |
USER root | |
# Install nginx | |
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ | |
yum install -y nginx | |
# Forward request and error logs to docker log collector | |
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \ | |
ln -sf /dev/stderr /var/log/nginx/error.log | |
EXPOSE 80 443 |
FROM oraclelinux | |
MAINTAINER "Joji Jacob" <[email protected]> | |
USER root | |
# Install mysql | |
RUN yum install -y https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm && \ | |
yum install -y --nogpgcheck mysql-community-server | |
EXPOSE 3306 |
Look at the following scenario:
This is a security feature implemented only in browsers which prevents a 3rd party script from extracting your private data and send that to website-B. The gravity of this issue can be understood in the following sample script.
(function(originalOpen) { | |
XMLHttpRequest.prototype.open = function() { | |
this.addEventListener('progress', function() { | |
console.log('request in progress); | |
}); | |
this.addEventListener('load', function() { | |
console.log('request complete); | |
}); | |
originalOpen.apply(this, arguments); |