text:
<!DOCTYPE html>

	<link href="js/bootstrap.min.css" rel="stylesheet"type="text/css">
	<link href="css/moncss.css" rel="stylesheet"type="text/css">

	<title>Comparison of Norwegian Bokmål and Standard Danish -  Vocabulary </title>
	<meta charset="utf-8">

Comparison of Norwegian Bokmål and Standard Danish -  Vocabulary

			<fieldset>

					<form action="" method="post">
						<legend style="color:red;font-weight: bold;font-style:italic;text-align: center;" >Formulaire</legend>

								usual :

											<input type="checkbox" name="Feature" >sædvanlig

											<input type="checkbox" name="Feature" >vanlig (archaic)

											<input type="checkbox" name="Feature" >vanlig

											<input type="checkbox" name="Feature" >sedvanlig

								healthy :
 <input id="0" type="text" name="Feature">

								satisfied/pleased :

											<input type="checkbox" name="Feature" >tilfreds

											<input type="checkbox" name="Feature" >fornøjet

											<input type="checkbox" name="Feature" >fornøyd

								breakfast :
 <input id="1" type="text" name="Feature">

								autumn :

											<input type="checkbox" name="Feature" >efterår

											<input type="checkbox" name="Feature" >(poet.:) høst

											<input type="checkbox" name="Feature" >høst

											<input type="checkbox" name="Feature" >etterår

											<input type="checkbox" name="Feature" >efterår (archaic)

								still (yet) :

											<input type="checkbox" name="Feature" >stadigvæk

											<input type="checkbox" name="Feature" >fremdeles (archaic)

											<input type="checkbox" name="Feature" >fortsat

											<input type="checkbox" name="Feature" >fremdeles

											<input type="checkbox" name="Feature" >fortsatt

								[earth]worm :

											<input type="checkbox" name="Feature" >[meite]makk

											<input type="checkbox" name="Feature" >[mete]mark

											<input type="checkbox" name="Feature" >orm (Ambiguous

											<input type="checkbox" name="Feature" >could mean both worm and snake

											<input type="checkbox" name="Feature" >cf. wyrm.)

								fast, quick(ly) :

											<input type="checkbox" name="Feature" >fort (adv)

											<input type="checkbox" name="Feature" >rask (adj)

											<input type="checkbox" name="Feature" >hurtig

											<input type="checkbox" name="Feature" >rask

								decade :

											<input type="checkbox" name="Feature" >årti

											<input type="checkbox" name="Feature" >tiår

								cinema :

											<input type="checkbox" name="Feature" >kino

											<input type="checkbox" name="Feature" >biograf (older cinemas)

								last year :
 <input id="2" type="text" name="Feature">

								short (person) :

											<input type="checkbox" name="Feature" >kort

											<input type="checkbox" name="Feature" >lav

											<input type="checkbox" name="Feature" >lille

								frog :
 <input id="3" type="text" name="Feature">

								girl :

											<input type="checkbox" name="Feature" >pige

											<input type="checkbox" name="Feature" >jente (mostly Norwegian girls)

											<input type="checkbox" name="Feature" >jente

											<input type="checkbox" name="Feature" >pike

								fun :
 <input id="4" type="text" name="Feature">

								good :
 <input id="5" type="text" name="Feature">

								rubbish (nonsense) :

											<input type="checkbox" name="Feature" >sludder

											<input type="checkbox" name="Feature" >vrøvl

											<input type="checkbox" name="Feature" >vås

											<input type="checkbox" name="Feature" >nonsens

											<input type="checkbox" name="Feature" >tull

											<input type="checkbox" name="Feature" >tøys

								to comb (verb) :

											<input type="checkbox" name="Feature" >gre(ie)

											<input type="checkbox" name="Feature" >kjemme

								jealous :

											<input type="checkbox" name="Feature" >jaloux

											<input type="checkbox" name="Feature" >skinsyg

											<input type="checkbox" name="Feature" >misundelig

											<input type="checkbox" name="Feature" >sjalu

											<input type="checkbox" name="Feature" >misunnelig

								floor (storey) :

											<input type="checkbox" name="Feature" >sal

											<input type="checkbox" name="Feature" >etage

								evening :

											<input type="checkbox" name="Feature" >aften

											<input type="checkbox" name="Feature" >(poet.:) kvæld

											<input type="checkbox" name="Feature" >kveld

								toad :
 <input id="6" type="text" name="Feature">

								lunch :

											<input type="checkbox" name="Feature" >lunsj (alt. lønsj or lunch)

											<input type="checkbox" name="Feature" >formiddagsmat

								ugly :

											<input type="checkbox" name="Feature" >stygg

											<input type="checkbox" name="Feature" >grim

											<input type="checkbox" name="Feature" >(ethically:) styg

								afraid :

											<input type="checkbox" name="Feature" >redd

											<input type="checkbox" name="Feature" >but also bange (archaic

											<input type="checkbox" name="Feature" >mostly used in standard expressions like "bange anelser")

											<input type="checkbox" name="Feature" >bange

											<input type="checkbox" name="Feature" >(arch.

											<input type="checkbox" name="Feature" >dial.:) ræd

								moustache :
 <input id="7" type="text" name="Feature">

								breathe :
 <input id="8" type="text" name="Feature">

								like (vb. enjoy) :
 <input id="9" type="text" name="Feature">

								there, thither (about direction) :
 <input id="10" type="text" name="Feature">

								boy :

											<input type="checkbox" name="Feature" >gutt

											<input type="checkbox" name="Feature" >dreng (archaic or used in a more narrow sense)

											<input type="checkbox" name="Feature" >dreng

											<input type="checkbox" name="Feature" >(colloquial:) gut

								team :
 <input id="11" type="text" name="Feature">

								hydrogen :

											<input type="checkbox" name="Feature" >hydrogen

											<input type="checkbox" name="Feature" >vannstoff (archaic)

											<input type="checkbox" name="Feature" >brint

								difficult :

											<input type="checkbox" name="Feature" >svær

											<input type="checkbox" name="Feature" >vanskelig

								wrong :

											<input type="checkbox" name="Feature" >forkert

											<input type="checkbox" name="Feature" >gal(t)

											<input type="checkbox" name="Feature" >feil

								fact :

											<input type="checkbox" name="Feature" >kendsgerning

											<input type="checkbox" name="Feature" >faktum

											<input type="checkbox" name="Feature" >kjennsgjerning

								easy :

											<input type="checkbox" name="Feature" >nem

											<input type="checkbox" name="Feature" >let

								angry :
 <input id="12" type="text" name="Feature">

								spring(time) :

											<input type="checkbox" name="Feature" >forår

											<input type="checkbox" name="Feature" >(poet.:) vår

											<input type="checkbox" name="Feature" >vår

											<input type="checkbox" name="Feature" >forår (archaic)

								be correct, hold true :
 <input id="13" type="text" name="Feature">

								potato :
 <input id="14" type="text" name="Feature">

								English :
 <input id="15" type="text" name="Feature">

								afterwards :

											<input type="checkbox" name="Feature" >bagefter

											<input type="checkbox" name="Feature" >derefter

											<input type="checkbox" name="Feature" >etterpå

											<input type="checkbox" name="Feature" >efterpå (conservative)

											<input type="checkbox" name="Feature" >deretter

								sometimes :

											<input type="checkbox" name="Feature" >iblant

											<input type="checkbox" name="Feature" >av og til

											<input type="checkbox" name="Feature" >innimellom

											<input type="checkbox" name="Feature" >somme tider

											<input type="checkbox" name="Feature" >(colloquial:) nogle gange

											<input type="checkbox" name="Feature" >af og til

											<input type="checkbox" name="Feature" >indimellem

								..., isn't it?/didn't he? etc. :

											<input type="checkbox" name="Feature" >...

											<input type="checkbox" name="Feature" >ikke

											<input type="checkbox" name="Feature" >vel? ikke sandt?

											<input type="checkbox" name="Feature" >ikke også?

											<input type="checkbox" name="Feature" >ikke sant?

								sheep :

											<input type="checkbox" name="Feature" >sau

											<input type="checkbox" name="Feature" >smale (archaic

											<input type="checkbox" name="Feature" >dialectal)

											<input type="checkbox" name="Feature" >får (archaic

											<input type="checkbox" name="Feature" >dialectal

											<input type="checkbox" name="Feature" >used in expressions

											<input type="checkbox" name="Feature" >fixed phrases )

								hesitate :
 <input id="16" type="text" name="Feature">

								oxygen :

											<input type="checkbox" name="Feature" >ilt

											<input type="checkbox" name="Feature" >oxygen

											<input type="checkbox" name="Feature" >oksygen

											<input type="checkbox" name="Feature" >surstoff

