Skip to content

Instantly share code, notes, and snippets.

View thiagorossener's full-sized avatar

Thiago Rossener thiagorossener

View GitHub Profile
@thiagorossener
thiagorossener / readme.md
Created April 24, 2021 17:44 — forked from maxivak/readme.md
Restore repo from Gitlab bundle file

Gitlab exports repositories to tar archive which contains .bundle files.

We have repo.bundle file and we want to restore files from it.

  • create bare repo from bundle file
git clone --mirror myrepo.bundle my.git
@thiagorossener
thiagorossener / easing.js
Created February 24, 2020 14:34 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: t => t,
// accelerating from zero velocity
easeInQuad: t => t*t,
// decelerating to zero velocity
'use strict';
var fs = require('fs');
var readline = require('readline');
var google = require('googleapis');
var googleAuth = require('google-auth-library');
// If modifying these scopes, delete your previously saved credentials
// which location is specified at config/config.json in the property
// generatedTokenPath