I hereby claim:
- I am tmamedbekov on github.
- I am tmamedbekov (https://keybase.io/tmamedbekov) on keybase.
- I have a public key ASC5sYd_NdW5OjKxt-gYIcJuOBSLByqQdey9CTzl16qlrwo
To claim this, I am signing this object:
import React from "react"; | |
import { useState, useEffect } from "react"; | |
import axios from "axios"; | |
import Head from "next/head"; | |
import Footer from "../components/Footer"; | |
import styles from "../styles/Home.module.css"; | |
const Index = (props) => { | |
const [bored, getBored] = useState(""); |
slmgr -dlv | |
slmgr -rearm | |
#restart | |
slmgr -dli |
I hereby claim:
To claim this, I am signing this object:
import { CommonFieldTypes, SitecoreIcon, Manifest } from '@sitecore-jss/sitecore-jss-manifest'; | |
export default function(manifest) { | |
manifest.addComponent({ | |
name: 'Profile', | |
icon: SitecoreIcon.DocumentTag, | |
fields: [ | |
{ name: 'avatar', type: CommonFieldTypes.Image }, | |
{ name: 'name', type: CommonFieldTypes.SingleLineText }, | |
{ name: 'title', type: CommonFieldTypes.SingleLineText }, |
import React from 'react'; | |
import { Text, Image } from '@sitecore-jss/sitecore-jss-react'; | |
const Profile = (props) => ( | |
<div className="col-md-8"> | |
<Image | |
field={props.fields.avatar} | |
className="avatar" | |
/> | |
<h1><Text field={props.fields.name} /></h1> |
yourApplicationName/data/routes/en.yml |
var express = require('express'); | |
var fs = require('fs'); | |
var app = express(); | |
app.get('/logJson', function (req, res) { | |
const logsFolder = '/folder/path/'; | |
fs.readdir(logsFolder, (err, files) => { | |
if (err) { |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore role:require="ContentDelivery or Reporting or Processing"> | |
<settings> | |
<setting name="ContentTesting.AutomaticContentTesting.Enabled" value="false" /> | |
<setting name="ContentTesting.AlwaysShowTestCandidateNotification" value="false" /> | |
</settings> | |
<pipelines> | |
<renderingRuleEvaluated> | |
<processor type="Sitecore.ContentTesting.Pipelines.RenderingRuleEvaluated.TestingRule, Sitecore.ContentTesting"> |
<section class="row page-header sampleComponent spaced-row" ng-show="data"> | |
<div class="col-xs-12"> | |
<h1 class="header" ng-bind-html="data.Title | asTrusted"></h1> | |
</div> | |
<article class="col-xs-7 col-md-8"> | |
<p ng-bind-html="data.Text | asTrusted"></p> | |
</article> | |
<figure class="col-xs-5 col-md-4"> | |
<span ng-bind-html="data.Image | asTrusted"></span> | |
</figure> |