Skip to content

Instantly share code, notes, and snippets.

View tmamedbekov's full-sized avatar
🤠
alert( 'Howdy, world!' );

Tony Mamedbekov tmamedbekov

🤠
alert( 'Howdy, world!' );
View GitHub Profile
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 },
@tmamedbekov
tmamedbekov / docker_wordpress.md
Created December 5, 2019 20:04 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes

Keybase proof

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:

@tmamedbekov
tmamedbekov / gist:c85d13a6978ea0a8ec0638d78c9d0906
Created November 7, 2020 22:44
Windows Server 2016/2019 Evaluation: How to extend the Trial Period
slmgr -dlv
slmgr -rearm
#restart
slmgr -dli
@tmamedbekov
tmamedbekov / index.js
Last active February 5, 2021 22:17
Example of NextJS data fetching Scenarios with BoredAPI || https://ourdemo.netlify.app/
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("");