<input type="submit" class="btn btn-info" value="Ajouter un produit" />
					</form>

			</fieldset>


text:
// Generated by CoffeeScript 1.6.2
(function() {
  var $, Ajax, Base, Collection, Extend, Include, Model, Queue, Singleton, Spine,
    __slice = [].slice,
    __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
    __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  Spine = this.Spine || require('spine');

  $ = Spine.$;

  Model = Spine.Model;

  Queue = $({});

  Ajax = {
    getURL: function(object) {
      return (typeof object.url === "function" ? object.url() : void 0) || object.url;
    },
    getScope: function(object) {
      return (typeof object.scope === "function" ? object.scope() : void 0) || object.scope;
    },
    generateURL: function() {
      var args, collection, object, path, scope;

      object = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
      if (object.className) {
        collection = object.className.toLowerCase() + 's';
        scope = Ajax.getScope(object);
      } else {
        if (typeof object.constructor.url === 'string') {
          collection = object.constructor.url;
        } else {
          collection = object.constructor.className.toLowerCase() + 's';
        }
        scope = Ajax.getScope(object) || Ajax.getScope(object.constructor);
      }
      args.unshift(collection);
      args.unshift(scope);
      path = args.join('/');
      path = path.replace(/(\/\/)/g, "/");
      path = path.replace(/^\/|\/$/g, "");
      if (path.indexOf("../") !== 0) {
        return Model.host + "/" + path;
      } else {
        return path;
      }
    },
    enabled: true,
    disable: function(callback) {
      var e;

      if (this.enabled) {
        this.enabled = false;
        try {
          return callback();
        } catch (_error) {
          e = _error;
          throw e;
        } finally {
          this.enabled = true;
        }
      } else {
        return callback();
      }
    },
    queue: function(request) {
      if (request) {
        return Queue.queue(request);
      } else {
        return Queue.queue();
      }
    },
    clearQueue: function() {
      return this.queue([]);
    }
  };

  Base = (function() {
    function Base() {}

    Base.prototype.defaults = {
      dataType: 'json',
      processData: false,
      headers: {
        'X-Requested-With': 'XMLHttpRequest'
      }
    };

    Base.prototype.queue = Ajax.queue;

    Base.prototype.ajax = function(params, defaults) {
      return $.ajax(this.ajaxSettings(params, defaults));
    };

    Base.prototype.ajaxQueue = function(params, defaults) {
      var deferred, jqXHR, promise, request, settings;

      jqXHR = null;
      deferred = $.Deferred();
      promise = deferred.promise();
      if (!Ajax.enabled) {
        return promise;
      }
      settings = this.ajaxSettings(params, defaults);
      request = function(next) {
        return jqXHR = $.ajax(settings).done(deferred.resolve).fail(deferred.reject).then(next, next);
      };
      promise.abort = function(statusText) {
        var index;

        if (jqXHR) {
          return jqXHR.abort(statusText);
        }
        index = $.inArray(request, this.queue());
        if (index > -1) {
          this.queue().splice(index, 1);
        }
        deferred.rejectWith(settings.context || settings, [promise, statusText, '']);
        return promise;
      };
      this.queue(request);
      return promise;
    };

    Base.prototype.ajaxSettings = function(params, defaults) {
      return $.extend({}, this.defaults, defaults, params);
    };

    return Base;

  })();

  Collection = (function(_super) {
    __extends(Collection, _super);

    function Collection(model) {
      this.model = model;
      this.failResponse = __bind(this.failResponse, this);
      this.recordsResponse = __bind(this.recordsResponse, this);
    }

    Collection.prototype.find = function(id, params) {
      var record;

      record = new this.model({
        id: id
      });
      return this.ajaxQueue(params, {
        type: 'GET',
        url: Ajax.getURL(record)
      }).done(this.recordsResponse).fail(this.failResponse);
    };

    Collection.prototype.all = function(params) {
      return this.ajaxQueue(params, {
        type: 'GET',
        url: Ajax.getURL(this.model)
      }).done(this.recordsResponse).fail(this.failResponse);
    };

    Collection.prototype.fetch = function(params, options) {
      var id,
        _this = this;

      if (params == null) {
        params = {};
      }
      if (options == null) {
        options = {};
      }
      if (id = params.id) {
        delete params.id;
        return this.find(id, params).done(function(record) {
          return _this.model.refresh(record, options);
        });
      } else {
        return this.all(params).done(function(records) {
          return _this.model.refresh(records, options);
        });
      }
    };

    Collection.prototype.recordsResponse = function(data, status, xhr) {
      return this.model.trigger('ajaxSuccess', null, status, xhr);
    };

    Collection.prototype.failResponse = function(xhr, statusText, error) {
      return this.model.trigger('ajaxError', null, xhr, statusText, error);
    };

    return Collection;

  })(Base);

  Singleton = (function(_super) {
    __extends(Singleton, _super);

    function Singleton(record) {
      this.record = record;
      this.failResponse = __bind(this.failResponse, this);
      this.recordResponse = __bind(this.recordResponse, this);
      this.model = this.record.constructor;
    }

    Singleton.prototype.reload = function(params, options) {
      return this.ajaxQueue(params, {
        type: 'GET',
        url: Ajax.getURL(this.record)
      }).done(this.recordResponse(options)).fail(this.failResponse(options));
    };

    Singleton.prototype.create = function(params, options) {
      return this.ajaxQueue(params, {
        type: 'POST',
        contentType: 'application/json',
        data: JSON.stringify(this.record),
        url: Ajax.getURL(this.model)
      }).done(this.recordResponse(options)).fail(this.failResponse(options));
    };

    Singleton.prototype.update = function(params, options) {
      return this.ajaxQueue(params, {
        type: 'PUT',
        contentType: 'application/json',
        data: JSON.stringify(this.record),
        url: Ajax.getURL(this.record)
      }).done(this.recordResponse(options)).fail(this.failResponse(options));
    };

    Singleton.prototype.destroy = function(params, options) {
      return this.ajaxQueue(params, {
        type: 'DELETE',
        url: Ajax.getURL(this.record)
      }).done(this.recordResponse(options)).fail(this.failResponse(options));
    };

    Singleton.prototype.recordResponse = function(options) {
      var _this = this;

      if (options == null) {
        options = {};
      }
      return function(data, status, xhr) {
        var _ref, _ref1;

        if (Spine.isBlank(data) || _this.record.destroyed) {
          data = false;
        } else {
          data = _this.model.fromJSON(data);
        }
        Ajax.disable(function() {
          if (data) {
            if (data.id && _this.record.id !== data.id) {
              _this.record.changeID(data.id);
            }
            return _this.record.updateAttributes(data.attributes());
          }
        });
        _this.record.trigger('ajaxSuccess', data, status, xhr);
        if ((_ref = options.success) != null) {
          _ref.apply(_this.record);
        }
        return (_ref1 = options.done) != null ? _ref1.apply(_this.record) : void 0;
      };
    };

    Singleton.prototype.failResponse = function(options) {
      var _this = this;

      if (options == null) {
        options = {};
      }
      return function(xhr, statusText, error) {
        var _ref, _ref1;

        _this.record.trigger('ajaxError', xhr, statusText, error);
        if ((_ref = options.error) != null) {
          _ref.apply(_this.record);
        }
        return (_ref1 = options.fail) != null ? _ref1.apply(_this.record) : void 0;
      };
    };

    return Singleton;

  })(Base);

  Model.host = '';

  Include = {
    ajax: function() {
      return new Singleton(this);
    },
    url: function() {
      var args;

      args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
      args.unshift(encodeURIComponent(this.id));
      return Ajax.generateURL.apply(Ajax, [this].concat(__slice.call(args)));
    }
  };

  Extend = {
    ajax: function() {
      return new Collection(this);
    },
    url: function() {
      var args;

      args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
      return Ajax.generateURL.apply(Ajax, [this].concat(__slice.call(args)));
    }
  };

  Model.Ajax = {
    extended: function() {
      this.fetch(this.ajaxFetch);
      this.change(this.ajaxChange);
      this.extend(Extend);
      return this.include(Include);
    },
    ajaxFetch: function() {
      var _ref;

      return (_ref = this.ajax()).fetch.apply(_ref, arguments);
    },
    ajaxChange: function(record, type, options) {
      if (options == null) {
        options = {};
      }
      if (options.ajax === false) {
        return;
      }
      return record.ajax()[type](options.ajax, options);
    }
  };

  Model.Ajax.Methods = {
    extended: function() {
      this.extend(Extend);
      return this.include(Include);
    }
  };

  Ajax.defaults = Base.prototype.defaults;

  Spine.Ajax = Ajax;

  if (typeof module !== "undefined" && module !== null) {
    module.exports = Ajax;
  }

}).call(this);

