~/add_cert.sh my.intra.net
you will be asked for your password to add thit to keychain
- downloads pem file
- adds to trusted root certificates
# Add the following records to your DNS config | |
## Mac: /etc/hosts | |
## Windows: C:\Windows\System32\drivers\etc\hosts | |
104.18.23.110 admin-stg.notion.so | |
104.18.23.110 aif.notion.so | |
104.18.23.110 analytics-iframe.notion.so | |
104.18.23.110 analytics.pgncs.notion.so | |
104.18.23.110 api.notion.so | |
104.18.23.110 api.pgncs.notion.so | |
104.18.23.110 dev.notion.so |
# Author : Jayan Kandathil (Adobe Managed Services) | |
# Date : July 19, 2018 | |
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html | |
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ec2-metricscollected.html | |
# https://aws.amazon.com/blogs/developer/writing-and-archiving-custom-metrics-using-amazon-cloudwatch-and-aws-tools-for-powershell/ | |
# Get authentication credentials | |
Set-AWSCredential -AccessKey YOURAWSACCESSKEY -SecretKey yOUR354aws39875358sECRET93453-96kEY -SessionToken yOURawssESSIONtOKENEaDKGld+XcXoR/yOUtHINKtHISiSreAL2XD1k9tgQ/TKIjhXXTXxM | |
# Set Test Start Time and Test End Time (remember to adjust for your time zone - CloudWatch data is in UTC) |
# Author : Jayan Kandathil (Adobe Managed Services) | |
# Date : July 19, 2018 | |
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html | |
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/rds-metricscollected.html | |
# https://aws.amazon.com/blogs/developer/writing-and-archiving-custom-metrics-using-amazon-cloudwatch-and-aws-tools-for-powershell/ | |
# Get authentication credentials | |
Set-AWSCredential -AccessKey YOURAWSACCESSKEY -SecretKey yOUR354aws39875358sECRET93453-96kEY -SessionToken yOURawssESSIONtOKENEaDKGld+XcXoR/yOUtHINKtHISiSreAL2XD1k9tgQ/TKIjhXXTXxM | |
# Set Test Start Time and Test End Time (remember to adjust for your time zone - CloudWatch data is in UTC) |
// Author : Jayan Kandathil | |
// Last Updated : May 19, 2017 | |
// Version : 0.1 | |
import java.lang.management.* | |
import javax.management.ObjectName | |
import javax.management.remote.JMXConnectorFactory as JmxFactory | |
import javax.management.remote.JMXServiceURL as JmxUrl | |
import java.text.DecimalFormat; |
# Non-root account is recommended for this process | |
# centos-specific prepration | |
sudo yum -y update && sudo yum -y groupinstall 'Development Tools' && sudo yum -y install curl irb m4 ruby | |
# Sanitize the environment | |
PATH=~/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin | |
unset LD_LIBRARY_PATH PKG_CONFIG_PATH | |
# install linuxbrew |
{ | |
"vars": { | |
"@gray-darker": "lighten(#000, 13.5%)", | |
"@gray-dark": "lighten(#000, 20%)", | |
"@gray": "lighten(#000, 33.5%)", | |
"@gray-light": "lighten(#000, 46.7%)", | |
"@gray-lighter": "lighten(#000, 93.5%)", | |
"@brand-primary": "#428bca", | |
"@brand-success": "#5cb85c", | |
"@brand-info": "#5bc0de", |
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"
All pages below content path
#!/bin/bash | |
# | |
# This script configures the start information for this server. | |
# | |
# The following variables may be used to override the defaults. | |
# For one-time overrides the variable can be set as part of the command-line; e.g., | |
# | |
# % CQ_PORT=1234 ./start | |
# |
Set up your file structure something like this: | |
/apps/your-site/components/page | |
-> yourPage | |
-> clientlibs | |
-> js | |
-> customSidekickDialog.js | |
-> .content.xml | |
-> js.txt | |
-> customDialog.xml |