Skip to content

Instantly share code, notes, and snippets.


Renan Borges renanborgez

Block or report user

Report or block renanborgez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
renanborgez / redux-saga-poll-loop.js
Created Nov 29, 2019 — forked from markerikson/redux-saga-poll-loop.js
Redux-Saga controllable long-polling loop
View redux-saga-poll-loop.js
import { take, put, call, fork, cancel, cancelled } from 'redux-saga/effects'
import {EVENT_POLLING_START, EVENT_POLLING_STOP} from "constants/eventPolls";
import {ClientEventType} from "constants/serverEvents";
function* handleEventA(serverEvent) {
yield put({type : serverEvent.type, payload : {name : serverEvent.eventAData}});
renanborgez /
Created Jan 18, 2019 — forked from JeffBelback/
Destroy all Docker Containers and Images
# Stop all containers
docker stop $(docker ps -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
You can’t perform that action at this time.