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
class Flap extends Backbone.Model | |
class TimelineCollection extends Backbone.Collection | |
model: Flap | |
url: /tweets/ | |
timeline = new TimelineCollection() | |
TweetView = Backbone.View.extend | |
initalize:-> |
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
using System; | |
using System.Diagnostics; | |
using System.Web; | |
using System.Web.Routing; | |
using YourApp.Infrastructure.Framework; | |
namespace YourApp.Web.UI | |
{ | |
public class RestfulRouteModule : IHttpModule | |
{ |
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
document.write('<link rel="stylesheet" href="https://gist.github.com/stylesheets/gist/embed.css"/>') | |
document.write('<div id=\"gist-2854760\" class=\"gist\">\n\n <div class=\"gist-file\">\n <div class=\"gist-data gist-syntax\">\n <div class=\"gist-highlight\"><pre><div class=\'line\' id=\'LC1\'><span class=\"k\">using<\/span> <span class=\"nn\">System<\/span><span class=\"p\">;<\/span><\/div><div class=\'line\' id=\'LC2\'><span class=\"k\">using<\/span> <span class=\"nn\">System.Diagnostics<\/span><span class=\"p\">;<\/span><\/div><div class=\'line\' id=\'LC3\'><span class=\"k\">using<\/span> <span class=\"nn\">System.Web<\/span><span class=\"p\">;<\/span><\/div><div class=\'line\' id=\'LC4\'><span class=\"k\">using<\/span> <span class=\"nn\">System.Web.Routing<\/span><span class=\"p\">;<\/span><\/div><div class=\'line\' id=\'LC5\'><span class=\"k\">using<\/span> <span class=\"nn\">YourApp.Infrastructure.Framework<\/span><span class=\"p\">;<\/span><\/div><div class=\'line\' id=\' |
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
namespace Reachmail.Web.UI.api | |
{ | |
public class Outputmodel | |
{ | |
public int hello { get; set; } | |
} | |
public class PostCollectionHandler | |
{ | |
public Outputmodel Execute(IEnumerable<ListModel> lists ) |
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
set-window-option -g mode-keys vi # vi key | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection |
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
{ | |
"logPath": "C:\\iislogreader.log", | |
"sources": [ | |
{ | |
"id":"go.site.net", | |
"templates":["c:\\iisExtendedTemplate.json","c:\\iisAdvancedLogginTemplate.json"], | |
"logDirectory": "D:\\IIS\\Logs\\W3SVC2\\", | |
"staticElements": [ | |
{ |
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
input { | |
file { | |
type => "iis" | |
start_position => "beginning" | |
path => "C:/IISLogs/W3SVC2/*.log" | |
format => "plain" | |
} | |
} | |
filter |