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
{"+AWS EMR":{"bypassList":[],"color":"#99ccee","fallbackProxy":{"host":"localhost","port":8157,"scheme":"socks5"},"name":"AWS EMR","profileType":"FixedProfile","revision":"15f16ab0a96"},"+__ruleListOf_auto switch":{"color":"#99dd99","defaultProfileName":"direct","format":"Switchy","matchProfileName":"direct","name":"__ruleListOf_auto switch","profileType":"RuleListProfile","revision":"15f16ac2ad3","ruleList":""},"+auto switch":{"color":"#99dd99","defaultProfileName":"direct","name":"auto switch","profileType":"SwitchProfile","revision":"15f16b225ed","rules":[{"condition":{"conditionType":"HostWildcardCondition","pattern":"internal.example.com"},"profileName":"direct"},{"condition":{"conditionType":"HostWildcardCondition","pattern":"*ec2*.amazonaws.com*"},"profileName":"AWS EMR"},{"condition":{"conditionType":"HostWildcardCondition","pattern":"*ec2*.compute"},"profileName":"AWS EMR"},{"condition":{"conditionType":"HostWildcardCondition","pattern":"http://10.*"},"profileName":"AWS EMR"},{"condition":{"condition |
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
post { | |
success { | |
script { | |
def payload = """ | |
{ | |
"@type": "MessageCard", | |
"@context": "http://schema.org/extensions", | |
"themeColor": "0076D7", | |
"summary": "Oozie co-ordinators have been scheduled", | |
"sections": [{ |
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
{ | |
"@type": "MessageCard", | |
"@context": "http://schema.org/extensions", | |
"themeColor": "0076D7", | |
"summary": "Oozie co-ordinators have been scheduled", | |
"sections": [{ | |
"activityTitle": "Oozie co-ordinators have been scheduled", | |
"activitySubtitle": "", | |
"activityImage": "https://cwiki.apache.org/confluence/download/attachments/30737784/oozie_47x200.png?version=1&modificationDate=1349284899000&api=v29", | |
"facts": [{ |
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
upstream backend-server { | |
server backend.com:443; | |
} | |
server { | |
root /home/ec2-user/app/public; | |
index index.html; | |
server_name app.com; | |
location /app-proxy/ { |
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 | |
# Install updates | |
sudo yum update -y | |
# Add the CentOS 7 EPEL repository if required | |
sudo yum install epel-release -y | |
# Install nginx | |
sudo yum install nginx -y |
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
Chapter: Creating and Destroying Objects | |
[1] Consider static factory methods instead of constructors | |
[2] Consider a builder when faced with many constructor parameters | |
[3] Enforce the singleton property with a private constructor or an enum type | |
[4] Enforce non-instantiability with a private constructor |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
{ | |
"ipcMode": null, | |
"executionRoleArn": null, | |
"containerDefinitions": [ | |
{ | |
"dnsSearchDomains": null, | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "/aws/ecs", |
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
# metagoofil - extracting metadata of public documents (pdf,doc,xls,ppt,docx,pptx,xlsx) belonging to a target company | |
metagoofil -d domain.com -t doc -o temp | |
# harvester - gather emails, subdomains, hosts, employee names, open ports and banners from different public sources like search engines, PGP key servers and SHODAN computer database | |
theHarvester -d domain.com -b google -l 100 | |
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
style = defaultWithAlign | |
align.openParenCallSite = false | |
align.openParenDefnSite = false | |
align.tokens = [{code = "->"}, {code = "<-"}, {code = "=>", owner = "Case"}] | |
continuationIndent.callSite = 2 | |
continuationIndent.defnSite = 2 | |
danglingParentheses = true | |
indentOperator = spray | |
maxColumn = 100 |
OlderNewer