Skip to content

Instantly share code, notes, and snippets.

View cDoru's full-sized avatar
💭
I may be slow to respond.

Doru Cioclea cDoru

💭
I may be slow to respond.
  • Cluj-Napoca
View GitHub Profile
@cDoru
cDoru / elasticsearch.yml
Created October 9, 2019 17:59 — forked from reyjrar/elasticsearch.yml
ElasticSearch config for a write-heavy cluster
##################################################################
# /etc/elasticsearch/elasticsearch.yml
#
# Base configuration for a write heavy cluster
#
# Cluster / Node Basics
cluster.name: logng
# Node can have abritrary attributes we can use for routing
@cDoru
cDoru / shadow-dom.md
Created October 12, 2018 18:28 — forked from praveenpuglia/shadow-dom.md
Everything you need to know about Shadow DOM

I am moving this gist to a github repo so more people can contribute to it. Also, it makes it easier for me to version control.

Please go to - https://github.com/praveenpuglia/shadow-dom-in-depth for latest version of this document. Also, if you find the document useful, please shower your love, go ⭐️ it. :)

Shadow DOM

Heads Up! It's all about the V1 Spec.

In a nutshell, Shadow DOM enables local scoping for HTML & CSS.

@cDoru
cDoru / presentations_final_list.md
Created May 2, 2018 19:35 — forked from oana-sipos/presentations_final_list.md
Presentations @ JSHeroes 2018
@cDoru
cDoru / ApiClient.cs
Created August 21, 2017 08:21 — forked from aliozgur/ApiClient.cs
Xamarin.Forms : ModernHttpClient wrapper for API calls
using System;
using System.Threading.Tasks;
using ModernHttpClient;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading;
using System.Text;
namespace MyNamespace
{
@cDoru
cDoru / WatiNHelper.cs
Created June 26, 2017 07:53 — forked from pagebrooks/WatiNHelper.cs
This helper class adds Eval so that you can obtain the result of a JavaScript function. This functionality is not native to WatiN. Forked from: http://blog.ashmind.com/2007/09/05/evaluating-javascript-in-watin
// Forked from: http://blog.ashmind.com/2007/09/05/evaluating-javascript-in-watin/
// This helper class adds Eval so that you can obtain the result of a JavaScript
// function. This functionality is not native to WatiN.
/*
* Usage:
* var browser = new IE();
* var foo = browser.NativeDocument.Eval<bool>("isFoo()");
*/