Skip to content

Instantly share code, notes, and snippets.

View wguilherme's full-sized avatar
🚀
On fire

Withney Guilherme wguilherme

🚀
On fire
View GitHub Profile
@wguilherme
wguilherme / submit.md
Created June 1, 2021 00:22 — forked from tanaikech/submit.md
Uploading Files to OneDrive Using Node.js

In order to use this script, please retrieve client id, client secret and refresh token before. About this, you can see the detail information at https://gist.github.com/tanaikech/d9674f0ead7e3320c5e3184f5d1b05cc.

1. Simple item upload

This is for the simple item upload is available for items with less than 4 MB of content. The detail information is https://dev.onedrive.com/items/upload_put.htm.

var fs = require('fs');
var mime = require('mime');
var request = require('request');
@wguilherme
wguilherme / adminbro-translation-ptbr.js
Created May 26, 2021 23:27 — forked from Cauen/adminbro-translation-ptbr.js
Adminbro portuguese configuration file (translated all strings to brazilian portuguese)
// Unfortunately the singular and plural are having problems in my version of admin bro, and therefore should be updated if yours is already working
export const translations = {
actions: {
new: 'Criar novo',
edit: 'Editar',
show: 'Mostrar',
delete: 'Deletar',
bulkDelete: 'Deletar tudo',
list: 'Listagem',
@wguilherme
wguilherme / Repeat.js
Created December 6, 2020 02:46 — forked from mskoroglu/Repeat.js
react repeat component
/**
* usage:
* <ul>
* <Repeat times="3">
* <li>item</li>
* </Repeat>
* </ul>
* or
* <ul>
* <Repeat times="3">
@wguilherme
wguilherme / cloudSettings
Last active April 14, 2021 22:06
Minha config do VSCODE
{"lastUpload":"2021-04-14T22:06:54.045Z","extensionVersion":"v3.4.3"}