https://daringfireball.net/projects/markdown/syntax#precode
syntax
\*literal asterisks\*
output
*literal asterisks*
https://daringfireball.net/projects/markdown/syntax#precode
syntax
\*literal asterisks\*
output
*literal asterisks*
| # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| AWSTemplateFormatVersion: 2010-09-09 | |
| Description: CloudFormation template that represents a request driven web service on AWS App Runner. | |
| Parameters: | |
| AppName: | |
| Type: String | |
| EnvName: | |
| Type: String | |
| WorkloadName: |
| Username (card) Instance FQDN | |
| aceofclubs ec2-54-144-249-81.compute-1.amazonaws.com | |
| aceofdiamonds ec2-18-207-139-146.compute-1.amazonaws.com | |
| aceofhearts ec2-18-206-198-157.compute-1.amazonaws.com | |
| aceofspades ec2-18-207-112-130.compute-1.amazonaws.com | |
| jackofclubs ec2-18-207-207-147.compute-1.amazonaws.com | |
| jackofdiamonds ec2-54-172-59-2.compute-1.amazonaws.com | |
| jackofhearts ec2-54-82-213-231.compute-1.amazonaws.com | |
| jackofspades ec2-107-22-144-212.compute-1.amazonaws.com | |
| kingofclubs ec2-18-206-198-177.compute-1.amazonaws.com |
| # Chef code to use AWS Secrets Manager in a Chef Recipe | |
| include_recipe "chef-vault" | |
| vault = chef_vault_item(:chefsecrets, "awschefsecretsmanager") | |
| aws_access_key = vault["access_key_id"] | |
| aws_secret_key = vault["secret_access_key"] | |
| require 'aws-sdk' | |
| require 'json' |
| import requests | |
| from bs4 import BeautifulSoup | |
| url = "http://www.azlyrics.com/lyrics/onyx/bacdafucup.html" | |
| print "Default request (it will fail)..." | |
| # make the default request | |
| try: | |
| r = requests.get(url) |
| // A Declarative Pipeline is defined within a 'pipeline' block. | |
| pipeline { | |
| // agent defines where the pipeline will run. | |
| agent { | |
| // This also could have been 'agent any' - that has the same meaning. | |
| label "" | |
| // Other possible built-in agent types are 'agent none', for not running the | |
| // top-level on any agent (which results in you needing to specify agents on | |
| // each stage and do explicit checkouts of scm in those stages), 'docker', |
Linux: sudo yum install git
Mac: Download
Windows: Download
| # knife cheat | |
| ## Search Examples | |
| knife search "name:ip*" | |
| knife search "platform:ubuntu*" | |
| knife search "platform:*" -a macaddress | |
| knife search "platform:ubuntu*" -a uptime | |
| knife search "platform:ubuntu*" -a virtualization.system | |
| knife search "platform:ubuntu*" -a network.default_gateway |
| for i in range(1, 101): | |
| print "Fizz" * (not i % 3) + "Buzz" * (not i % 5) or i | |
| print " ".join("Herp" * (not i % 3) + "Derp" * (not i % 5) or str(i) for i in range(1, 101)) |