I hereby claim:
- I am brunomlopes on github.
- I am brunomlopes (https://keybase.io/brunomlopes) on keybase.
- I have a public key ASDlTIWcOr-fqK6LqiNEYPgQZyRe4Ue-JJzU_0adb_O1Ugo
To claim this, I am signing this object:
using System; | |
using System.Linq; | |
using Raven.Client.Embedded; | |
using Raven.Client.Indexes; | |
using Raven.Tests.Helpers; | |
using Xunit; | |
namespace TestDateTimeOffsetsInRavenDb35 | |
{ | |
public class Entity |
using System.Data.Common; | |
using System.Threading.Tasks; | |
using ServiceStack.OrmLite; | |
using StackExchange.Profiling; | |
using StackExchange.Profiling.Data; | |
using Xunit; | |
public class OrmLiteWithConnectionFactory | |
{ | |
[Fact] |
public class TestConvertTo | |
{ | |
public TestConvertTo() | |
{ | |
// Adding this converter resolves the stack overflow, but it's not a generic solution | |
//IDictionary<string, string> Converter(Dictionary<string, string> input) | |
//{ | |
// if(input == null) return null; | |
// return input.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); | |
//} |
// Used to extract the basic tapping keycode from a dual-role key. | |
// Example: GET_TAP_KC(MT(MOD_RSFT, KC_E)) == KC_E | |
#define GET_TAP_KC(dual_role_key) dual_role_key & 0xFF | |
uint16_t repeat_last_keycode = KC_NO; | |
uint8_t repeat_last_modifier = 0; | |
uint8_t repeat_count = 0; | |
// Initialize variables holding the bitfield | |
// representation of active modifiers. |
# %% | |
import json,math,itertools | |
input_file_path = r"C:\Users\bruno\OneDrive\Documents\QMK Via Layouts\sofle bl 2.4.json" | |
with open(input_file_path) as input: | |
exported_via_configuration = json.load(input) | |
layers = exported_via_configuration["layers"] | |
macros = exported_via_configuration["macros"] |
{ | |
"configurations": [ | |
{ | |
"name": "Mac", | |
"includePath": [ | |
"/usr/local/Cellar/arm-gcc-bin@8/8-2019-q3-update/arm-none-eabi/include/**", | |
"/usr/local/Cellar/arm-gcc-bin@8/8-2019-q3-update/lib/gcc/arm-none-eabi/8.3.1/include/**", | |
"/usr/local/Cellar/arm-gcc-bin@8/8-2019-q3-update/lib/gcc/arm-none-eabi/8.3.1/include-fixed/**", | |
"/usr/local/Cellar/avr-gcc@8/8.4.0/avr/include/**", | |
"/usr/local/Cellar/avr-gcc@8/8.4.0/lib/avr-gcc/8/gcc/avr/8.4.0/include/**", |
$words = @("as","I","his","that","he","was","for","on","are","with","they","be","at","one","have","this","from","by","hot","word", | |
"but","what","some","is","it","you","or","had","the","of","to","and","a","in","we","can","out","other","were","which","do","their", | |
"time","if","will","how","said","an","each","tell","does","set","three","want","air","well","also","play","small","end","put","home", | |
"read","hand","port","large","spell","add","even","land","here","must","big","high","such","follow","act","why","ask","men","change","went", | |
"light","kind","off","need","house","picture","try","us","again","animal","point","mother","world","near","build","self","earth", | |
"father","any","new","work","part","take","get","place","made","live","where","after","back","little","only","round","man","year", | |
"came","show","every","good","me","give","our","under","name","very","through","just","form","sentence","great","think","say","help", | |
"low","line","differ","turn","cause","much","mean","before","move","right","boy","old","too |
def pluck(obj, *keys): | |
def i(o, k): | |
if "." in k: | |
(sub, rest) = k.split('.', 1) | |
if not sub in o: | |
return None | |
val = o[sub] | |
if isinstance(val, list): | |
return (k, list(i(x, rest)[1] for x in val)) | |
(_, val) = i(val, rest) |
I hereby claim:
To claim this, I am signing this object:
public class UnitTest : RavenTestBase | |
{ | |
[Fact] | |
public void ALoadShouldNotCauseADocumentToChange() | |
{ | |
var documentStore = NewDocumentStore(activeBundles:"ScriptedIndexResults"); | |
StoreScriptedIndexDefinition(documentStore); | |
using (var session = documentStore.OpenSession()) |