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
bash-3.2$ echo $VAR | |
bash-3.2$ if [ -z $VAR ]; then echo ‘variable is unset’; fi | |
‘variable is unset’ | |
bash-3.2$ if [ ! -z $VAR ]; then echo ‘variable is set’; fi | |
bash-3.2$ VAR='' | |
bash-3.2$ if [ -z $VAR ]; then echo ‘variable is unset’; fi | |
‘variable is unset’ | |
bash-3.2$ if [ ! -z $VAR ]; then echo ‘variable is set’; fi | |
bash-3.2$ VAR='test' |
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
{ | |
"Statement": [ | |
{ | |
"Sid": "PackerSecurityGroupAccess", | |
"Action": [ | |
"ec2:CreateSecurityGroup", | |
"ec2:DeleteSecurityGroup", | |
"ec2:DescribeSecurityGroups", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupIngress" |
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
diff -uNp -r mutt-1.5.22.orig/PATCHES mutt-1.5.22/PATCHES | |
--- mutt-1.5.22.orig/PATCHES Sun Feb 21 05:51:26 2010 | |
+++ mutt-1.5.22/PATCHES Fri Oct 18 10:00:49 2013 | |
@@ -0,0 +1 @@ | |
+patch-1.5.16hg.cd.trash_folder.vl.1 | |
diff -uNp -r mutt-1.5.22.orig/commands.c mutt-1.5.22/commands.c | |
--- mutt-1.5.22.orig/commands.c Fri Oct 18 05:48:24 2013 | |
+++ mutt-1.5.22/commands.c Fri Oct 18 10:00:49 2013 | |
@@ -720,6 +720,7 @@ int _mutt_save_message (HEADER *h, CONTEXT *ctx, int d | |
if (option (OPTDELETEUNTAG)) |
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
#!/usr/bin/env ruby | |
require 'webrick' | |
include WEBrick | |
# add custom MIME types | |
#HTTPUtils::DefaultMimeTypes.store('swf', 'application/x-shockwave-flash') | |
port = 8081 | |
path = File.expand_path((ARGV[0].nil?) ? File.dirname(__FILE__) : ARGV[0]) |
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
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
cd | |
# Install dependencies |