Skip to content

Instantly share code, notes, and snippets.

View imnetcat's full-sized avatar
👋

Huskov Danil imnetcat

👋
  • Ukraine
View GitHub Profile
import React, { useState } from 'react';
import './App.css';
import { DndProvider, useDrag, useDrop } from "react-dnd";
import { HTML5Backend } from "react-dnd-html5-backend";
const MovableItem = ({setIsFirstColumn}) => {
const [{isDragging}, drag] = useDrag({
item: {name: 'Any custom name', type: 'Our first type'},
end: (item, monitor) => {
const dropResult = monitor.getDropResult();
@SergeiShumilin
SergeiShumilin / test_db.h
Last active April 16, 2022 12:40
Coursera Yellow Belt Final
#include "test_runner.h"
#include "database.h"
#include "condition_parser.h"
#include <sstream>
#include "node.h"
#include "test_runner.h"
#include <sstream>
/*