Skip to content

Instantly share code, notes, and snippets.

View dstarcev's full-sized avatar

Dmitriy Startsev dstarcev

View GitHub Profile
<iframe frameborder="0" marginheight="0" marginwidth="0" width="100%" height="500" style="width:100%;height:500px;border:none;" src="https:// xxx. chatovod.ru/?amode=dle&anick=xxx&aemail=xxx&akey=xxx"></iframe>
///<reference path="/resources/libraries/underscore-min.js"/>
(function () {
var original = _.template;
_.template = function(templateStringOrFunc, data, settings) {
if (_.isFunction(templateStringOrFunc)) {
if (data) {
return templateStringOrFunc(data);
}
protected virtual IDictionary<string, T> PerformMultiGet<T>(IEnumerable<string> keys, Func<IMultiGetOperation, KeyValuePair<string, CacheItem>, T> collector, Func<IOperationResult, T> failureCollector = null)
{
Dictionary<string, string> hashed = new Dictionary<string, string>();
foreach (string key in keys)
hashed[this.keyTransformer.Transform(key)] = key;
Dictionary<IMemcachedNode, IList<string>> dictionary = this.GroupByServer((IEnumerable<string>) hashed.Keys);
Dictionary<string, T> retval = new Dictionary<string, T>(hashed.Count);
List<WaitHandle> list1 = new List<WaitHandle>();
foreach (KeyValuePair<IMemcachedNode, IList<string>> keyValuePair in dictionary)
{
public interface IContext<T>
{
T Current { get; set; }
}
public class LogicalCallContext<T> : IContext<T>
{
private readonly string _key = Guid.NewGuid().ToString();
public T Current
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\iostream
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\istream
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ostream
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ios
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocnum
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\climits
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\yvals.h
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xkeycheck.h
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\crtdefs.h
Примечание: включение файла: C:\Program Files (x86)\Microsoft Visual
#include <malloc.h>
#define MAX_TOKEN_LENGTH 256
struct node {
char *value;
struct node *next;
};
struct node *new_list() {
#include <malloc.h>
#define MAX_TOKEN_LENGTH 256
struct node {
char value[MAX_TOKEN_LENGTH];
struct node *next;
};
struct node *new_list() {
Dmitriy@WIN-KOK22HJI8SI MINGW64 /d/projects/vagrant-test
$ vagrant init hashicorp/precise64
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
Dmitriy@WIN-KOK22HJI8SI MINGW64 /d/projects/vagrant-test
$ vagrant up
==> Provider 'virtualbox' not found. We'll automatically install it now...
- name: Accept Oracle license
debconf:
name: oracle-java8-installer
question: 'shared/accepted-oracle-license-v1-1'
vtype: 'select'
value: 'true'
become: yes
# initialization file (not found)