git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| import { Request, Response } from 'express'; | |
| import { Body, Controller, Post, Req, Res } from '@nestjs/common'; | |
| import { UserService } from './user.service'; | |
| import * as Redis from 'ioredis'; | |
| import { RateLimiterRedis } from 'rate-limiter-flexible'; | |
| const redisClient = new Redis({enableOfflineQueue: false}); | |
| const maxWrongAttemptsByIPperDay = 100; | |
| const maxConsecutiveFailsByUsernameAndIP = 5; |
| const fetch = require('./fetch') | |
| const RED = '#cd3131' | |
| const YELLOW = '#e5e512' | |
| const GREEN = '#05bc79' | |
| const BLUE = '#2472c8' | |
| exports.handler = async function(event, context) { | |
| // Debugging | |
| // console.log('event', JSON.stringify(event, null, 2)) |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
My name is Ivo and I am an Italian agile software developer who loves coding and solving problems in a simple yet creative fashion. During my years of web development I have grown a strong passion for fronted development which led me to a good understanding of its underlaying technologies. I love hacking the hell out of web apps and getting a grasp of cutting edge technologies in order to keep up with time and deliver the best user experience possible.
While user experience still plays a big role in what I enjoy doing, I've learnt how important it is to write stable yet maintainable and scalable backend solutions. Even though I started out with PHP, I soon naturally came closer to the NodeJS environment while still embracing more "elegant" technologies such as Ruby or Java either adopting frameworks or by implementing architectures from scratch.
I discovered the Agile Manifesto and eXtreme Programming back while joining XPeppers in 2013 and I’ve tried my best to apply either values and prin
| #!/usr/bin/env ruby | |
| require 'open-uri' | |
| require 'pathname' | |
| require 'json' | |
| def strip_hash(f) | |
| ext = f.extname | |
| if ext.include?("?") |
| @import 'https://fonts.googleapis.com/css?family=Open+Sans'; | |
| * { | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Open Sans', sans-serif; | |
| line-height: 1.75em; |
| # UdacityDownload.py | |
| # Python 2.7.6 | |
| """ | |
| Python script to download course content from udacity courses | |
| - Creates folders as per course names | |
| - Downloads all the zip files | |
| - Extract content from zip file | |
| - Finally delete the zip file | |
| Multiple course content can be downloaded from list |
| { | |
| "title": "this is a title", | |
| "content": "this is a body", | |
| "date": "2009-01-01", | |
| "url":"http://oldsite.com/123/test", | |
| "image": "test.jpg", | |
| "id": 1 | |
| } |
| import React, {PropTypes} from 'react'; | |
| import classNames from 'classnames'; | |
| class BatchDropZone extends React.Component { | |
| static propTypes = { | |
| // function that recieves an array of files | |
| receiveFiles: PropTypes.func.isRequired, |
| <?php | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |