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
.container { | |
scroll-snap-type: y mandatory; /* for vertical scrolling you can use x for horizontal */ | |
} | |
.child { | |
scroll-snap-align: start; /* or center or end */ | |
} |
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
Error -------------------------------------------------- | |
The CloudFormation template is invalid: Template format error: Number of resources, 237, is greater than maximum allowed, 200 |
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
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com |
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
var connect = Npm.require('connect'); | |
RoutePolicy.declare('/my-uploaded-content', 'network'); | |
// Listen to incoming http requests | |
WebApp.connectHandlers.use('/my-uploaded-content', connect.static(process.env['APP_DYN_CONTENT_DIR'])); |
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
export MONGO_URL=mongodb://localhost:27017/<dbname> | |
export PORT=<server_port> | |
export ROOT_URL=http://sub.example.com/ | |
forever start bundle/main.js |
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName js.io | |
ServerAlias js.io | |
ProxyRequests off | |
<Proxy *> | |
Order deny,allow | |
Allow from all |
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
# How to upload local db to meteor: | |
# -h = host, -d = database name, -o = dump folder name | |
mongodump -h 127.0.0.1:3002 -d meteor -o meteor | |
# get meteor db url, username, and password | |
meteor mongo --url myapp.meteor.com | |
# -h = host, -d = database name (app domain), -p = password, meteor = the path to the dumped db folder name | |
mongorestore -u client -h production-db-a2.meteor.io.meteor.com:27017 -d myapp_meteor_com -p 'password' meteor/ |