Skip to content

Instantly share code, notes, and snippets.

View juarezpaf's full-sized avatar

Juarez Filho juarezpaf

  • Dublin City, Ireland
View GitHub Profile
@MichalZalecki
MichalZalecki / index.js
Created March 12, 2016 12:24
How to import RxJS 5
// Import all
import Rx from "rxjs/Rx";
Rx.Observable
.interval(200)
.take(9)
.map(x => x + "!!!")
.bufferCount(2)
.subscribe(::console.log);
@NickPolyder
NickPolyder / git-config
Last active November 19, 2025 13:40
Git aliases for streamlined operations (insert on .gitconfig)
[diff]
tool = meld
guitool = meld
[difftool]
prompt = true
[merge]
tool = meld
guitool = meld
[mergetool]
prompt = true
@saurav12994
saurav12994 / index.js
Created July 31, 2018 05:42
Delete Folder in Firebase cloud storage using Cloud Function
I hava a folder inside CustomerDocuments in Firebase cloud storage name xyz which contains many types of file like .pdf,.txt,.png etc.
function deletefromstorage(quoteiddelete)
{
//quoteiddelete contains folder name in CustomerDocuments which we want to delete.
const Storage = require('@google-cloud/storage');
const storage = new Storage();
const srcBucketName = 'abc.apot.com';