View vscode-rls-error.log
{"message":"found crate `std` compiled by an incompatible version of rustc","code":{"code":"E0514","explanation":null},"level":"error","spans":[{"file_name":"/home/steveej/.cargo/registry/src/github.com-1ecc6299db9ec823/httparse-1.2.3/src/lib.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"#![cfg_attr(not(feature = \"std\"), no_std)]","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[{"message":"please recompile that crate using this compiler (rustc 1.22.0-nightly (dcbbfb6e8 2017-10-12))","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"crate `std` path #1: /nix/store/dbjji2rbbny1lfiia8n0rdg8f1x1lkzy-rust-1.21.0-2017-10-09-3b72af97e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-29181a531b1322da.rlib compiled by \"rustc 1.21.0 (3b72af97e 2017-10-09)\"","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"messag
View first_date_current_month.sql
-- первая дата текущего месяца
SELECT DATE_SUB(CURRDATE(), INTERVAL DAYOFMONTH(CURRDATE()) -1 DAY);
View JS Exercise Links
View feaure
Feature:bla
Scenario:bla
Given user is a
View style.css
/*************************
Begin Convoy-specific styling
*************************/
h3.cnvy-grid {
display: none;
}
img.cnvy-header-img {
width: 100%;
margin-bottom: 40px;
}
View sample6.swift
private func setupConstraints() {
self.backImView.translatesAutoresizingMaskIntoConstraints = false
self.textLbl.translatesAutoresizingMaskIntoConstraints = false
self.titleLbl.translatesAutoresizingMaskIntoConstraints = false
self.imageView?.translatesAutoresizingMaskIntoConstraints = false
self.button?.translatesAutoresizingMaskIntoConstraints = false
self.customView?.translatesAutoresizingMaskIntoConstraints = false
let backImLeading = NSLayoutConstraint(item: self.backImView,
View kelvin-to-fahrenheit.js
// Prompting the user to enter today's Kelvin temperature
const kelvin = prompt('What is the Kelvin temperature today?');
// Celsius is 273 degrees less than Kelvin
const celsius = kelvin - 273;
// Calculating Fahrenheit temperature to the nearest integer
let fahrenheit = Math.floor(celsius * (9/5) + 32);
// Displaying the temperature using string interpolation
View gist:64f61b7c837849d4525f145627681922
/**
* Creating and registering a listener with the Diffusion 6 API is a simple
* process. This code will execute the Callback 'addUser' when a new topic
* is added under the path /chat/chatsessions/ which creates the necessary
* DOM elements in the Agent interface.
*/
var registerTopicListener = function (session){
var listener = {
onDescendantNotification: function() {},
View ClassNotFoundExceptionDemo.java
package com.javamultiplex.java.lang.exceptions;
/**
* @author Rohit Agarwal
* @version 1.0
* @category java.lang/Exception
* @since JDK 1.0
*/
public class ClassNotFoundExceptionDemo {