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 System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Net.Mime; |
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
/* =Markdown支持 | |
----------------------------------------------- */ | |
h3 { | |
font-size: 26px; | |
} | |
code, kbd, pre, samp { | |
font-family: "Consolas",monospace; | |
} |
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
public class GridFSHandle : IDFSHandle | |
{ | |
private readonly MongoDatabase _db; | |
private readonly MongoServer _server; | |
private readonly string _dbName; | |
private readonly MongoGridFS _gridFs; | |
private readonly string _connectionString; | |
public GridFSHandle() | |
{ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/*! http://mths.be/placeholder v2.0.6 by @mathias */; | |
(function (g, i, d) { | |
var a = 'placeholder' in i.createElement('input'), | |
e = 'placeholder' in i.createElement('textarea'), | |
j = d.fn, | |
c = d.valHooks, | |
l, k; | |
if (a && e) { | |
k = j.placeholder = function () { | |
return this |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Microsoft.Win32; | |
using System.IO; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
namespace FW.CommonFunction |