Skip to content

Instantly share code, notes, and snippets.

View sebdah's full-sized avatar
:shipit:
Trust the source

Sebastian Dahlgren sebdah

:shipit:
Trust the source
View GitHub Profile
@sebdah
sebdah / client.html
Created June 24, 2014 12:30
Bootstrap3 with accounts support in MeteorJS
<head>
<title>Bootstrap3 test</title>
</head>
<body>
{{>menu}}
{{>welcome}}
</body>
<template name="welcome">
@sebdah
sebdah / gist:c2cf1404b0ab4b03ab7b
Created June 24, 2014 10:54
SNS notification configuration example
[table: ^my_table$]
...
#
# Simple Notification Service configuration
#
# Topic ARN to publish notifications to
#
# Example:
/**
* This function converts '.' and '$' to their unicode equivalents.
*
* . is converted to U+FF0E
* $ is converted to U+FF04
*
* More details at:
* http://docs.mongodb.org/manual/reference/limits/#Restrictions-on-Field-Names
* http://docs.mongodb.org/manual/faq/developers/#faq-dollar-sign-escaping
*
@sebdah
sebdah / .jshintrc
Created May 23, 2014 06:24
.jshintrc for NodeJS
{
"globals" : {
"describe" : false,
"it" : false,
"before" : false,
"beforeEach" : false,
"after" : false,
"afterEach" : false
},
"camelcase": true,
@sebdah
sebdah / gist:10364185
Created April 10, 2014 10:05
index.html for Meteor-Cordova
<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
@sebdah
sebdah / gist:9641147
Created March 19, 2014 13:01
Example use of Dynamic DynamoDB with regexp (issue 129)
[sebastian ~/tmp]$ ~/git/sebdah/dynamic-dynamodb/dynamic-dynamodb --config dyndyn-101.conf --dry-run
2014-03-19 14:00:07,009 - dynamic-dynamodb - DEBUG - dryrun - Authenticating to SNS using credentials in configuration file
2014-03-19 14:00:07,010 - dynamic-dynamodb - DEBUG - dryrun - Connected to SNS in ap-southeast-1
2014-03-19 14:00:07,011 - dynamic-dynamodb - DEBUG - dryrun - Connecting to DynamoDB in ap-southeast-1
2014-03-19 14:00:07,011 - dynamic-dynamodb - DEBUG - dryrun - Authenticating to DynamoDB using credentials in configuration file
2014-03-19 14:00:07,012 - dynamic-dynamodb - DEBUG - dryrun - Connected to DynamoDB in ap-southeast-1
2014-03-19 14:00:07,061 - dynamic-dynamodb - DEBUG - dryrun - Authenticating to CloudWatch using credentials in configuration file
2014-03-19 14:00:07,062 - dynamic-dynamodb - DEBUG - dryrun - Connected to CloudWatch in ap-southeast-1
2014-03-19 14:00:08,328 - dynamic-dynamodb - DEBUG - dryrun - Table CLIENT_GEN_PRO_002 match with config key ^CLIENT_GEN_PRO_002|CLIE