Skip to content

Instantly share code, notes, and snippets.

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

Raphael Amorim raphaelamorim

💭
I may be slow to respond.
  • Hewlett Packard Enterprise
  • Palo Alto, CA, USA
View GitHub Profile

MIND MAP

mindmap
  root((mindmap))
    Test
    Testing
    Testingsssssss
    Origins
@raphaelamorim
raphaelamorim / JaroWinklerStringSimilarity.sql
Created August 5, 2022 21:33 — forked from bambit/JaroWinklerStringSimilarity.sql
Jaro-Winkler String Similarity in T-SQL
-- Based on code here: http://www.sqlservercentral.com/articles/Fuzzy+Match/65702/
-- Modified to be used in SQL Server Database Projects or run on its own, and fixed similarity vs distance confusion
CREATE FUNCTION [dbo].JaroWinklerGetCommonCharacters(@firstWord VARCHAR(MAX), @secondWord VARCHAR(MAX), @matchWindow INT)
RETURNS VARCHAR(MAX) AS
BEGIN
DECLARE @CommonChars VARCHAR(MAX)
DECLARE @copy VARCHAR(MAX)
DECLARE @char CHAR(1)
DECLARE @foundIT BIT
/*
* ****************************************************************************
* Copyright VMware, Inc. 2010-2016. All Rights Reserved.
* ****************************************************************************
*
* This software is made available for use under the terms of the BSD
* 3-Clause license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions

Keybase proof

I hereby claim:

  • I am raphaelamorim on github.
  • I am raphaelamorim (https://keybase.io/raphaelamorim) on keybase.
  • I have a public key ASBxZtutdOZuV-qA-2RDLi8P2MVzGLw8TIvUjc37gSuFiQo

To claim this, I am signing this object:

@raphaelamorim
raphaelamorim / gist:8bc463df1342b9ab5c6c
Created December 3, 2015 23:21
Unable to push configuration due to missing yang models
steps to reproduce:
opendaylight-user@root>feature:install odl-nic-core-service-mdsal
opendaylight-user@root>feature:install odl-nic-core
2015-12-03 15:16:41,320 | INFO | config-pusher | ConfigPusherImpl | 118 - org.opendaylight.controller.config-persister-impl - 0.4.0.SNAPSHOT | Pushing configuration snapshot 88-intent-impl.xml(odl-nic-core,odl-nic-core)
2015-12-03 15:18:41,393 | ERROR | config-pusher | ConfigPusherImpl | 118 - org.opendaylight.controller.config-persister-impl - 0.4.0.SNAPSHOT | Unable to push configuration due to missing yang models. Yang models that are missing, but required by the configuration: [urn:opendaylight:params:xml:ns:yang:nic:mapping:?module=intent-mapping-interface&revision=2015-11-11]. For each mentioned model check: 1. that the mentioned yang model namespace/name/revision is identical to those in the yang model itself 2. the yang file is present in the system 3. the bundle with that yang file is present in the system and active 4. th
{
"mappings": {
"outer-map": [
{
"id": "developers",
"inner-map": [
{
"inner-key": "raphael",
"value": "{'type':'EPG'}"
},