Skip to content

Instantly share code, notes, and snippets.

vegaasen /
Created Nov 27, 2015
SuppressWarnings with IntelliJ Idea

@SuppressWarnings - IntelliJ modes


This list may grow each year with either new versions or patches. Enjoy!


Following is an example related to the usage of the various ignore capabilities.

View ubuntu-cloudformation.json
"UserData": {
"Fn::Base64": { "Fn::Join":["", [
"#!/bin/bash -ex\n",
"apt-get update\n",
"apt-get -y install python-setuptools\n",
"mkdir aws-cfn-bootstrap-latest\n",
"curl | tar xz -C aws-cfn-bootstrap-latest --strip-components 1\n",
"easy_install aws-cfn-bootstrap-latest\n",
"/usr/local/bin/cfn-init --stack ", { "Ref":"AWS::StackName" }, " --resource WebServer", " --region ", { "Ref": "AWS::Region" }, "\n",
bowsersenior / stooge_loader.rb
Created May 18, 2011
A demo of YAML anchors, references and nested values
View stooge_loader.rb
require 'rubygems'
require 'yaml'
# A demonstration of YAML anchors, references and handling of nested values
# For more info, see:
stooges = YAML::load('stooges.yml') )
# => {
# "default" => {