Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
########################################################### | |
# | |
# Script to upgrade all NuGet packages in solution to last version | |
# | |
# USAGE | |
# Place this file (Upgrade-Package.ps1) to your solution folder. | |
# From Package Manager Console execute | |
# | |
# .\Upgrade-Package.ps1 -PackageID:Castle.Core | |
# |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
This is a sample of how to send some information to logstash via the TCP input in nodejs or python. It assumes the logstash host is on 10.10.10.100 and the TCP listening input is 9563.
The logstash.conf should look something like the sample file.
The log message should be a stringified JSON object with the log message in the @message field.
To use, run the node script node sendMessageToLogstash.js
, or the python script python sendMessageToLogstash.js
using System; | |
using System.Linq; | |
namespace FakeJobInfo | |
{ | |
class Program | |
{ | |
private static Func<int, int> rand = new Random().Next; |
public class ProgressiveDownload | |
{ | |
private readonly HttpRequestMessage request; | |
public ProgressiveDownload(HttpRequestMessage request) | |
{ | |
this.request = request; | |
} | |
public HttpResponseMessage HeaderInfoMessage(long contentLength, string mediaType) |