#!/bin/bash
echo "Stopping GlobalProtect..."
launchctl remove com.paloaltonetworks.gp.pangps
launchctl remove com.paloaltonetworks.gp.pangpa
echo "Done!"
- RFC7230 Message Syntax and Routing
- RFC7231 Semantics & Content - methods, status codes and headers
- RFC7232 Conditional Requests - e.g., If-Modified-Since
- RFC7233 Range Requests - getting partial content
- RFC7234 Caching - browser and intermediary caches
- RFC7235 Authentication - a framework for HTTP authentication
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
const a = [1,2,3,4,5]; | |
const aCloned = [...a]; | |
aCloned.push(7); | |
console.log(a); | |
console.log(aCloned); | |
const o = { name: "john", lastname: "nelson", skills: "python" }; | |
const oCloned = { ...o }; |
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
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
# Make sure that ur #docker host is active & ready to go, in every shell, no matter what: | |
export DOCKER_MACHINE_ACTIVE="your-docker-machine-name" | |
export DOCKER_MACHINE_ACTIVE_STATUS=`docker-machine ls | grep -i "$DOCKER_MACHINE_ACTIVE" | grep "Running" | awk '{ print $2}'` | |
if [ "$DOCKER_MACHINE_ACTIVE_STATUS" != "*" ]; then | |
if [ "$DOCKER_MACHINE_ACTIVE_STATUS" != "-" ]; then | |
echo "Docker machine $DOCKER_MACHINE_ACTIVE not running. Starting…" | |
docker-machine start $DOCKER_MACHINE_ACTIVE | |
sleep 3s | |
eval "$(docker-machine env $DOCKER_MACHINE_ACTIVE)" |
"The primary objective of copyright is not to reward the labor of authors, but [to] promote the Progress of Science and useful Arts."
"To this end, copyright assures authors the right to their original expression, but encourages others to build freely upon the ideas and information conveyed by a work. This result is neither unfair nor unfortunate. It is the means by which copyright advances the progress of science and art."
-- US Supreme Court Justice Sandra Day O'Connor
- System Preferences -> {Account} -> Login Items
- ~/Library/LaunchAgents
- /System/Library/LaunchAgents
- /System/Library/LaunchDaemons
~/.profile
or~/.bash_profile
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
/** | |
Some relevant links along the way: | |
https://github.com/joyent/node/issues/2809 | |
https://github.com/joyent/node/issues/877 | |
**/ | |
var http = require('http'); |
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
Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no |