/*
//@ sourceMappingURL=ajax.map
*/

redpajama_set_name: RedPajamaGithub


text:
__author__ = 'Sergey Sobko'
__email__ = 'ssobko@rbc.ru'
__copyright__ = 'Copyright 2014, RosBusinessConsulting'

import logging

def initialize_logger(logger=None):
    """Initialize logger"""

    if logger:
        if isinstance(logger, basestring):
            return logging.getLogger(logger)
        return logger
    return logging.getLogger('rbc.session')


text:
package org.wxportal.message.resp;

import java.util.Map;

public class MusicListResp extends AbstractBaseRespMessage {
	private MusicResp Music;

	public MusicResp getMusic() {
		return Music;
	}

	public void setMusic(MusicResp music) {
		Music = music;
	}

	@Override
	public String handlerData2ReturnXml(Map<String, Object> requestMap) {
		// TODO Auto-generated method stub
		return null;
	}
}


text:
Godot's translation work is coordinated on
[Hosted Weblate](https://hosted.weblate.org/projects/godot-engine/godot),
an open source web-based translation platform, where contributors can work
together on translations using various internationalization features.
Creating an account there is free, and you can also login directly with
your GitHub, BitBucket, Google or Facebook account.

To avoid merge conflicts when syncing translations from Weblate (currently
this is done manually), we ask all contributors to work there instead of
making pull requests on this repository.

Link if you missed it: https://hosted.weblate.org/projects/godot-engine/godot

## Adding new languages

If you want to translate for a language which is not featured yet on Weblate,
open an issue on this repo to ask that the language is added, or contact
Akien/@akien-mga directly on IRC (#godotengine channel on Freenode).


text:
using System;
using NSaga;

namespace Samples
{
    public class VerificationCodeRequest : ISagaMessage
    {
        public Guid CorrelationId { get; set; }

        public VerificationCodeRequest(Guid correlationId)
        {
            this.CorrelationId = correlationId;
        }

        public String RequestCarrier { get; set; }
        public String CallbackUrl { get; set; }
    }
}


text:
class BluelockLinux : public QObject, public BluelockIF
{
    Q_OBJECT
public:
    explicit BluelockLinux(QObject *parent = 0);
    virtual void unlock();
    virtual void lock();
    virtual void shutdown();
    virtual void shutdown_time(int time);
    virtual int getStatus();

private:
    void afterCall(short code);
    int status=-1;
    QProcess system;
    QString username;

signals:

public slots:
};

#endif // LOCKERLINUX_H


text:
package com.foobar

import java.net.URL

import akka.actor.{ActorSystem, PoisonPill, Props}
import com.foobar.actors.CrawlerActor
import com.foobar.models.{PageData, Visit}

import scala.language.postfixOps

object Boot extends App {
  val url = "http://wiprodigital.com/"

  implicit val system = ActorSystem("AskTestSystem")
  val myActor = system.actorOf(Props[CrawlerActor].withDispatcher(
    "prio-dispatcher"), name = "crawlerActor")
  myActor ! Visit(new URL(url))
  Thread.sleep(5000)
  myActor ! PoisonPill
}

object SiteMap {
  val tree = scala.collection.mutable.Map[String, PageData]()
}


text:
<?php

class WCML_Upgrade{

    private $versions = array(

        '2.9.9.1',
        '3.1',
        '3.2',
        '3.3',
        '3.5',
        '3.5.4',
        '3.6',
        '3.7',
        '3.7.3',
        '3.7.11',
        '3.8',
        '3.9',
        '3.9.1',
        '4.0'
    );

    function __construct(){

        add_action('init', array($this, 'run'));
        add_action('init', array($this, 'setup_upgrade_notices'));
        add_action('admin_notices',  array($this, 'show_upgrade_notices'));

        add_action('wp_ajax_wcml_hide_notice', array($this, 'hide_upgrade_notice'));

    }

    function setup_upgrade_notices(){

        $wcml_settings = get_option('_wcml_settings');
        $version_in_db = get_option('_wcml_version');

        if(!empty($version_in_db) && version_compare($version_in_db, '2.9.9.1', '<')){
            $n = 'varimages';
            $wcml_settings['notifications'][$n] =
                array(
                    'show' => 1,
                    'text' => __('Looks like you are upgrading from a previous version of WooCommerce Multilingual. Would you like to automatically create translated variations and images?', 'wcml').
                            '
' .
                            ' ' . __('Yes, go to the troubleshooting page', 'wcml') . ' |' .
                            ' '  . __('No - dismiss', 'wcml') . '' .
                            ''
                );
            update_option('_wcml_settings', $wcml_settings);
        }

    }

    function show_upgrade_notices(){
        $wcml_settings = get_option('_wcml_settings');
        if(!empty($wcml_settings['notifications'])){
            foreach($wcml_settings['notifications'] as $k => $notification){

                // exceptions
                if(isset($_GET['tab']) && $_GET['tab'] == 'troubleshooting' && $k == 'varimages') continue;

                if($notification['show']){
                    ?>
                    <div id="<?php echo $k ?>" class="updated">

<?php echo $notification['text']  ?>

                    <?php
                }
            }
        }
    }

    function hide_upgrade_notice($k){

        if(empty($k)){
            $k = $_POST['notice'];
        }

        $wcml_settings = get_option('_wcml_settings');
        if(isset($wcml_settings['notifications'][$k])){
            $wcml_settings['notifications'][$k]['show'] = 0;
            update_option('_wcml_settings', $wcml_settings);
        }
    }

    function run(){

        $version_in_db = get_option('_wcml_version');

        // exception - starting in 2.3.2
        if(empty($version_in_db) && get_option('icl_is_wcml_installed')){
            $version_in_db = '2.3.2';
        }

        $migration_ran = false;

        if($version_in_db && version_compare($version_in_db, WCML_VERSION, '<')){

            foreach($this->versions as $version){

                if(version_compare($version, WCML_VERSION, '<=') && version_compare($version, $version_in_db, '>')){

                    $upgrade_method = 'upgrade_' . str_replace('.', '_', $version);

                    if(method_exists($this, $upgrade_method)){
                        $this->$upgrade_method();
                        $migration_ran = true;
                    }

                }

            }

        }

        if($migration_ran || empty($version_in_db)){
            update_option('_wcml_version', WCML_VERSION);
        }
    }

    function upgrade_2_9_9_1(){
        global $wpdb;

        //migrate exists currencies
        $currencies = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "icl_currencies ORDER BY `id` DESC");
        foreach($currencies as $currency){
            if(isset($currency->language_code)){
            $wpdb->insert($wpdb->prefix .'icl_languages_currencies', array(
                    'language_code' => $currency->language_code,
                    'currency_id' => $currency->id
                )
            );
        }
        }

        $cols = $wpdb->get_col("SHOW COLUMNS FROM {$wpdb->prefix}icl_currencies");
        if(in_array('language_code', $cols)){
            $wpdb->query("ALTER TABLE {$wpdb->prefix}icl_currencies DROP COLUMN language_code");
        }

        // migrate settings
        $new_settings = array(
            'is_term_order_synced'       => get_option('icl_is_wcml_term_order_synched'),
            'file_path_sync'             => get_option('wcml_file_path_sync'),
            'is_installed'               => get_option('icl_is_wpcml_installed'),
            'dismiss_doc_main'           => get_option('wpml_dismiss_doc_main'),
            'enable_multi_currency'      => get_option('icl_enable_multi_currency'),
            'currency_converting_option' => get_option('currency_converting_option')
        );

        if(!get_option('_wcml_settings')){
            add_option('_wcml_settings', $new_settings, false, true);
        }

        delete_option('icl_is_wcml_term_order_synced');
        delete_option('wcml_file_path_sync');
        delete_option('icl_is_wpcml_installed');
        delete_option('wpml_dismiss_doc_main');
        delete_option('icl_enable_multi_currency');
        delete_option('currency_converting_option');

    }

    function upgrade_3_1(){
        global $wpdb,$sitepress;
        $wcml_settings = get_option('_wcml_settings');

        if(isset($wcml_settings['enable_multi_currency']) && $wcml_settings['enable_multi_currency'] == 'yes'){
            $wcml_settings['enable_multi_currency'] = WCML_MULTI_CURRENCIES_INDEPENDENT;
        }else{
            $wcml_settings['enable_multi_currency'] = WCML_MULTI_CURRENCIES_DISABLED;
        }

        $wcml_settings['products_sync_date'] = 1;

        update_option('_wcml_settings', $wcml_settings);

        // multi-currency migration
        if($wcml_settings['enable_multi_currency'] == 'yes' && $wcml_settings['currency_converting_option'] == 2){

            // get currencies exchange rates
            $results = $wpdb->get_results("SELECT code, value FROM {$wpdb->prefix}icl_currencies");
            foreach($results as $row){
                $exchange_rates[$row->code] = $row->value;
            }

            // get languages currencies map
            $results = $wpdb->get_results("SELECT l.language_code, c.code FROM {$wpdb->prefix}icl_languages_currencies l JOIN {$wpdb->prefix}icl_currencies c ON l.currency_id = c.id");
            foreach($results as $row){
                $language_currencies[$row->language_code] = $row->code;
            }

            $results = $wpdb->get_results($wpdb->prepare("
                SELECT p.ID, t.trid, t.element_type
                FROM {$wpdb->posts} p JOIN {$wpdb->prefix}icl_translations t ON t.element_id = p.ID AND t.element_type IN ('post_product', 'post_product_variation')
                WHERE
                    p.post_type in ('product', 'product_variation') AND t.language_code = %s

            ", $sitepress->get_default_language()));

            // set custom conversion rates
            foreach($results as $row){
                $translations = $sitepress->get_element_translations($row->trid, $row->element_type);
                $meta = get_post_meta($row->ID);
                $original_prices['_price']    = !empty($meta['_price']) ? $meta['_price'][0] : 0;
                $original_prices['_regular_price'] = !empty($meta['_regular_price']) ? $meta['_regular_price'][0] : 0;
                $original_prices['_sale_price']    = !empty($meta['_sale_price']) ? $meta['_sale_price'][0] : 0;

                $ccr = array();

                foreach($translations as $translation){
                    if($translation->element_id != $row->ID){

                        $meta = get_post_meta($translation->element_id);
                        $translated_prices['_price'] = $meta['_price'][0];
                        $translated_prices['_regular_price'] = $meta['_regular_price'][0];
                        $translated_prices['_sale_price']    = $meta['_sale_price'][0];

                        if(!empty($translated_prices['_price']) && !empty($original_prices['_price']) && $translated_prices['_price'] != $original_prices['_price']){

                            $ccr['_price'][$language_currencies[$translation->language_code]] = $translated_prices['_price'] / $original_prices['_price'];

                        }
                        if(!empty($translated_prices['_regular_price']) && !empty($original_prices['_regular_price']) && $translated_prices['_regular_price'] != $original_prices['_regular_price']){

                            $ccr['_regular_price'][$language_currencies[$translation->language_code]] = $translated_prices['_regular_price'] / $original_prices['_regular_price'];

                        }
                        if(!empty($translated_prices['_sale_price']) && !empty($original_prices['_sale_price']) && $translated_prices['_sale_price'] != $original_prices['_sale_price']){

                            $ccr['_sale_price'][$language_currencies[$translation->language_code]] = $translated_prices['_sale_price'] / $original_prices['_sale_price'] ;

                        }

                    }
                }

                if($ccr){
                    update_post_meta($row->ID, '_custom_conversion_rate', $ccr);
                }

            }

        }

    }

    function upgrade_3_2(){

        WCML_Capabilities::set_up_capabilities();

        //delete not existing currencies in WC
        global $wpdb;
        $currencies = $wpdb->get_results("SELECT id,code FROM " . $wpdb->prefix . "icl_currencies ORDER BY `id` DESC");
        $wc_currencies = get_woocommerce_currencies();
        foreach ($currencies as $currency){
            if(!array_key_exists($currency->code,$wc_currencies)){
                $wpdb->delete( $wpdb->prefix . 'icl_currencies', array( 'ID' => $currency->id ) );
            }
        }

    }

    function upgrade_3_3(){
        global $wpdb, $woocommerce_wpml;

        WCML_Capabilities::set_up_capabilities();

        $currencies = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "icl_currencies ORDER BY `id` ASC", OBJECT);
        if($currencies)
        foreach($this->currencies as $currency){

            $woocommerce_wpml->settings['currency_options'][$currency->code]['rate']      = $currency->value;
            $woocommerce_wpml->settings['currency_options'][$currency->code]['updated']   = $currency->changed;
            $woocommerce_wpml->settings['currency_options'][$currency->code]['position']  = 'left';
            $woocommerce_wpml->settings['currency_options'][$currency->code]['languages'] = $woocommerce_wpml->settings['currencies_languages'];
            unset($woocommerce_wpml->settings['currencies_languages']);

            $woocommerce_wpml->update_settings();

        }

        $wpdb->query("DROP TABLE `{$wpdb->prefix}icl_currencies`");

    }

    function upgrade_3_5()
    {
        global $wpdb;
        $wcml_settings = get_option('_wcml_settings');

        $wcml_settings['products_sync_order'] = 1;

        update_option('_wcml_settings', $wcml_settings);
    }

    function upgrade_3_5_4()
    {
        flush_rewrite_rules( );
    }

    function upgrade_3_6()
    {
        $wcml_settings = get_option('_wcml_settings');

        $wcml_settings['display_custom_prices'] = 0;
        $wcml_settings['currency_switcher_product_visibility'] = 1;

        update_option('_wcml_settings', $wcml_settings);
    }

    function upgrade_3_7(){
        global $woocommerce_wpml,$wpdb;

        $woocommerce_permalinks = maybe_unserialize( get_option('woocommerce_permalinks') );

        if( is_array( $woocommerce_permalinks ) ) {
            foreach ( $woocommerce_permalinks as $base_key => $base ) {

                $base_key = trim( $base_key, '/' );

                if ( $base ) {
                    $taxonomy = false;

                    switch ( $base_key ) {
                        case 'category_base':
                            $taxonomy = 'product_cat';
                            break;
                        case 'tag_base':
                            $taxonomy = 'product_tag';
                            break;
                        case 'attribute_base':
                            $taxonomy = 'attribute';
                            break;
                    }

                    if ( $taxonomy ) {
                        $wpdb->update(
                            $wpdb->prefix . 'icl_strings',
                            array(
                                'context' => 'WordPress',
                                'name' => sprintf( 'URL %s tax slug', $taxonomy )
                            ),
                            array(
                                'context' => sprintf( 'URL %s slugs - %s', $taxonomy, $base ),
                                'name' => sprintf( 'Url %s slug: %s', $taxonomy, $base )
                            )
                        );

                    }
                }

            }
        }

        $endpoint_keys = array( 'order-pay', 'order-received', 'view-order', 'edit-account', 'edit-address', 'lost-password', 'customer-logout', 'add-payment-method' );

        foreach( $endpoint_keys as $endpoint_key ){

            $wpdb->query(
                $wpdb->prepare( "UPDATE {$wpdb->prefix}icl_strings
                                  SET context = 'WooCommerce Endpoints', name = %s
                                  WHERE context = 'WordPress' AND name = %s",
                    $endpoint_key, 'Endpoint slug: '. $endpoint_key )
            );

            // update domain_name_context_md5 value
            $string_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$wpdb->prefix}icl_strings WHERE context = 'WooCommerce Endpoints' AND name = %s", $endpoint_key ) );

            if( $string_id ){
                $wpdb->query(
                    $wpdb->prepare( "UPDATE {$wpdb->prefix}icl_strings
                              SET domain_name_context_md5 = %s
                              WHERE id = %d",
                        md5( $endpoint_key,'WooCommerce Endpoints' ), $string_id )
                );
            }

        }

        if( !isset($woocommerce_wpml->terms) ){
            global $sitepress;
            $woocommerce_wpml->terms = new WCML_Terms( $woocommerce_wpml, $sitepress, $wpdb );
        }
        $woocommerce_wpml->terms->check_if_sync_terms_needed();

        $wcml_settings = get_option('_wcml_settings');

        $wcml_settings['sync_taxonomies_checked'] = 1;

        update_option('_wcml_settings', $wcml_settings);

        //update custom fields for bookings
        $bookable_resources = $wpdb->get_results( "SELECT element_id FROM {$wpdb->prefix}icl_translations WHERE element_type = 'post_bookable_resource' AND source_language_code IS NOT NULL");

        foreach( $bookable_resources AS $bookable_resource ){
            update_post_meta( $bookable_resource->element_id, 'wcml_is_translated', true );
        }

        $bookable_persons = $wpdb->get_results( "SELECT element_id FROM {$wpdb->prefix}icl_translations WHERE element_type = 'post_bookable_person' AND source_language_code IS NOT NULL");

        foreach( $bookable_persons AS $bookable_person ){
            update_post_meta( $bookable_person->element_id, 'wcml_is_translated', true );
        }

    }

    function upgrade_3_7_3()
    {
        global $sitepress;

        $active_languages = $sitepress->get_active_languages();
        $current_language = $sitepress->get_current_language();

        foreach( $active_languages as $lang ){

            $sitepress->switch_lang( $lang['code'] );

            $product_cats = get_terms( 'product_cat', array( 'hide_empty' => false, 'fields' => 'id=>parent' ) );

            _wc_term_recount( $product_cats, get_taxonomy( 'product_cat' ), true, false );

            $product_tags = get_terms( 'product_tag', array( 'hide_empty' => false, 'fields' => 'id=>parent' ) );

            _wc_term_recount( $product_tags, get_taxonomy( 'product_tag' ), true, false );

        }

        $sitepress->switch_lang( $current_language );

    }

    function upgrade_3_7_11(){

        $wcml_settings = get_option('_wcml_settings');
        $wcml_settings['dismiss_doc_main'] = 1;
        update_option('_wcml_settings', $wcml_settings);
 	}

    function upgrade_3_8(){

        $wcml_settings = get_option('_wcml_settings');
        $wcml_settings['set_up_wizard_run'] = 1;

        if( isset($wcml_settings[ 'attributes_settings' ]) ) {
            $attributes_settings = $wcml_settings['attributes_settings'];
            foreach ( $attributes_settings as $name => $value ) {
                if ( substr( $name, 0, 3 ) != 'pa_' ) {
                    unset( $wcml_settings['attributes_settings'] [$name] );
                    $wcml_settings['attributes_settings'] ['pa_' . $name] = $value;
                }
            }
        }

        update_option('_wcml_settings', $wcml_settings);

    }

    function upgrade_3_9(){
        global $wpdb;

        $meta_keys_to_fix = array(
            '_price',
            '_regular_price',
            '_sale_price',
            '_sku'
        );

        $sql = "
            UPDATE {$wpdb->postmeta}
            SET meta_value = ''
            WHERE meta_key IN('" . join("','", $meta_keys_to_fix) . "')
                AND meta_value IS NULL";

        $wpdb->query( $sql );

    }

    function upgrade_3_9_1(){
        global $wpdb, $sitepress;

        $results = $wpdb->get_results("
                        SELECT p.ID, t.trid, t.element_type
                        FROM {$wpdb->posts} p
                        JOIN {$wpdb->prefix}icl_translations t ON t.element_id = p.ID AND t.element_type IN ('post_product', 'post_product_variation')
                        WHERE p.post_type in ('product', 'product_variation') AND t.source_language_code IS NULL
                    ");

        foreach( $results as $product ){

            if( get_post_meta( $product->ID, '_manage_stock', true ) === 'yes' ){

                $translations = $sitepress->get_element_translations( $product->trid, $product->element_type );

                $min_stock = false;

                //collect min stock
                foreach( $translations as $translation ){
                    $stock = get_post_meta( $translation->element_id, '_stock', true );
                    if( !$min_stock || $stock < $min_stock ){
                        $min_stock = $stock;
                    }
                }

                //update stock value
                foreach( $translations as $translation ){
                    update_post_meta( $translation->element_id, '_stock', $min_stock );
                }
            }
        }
    }

    function upgrade_4_0(){
        $wcml_settings = get_option( '_wcml_settings' );
        $wcml_settings[ 'dismiss_tm_warning' ] = 0;
        $wcml_settings['cart_sync']['lang_switch'] = WCML_CART_SYNC;
        $wcml_settings['cart_sync']['currency_switch'] = WCML_CART_SYNC;

        update_option('_wcml_settings', $wcml_settings);

    }

}


text:
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->

# Function setDistinct

Collect the distinct elements of a multiset.
A multi-dimension array will be converted to a single-dimension array before the operation.

## Syntax

```js
math.setDistinct(set)
```

### Parameters

Parameter | Type | Description
--------- | ---- | -----------
`a` | Array | Matrix | A multiset

### Returns

Type | Description
---- | -----------
Array | Matrix | A set containing the distinc elements of the multiset

## Examples

```js
math.setDistinct([1, 1, 1, 2, 2, 3])        // returns [1, 2, 3]
```

## See also

[setMultiplicity](setMultiplicity.md)


text:
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CodeActions;
using static Csla.Analyzers.Extensions.SyntaxNodeExtensions;

namespace Csla.Analyzers
{
  [ExportCodeFixProvider(LanguageNames.CSharp)]
  [Shared]
  public sealed class IsBusinessObjectSerializableMakeSerializableCodeFix
    : CodeFixProvider
  {
    public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(Constants.AnalyzerIdentifiers.IsBusinessObjectSerializable);

    public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;

    public override async Task RegisterCodeFixesAsync(CodeFixContext context)
    {
      var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false);

      context.CancellationToken.ThrowIfCancellationRequested();

      var diagnostic = context.Diagnostics.First();
      var classNode = root.FindNode(diagnostic.Location.SourceSpan) as ClassDeclarationSyntax;

      context.CancellationToken.ThrowIfCancellationRequested();

      AddCodeFix(context, root, diagnostic, classNode);
    }

    private static SyntaxNode AddAttribute(SyntaxNode root, ClassDeclarationSyntax classNode, string name)
    {
      var attribute = SyntaxFactory.Attribute(SyntaxFactory.ParseName(name));
      var attributeList = SyntaxFactory.AttributeList(SyntaxFactory.SeparatedList<AttributeSyntax>().Add(attribute));
      var newClassNode = classNode.AddAttributeLists(attributeList);
      return root.ReplaceNode(classNode, newClassNode);
    }

    private static void AddCodeFix(CodeFixContext context, SyntaxNode root,
      Diagnostic diagnostic, ClassDeclarationSyntax classNode)
    {
      var newRoot = AddAttribute(
        root, classNode, IsBusinessObjectSerializableMakeSerializableCodeFixConstants.SerializableName);

      if (!root.HasUsing(IsBusinessObjectSerializableMakeSerializableCodeFixConstants.SystemNamespace))
      {
        newRoot = (newRoot as CompilationUnitSyntax).AddUsings(
          SyntaxFactory.UsingDirective(SyntaxFactory.ParseName(
            IsBusinessObjectSerializableMakeSerializableCodeFixConstants.SystemNamespace)));
      }

      context.RegisterCodeFix(
        CodeAction.Create(
          IsBusinessObjectSerializableMakeSerializableCodeFixConstants.AddSerializableAndUsingDescription,
          _ => Task.FromResult(context.Document.WithSyntaxRoot(newRoot)),
          IsBusinessObjectSerializableMakeSerializableCodeFixConstants.AddSerializableAndUsingDescription), diagnostic);
    }
  }
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Dypo.Providers;

namespace Dypo.Tests.Providers
{
    [TestFixture]
    public class AbstractDialectTests
    {
        class AbstractDialectWrapper : AbstractDialect
        {}

        [Test]
        public void UnQuoteValue_Removes_Wrapping_Quotes()
        {
            var abstractDialect = new AbstractDialectWrapper();

            string actual = abstractDialect.UnQuoteValue("'test'");
            Assert.AreEqual("test", actual);
        }

        [Test]
        public void UnQuoteValue_Ignores_Unquoted_Value()
        {
            var abstractDialect = new AbstractDialectWrapper();

            string actual = abstractDialect.UnQuoteValue("test");
            Assert.AreEqual("test", actual);
        }
    }
}