Skip to content

Instantly share code, notes, and snippets.


Dudu Lasry david1542

Block or report user

Report or block david1542

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
View dtr-put-mapping
"ADS": {
"transformOptions": {
"transformers": [
"transformerType": "ParserTransformer",
"input": {
"typeName": "FileParserTransformerInput",
"order": 0,
"fileParsers": [
View dropdown.js
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Button } from 'reactstrap';
import styled from 'styled-components';
import cloneDeep from 'lodash.clonedeep'
import { withBus } from 'react-bus';
import { extractDeepValue } from '../../utils';
import {
} from '../../actions';
View jsftp example
function fetchFiles(path) {
return new Promise(function(resolve, reject) {
// Fetch started. Listing all files from the user specific directory., function(err, res) {
if(err || res.length === 0) return reject();
// Close the ftp connection
// Iterating files list
async.mapSeries(res, function(file, callback) {
let buffer = false;
View gist:6f783795ed9b9fa43bfc0177c7ab5504
from djongo import models
from django import forms
userStatusEnum = (
('pending', 'pending'),
('active', 'active'),
('removed', 'removed'),
userTypeEnum = (
('buyer', 'buyer'),
You can’t perform that action at this time.