Migrei o post para meu blog, por favor clique no link abaixo:
http://blog.rafaelrosafu.info/2013/07/16/imigrando-e-vivendo-no-canada-um-guia-nada-imparcial.html
Obrigado aos que deixaram comentários :)
# /etc/rabbitmq/rabbitmq.config | |
# | |
# Follow the instructions on RabbitMQ website to create certificate authority and certificates - | |
# | |
# http://www.rabbitmq.com/ssl.html | |
# | |
[ | |
{rabbit, [ | |
{tcp_listeners,[{"127.0.0.1",5672}]}, |
NSFetchRequest* fetch = [NSFetchRequest fetchRequestWithEntityName:@"Record"]; | |
NSEntityDescription* entity = [NSEntityDescription entityForName:@"Record" | |
inManagedObjectContext:myManagedObjectContext]; | |
NSAttributeDescription* statusDesc = [entity.attributesByName objectForKey:@"status"]; | |
NSExpression *keyPathExpression = [NSExpression expressionForKeyPath: @"url"]; // Does not really matter | |
NSExpression *countExpression = [NSExpression expressionForFunction: @"count:" | |
arguments: [NSArray arrayWithObject:keyPathExpression]]; | |
NSExpressionDescription *expressionDescription = [[NSExpressionDescription alloc] init]; | |
[expressionDescription setName: @"count"]; | |
[expressionDescription setExpression: countExpression]; |
Migrei o post para meu blog, por favor clique no link abaixo:
http://blog.rafaelrosafu.info/2013/07/16/imigrando-e-vivendo-no-canada-um-guia-nada-imparcial.html
Obrigado aos que deixaram comentários :)
RailsAdmin.config do |config| | |
config.included_models = RailsAdmin::Config.models_pool << 'Delayed::Job' | |
config.model Delayed::Job do | |
label 'Task' | |
navigation_label 'Background Processing' | |
end | |
end |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install
will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
#!/usr/bin/env ruby | |
# | |
# This code snippet shows how to enable SSL in Sinatra+Thin. | |
# | |
require 'sinatra' | |
require 'thin' | |
class MyThinBackend < ::Thin::Backends::TcpServer | |
def initialize(host, port, options) |
You should be able to start a fresh EC2 instance of Ubuntu and follow the instructions below to get a server with your preferred version of Ruby, nginx ready to delegate requests to Unicorn, and logrotate setup to keep your disk from filling up with log files. You will also have ruby-install
for installing new rubies and chruby
for switching between them. A .ruby-version
file will be added to the home directory of the user that runs this script.
ami-5189a661
for EBS, 64-bit SSD)/tmp
using the file names specified in the title./tmp/setup.sh
and change the variables at the top to match your setup/tmp/setup.sh
executable: chmod +x /tmp/setup.sh
func takeScreenshot(view: UIView) -> UIImageView { | |
UIGraphicsBeginImageContext(view.frame.size) | |
view.layer.renderInContext(UIGraphicsGetCurrentContext()) | |
let image = UIGraphicsGetImageFromCurrentImageContext() | |
UIGraphicsEndImageContext() | |
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil) | |
return UIImageView(image: image) | |
} |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have: