Skip to content

Instantly share code, notes, and snippets.

View desko27's full-sized avatar
🍜
I enjoy coding and ramen

Ismael Ramon desko27

🍜
I enjoy coding and ramen
View GitHub Profile
@desko27
desko27 / TestSetupExampleCRAEnzymeChaiMocka.md
Last active February 10, 2018 15:58 — forked from busypeoples/TestSetupExampleCRAEnzymeChaiMocka.md
Mocha/Chai/Enyzme test setup with create-react-app

Basic setup for using Enzyme/Mocha/Chai with create-react-app

This is a temporary solution. Might change in the near future, this depends on how create-react-app will implement testing.

create-react-app quick-test-example

cd quick-test-example

npm run eject
@desko27
desko27 / github-webhook-handler.php
Last active January 9, 2017 14:14 — forked from milo/github-webhook-handler.php
replace HTTP_CONTENT_TYPE to CONTENT_TYPE
<?php
/**
* GitHub webhook handler template.
*
* @see https://developer.github.com/webhooks/
* @author Miloslav Hůla (https://github.com/milo)
*/
$hookSecret = 's.e.c.r.e.t'; # set NULL to disable check