This file contains hidden or 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 AWS = require('aws-sdk'); | |
| var region = "us-west-2"; | |
| var accessKeyId = process.env.DYNAMODB_ACCESS_KEY_ID; | |
| var secretAccessKey = process.env.DYNAMODB_SECRET_ACCESS_KEY; | |
| var tableName = "your table name"; | |
| var dynamoDB = new AWS.DynamoDB({ | |
| region: region, | |
| accessKeyId: accessKeyId, |
This file contains hidden or 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 express = require('express'); | |
| var bodyParser = require('body-parser') | |
| var crypto = require('crypto'); | |
| // Calculate the X-Hub-Signature header value. | |
| function getSignature(buf) { | |
| var hmac = crypto.createHmac("sha1", process.env.FB_APP_SECRET); | |
| hmac.update(buf, "utf-8"); | |
| return "sha1=" + hmac.digest("hex"); | |
| } |
This file contains hidden or 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
| using Microsoft.OData.Core; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Web.OData.Builder; | |
| namespace FooApp | |
| { | |
| class FakeODataResponseMessage : IODataResponseMessage | |
| { |
This file contains hidden or 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
| Get-ChildItem -Directory -Force -Recurse *.git | ForEach-Object { cd $_.Parent.FullName; Write-Host $_.Parent.FullName; git pull } |