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
database: | |
override: | |
- mkdir -p config | |
- | | |
echo 'test: | |
host: localhost | |
username: ubuntu | |
database: circle_ruby_test | |
adapter: postgresql | |
' > config/database.yml |
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
ActionMailer::Base.smtp_settings = { | |
:address => 'email-smtp.us-east-1.amazonaws.com', | |
:port => 25, | |
:authentication => 'login', | |
# The following 2 of course shouldn't be in here. When you open SES on the AWS Mangaement Console, they | |
# provide a link to create STMP users within Amazon. Just follow that and you'll get username and password. | |
:user_name => ENV['EMAIL_USERNAME'], | |
:password => ENV['EMAIL_PASSWORD'], | |
:domain => 'mysquar.com', | |
:enable_starttls_auto => true |
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
repositories { | |
maven { url 'https://raw.githubusercontent.com/hendrikbeck/mvn_repo/master/' } | |
} | |
dependencies { | |
// Your other dependencies go here... | |
compile 'io.murm.android:sdk:0.0.5+@aar' | |
} |
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
xmlns:murm.io="http://schemas.android.com/apk/res-auto" |
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
<io.murmio.android.sdk.Murm | |
android:id="@+id/my_first_murm" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
murm.io:tag="My first example" /> |
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
Murm m = (Murm) findViewById(R.id.my_first_murm); | |
m.setUserId("John Doe"); | |
m.setTransactionId("123456"); |
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
MurmConfig.setUserId(SessionManager.getLoggedInUser().getUserId()); |
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
<div id="murm"></div> | |
<script src="https://preview.murm.io/sdk/murmio.js"></script> | |
<script> | |
$('#murm').murm(MY_AUTHENTICATION_KEY, | |
{ | |
tag: "My first example" | |
} | |
); | |
</script> |
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
$('#murm').murm(MY_AUTHENTICATION_KEY, | |
{ | |
tag: "My first example", | |
user: "My user, e.g. an ID that helps you to see who it was", | |
email: "The email of your customer", | |
transaction: "A transcation ID, e.g. an order ID", | |
object: "Some object reference, e.g. to a product or a helpdesk article (if that applies)" | |
} | |
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
# I found 2 cool links that do most of the work. I just added a few lines that I needed to do on my machine to make it work | |
# From http://makandracards.com/makandra/15901-howto-create-a-self-signed-certificate | |
openssl req -new -newkey rsa:2048 -sha1 -days 365 -nodes -x509 -keyout server.key -out server.crt | |
mkdir /Users/NAME/.ssl | |
cp server.key /Users/NAME/.ssl | |
cp server.crt /Users/NAME/.ssl | |
# From http://makandracards.com/makandra/15903-using-thin-for-development-with-ssl |
OlderNewer