Skip to content

Instantly share code, notes, and snippets.

View senadir's full-sized avatar

Seghir Nadir senadir

View GitHub Profile
@senadir
senadir / docker-compose.yml
Created November 13, 2019 10:27
my docker-compose file
version: '2'
services:
wordpress:
image: wordpress
ports:
- 8889:80
environment:
WORDPRESS_DEBUG: 1
@senadir
senadir / dot-drag-area.js
Last active September 13, 2019 16:16
Basic Drag Block
/**
* External dependencies
*/
import { useDrop } from 'react-dnd';
/**
* Internal dependencies
*/
import Dot from './dot';
function DotDragArea( { dots, setDots, children } ) {
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/dA6eNmbxiJhEZPXLwX8u1dNp20hGaGueo1mPcg2T9mvgfJe0zImlo1YzFk9+tVcoKrT8P4HgIFF2IKzeNec4LTji3eegSDrQsWbqr7r4bWHIPh+BtsV5JHcLU0YaqaBWwYRuQzhaB0EetomWYT4irD/ETPPeyvYNLfuEEbLwqHKaGpg3tm7Gfrtf3a+PXgTbM39mW2NBjh7+Pcl3+GfqXaQZMpx1SDXuVpLBpgg4ui9ddRBEoezukvKmgEtpbkBb0VQdVK7n8W4ay6z9HLW/Pw68FoZjXWIBlJtnkPfyFrmU17Wji+XnWo+/Dlpe9rPRXmTXma3uJBgxkWnNoBR0IsEjpRrYJSyjnXSmqRQ+ZTTysi3E3ls3PtXG9ofl1OTPGDLnuxualWV5Ni9fPUwYEFClOPZ6dHrqxfbGur2vvef+q7RdQvz8zLGB2aMJMCQ5H6NJp2T/hy9yCmnxpvM9QL7JNIdtOI7hinRr7mv2Nvks8IlyCnyiLOZkBVn7tywL4A7DEXK2DdZgHABHmspCsrm7fB4nuKTRs0tu81cdA7sjcTenjUws4aPrk5G7Plhu1rNhOYx7U4y5aTd5T84mA24RDTx+kx/W4r+K8eFzxqSfR8G1zDpe416bYbNoptNR+LShQISk8L7xsCJ7TF3JR3kLAp/vRmaSxaI4ojTggw== nadir.seghir@gmail.com
@senadir
senadir / 0_reuse_code.js
Created June 6, 2014 00:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console