if
if tweets.empty?
puts "no tweets found - better follow some ppl!"
end
# inline
puts "no tweets found - better follow some ppl!" if tweets.empty?
/* Custom styles for Confluence (included for all themes by default) */ | |
/***************************************************** | |
** PUT SPACE SPECIFIC STYLING HERE (NOT AT BOTTOM) | |
***************************************************/ | |
#children-section | |
{ | |
display : none; |
if
if tweets.empty?
puts "no tweets found - better follow some ppl!"
end
# inline
puts "no tweets found - better follow some ppl!" if tweets.empty?
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite | |
# OS generated files # | |
###################### | |
/db/*.sqlite3 | |
/log/*.log |
var | |
styleSheets = document.styleSheets, | |
totalStyleSheets = styleSheets.length; | |
for (var j = 0; j < totalStyleSheets; j++){ | |
var | |
styleSheet = styleSheets[j], | |
rules = styleSheet.cssRules, | |
totalRulesInStylesheet = rules.length, | |
totalSelectorsInStylesheet = 0; |
var schema = new Schema({ | |
name: String, | |
binary: Buffer, | |
living: Boolean, | |
updated: { type: Date, default: Date.now } | |
age: { type: Number, min: 18, max: 65 } | |
mixed: Schema.Types.Mixed, | |
_someId: Schema.Types.ObjectId, | |
array: [], | |
ofString: [String], |
namespace :secret do | |
desc "Edit an encrypted data bag item in EDITOR" | |
task :edit, :data_bag, :bag_item do |t, args| | |
unless ENV['EDITOR'] | |
puts "No EDITOR found. Try:" | |
puts "export EDITOR=vim" | |
puts "or" | |
puts "export EDITOR='subl -w'" | |
exit 1 | |
end |
.col-1 { | |
width: 6.85484%; | |
float: left; | |
margin-right: 1.6129%; | |
display: inline; | |
} | |
.col-2 { | |
width: 15.32258%; | |
float: left; |
function prompt_char { | |
git branch >/dev/null 2>/dev/null && echo '±' && return | |
hg root >/dev/null 2>/dev/null && echo '☿' && return | |
svn info >/dev/null 2>/dev/null && echo 'ಠ_ಠ' && return | |
echo '○' | |
} | |
function virtualenv_info { | |
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' | |
} |
grunt.registerMultiTask('deploy', 'deploy program to cloud', function() { | |
var pkgcloud = require('pkgcloud') | |
, walk = require('walk') | |
, fs = require('fs') | |
, done = this.async() | |
, self = this; | |
grunt.log.w |