Skip to content

Instantly share code, notes, and snippets.

View paulgaumer's full-sized avatar

Paul Gaumer paulgaumer

View GitHub Profile
@paulgaumer
paulgaumer / .npmrc
Created May 21, 2021 08:01
To add in order to publish to NPM
registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=MY_TOKEN_GOES_HERE
@paulgaumer
paulgaumer / settings.json
Created February 8, 2021 09:04
vscode-settings - Veeqo-front
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript"
],
"javascript.format.enable": false,
"eslint.alwaysShowStatus": true,
"eslint.options": {
@paulgaumer
paulgaumer / settings.json
Last active May 18, 2021 08:26
vscode-settings - Veeqo-rails
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript"
],
"javascript.format.enable": false,
"eslint.alwaysShowStatus": true,
"eslint.options": {
@paulgaumer
paulgaumer / certificate_automation.js
Created September 13, 2018 07:31
Automation to generate a Google Doc out of Google Sheet data, then convert it to PDF (apps script)
function createDocument() {
var headers = Sheets.Spreadsheets.Values.get('sheet fileID', 'range for headers');
var tactics = Sheets.Spreadsheets.Values.get('sheet fileID', 'range for data');
var templateId = 'doc fileID';
for(var i = 0; i < tactics.values.length; i++){
var studentName = tactics.values[i][0];
var startDate = tactics.values[i][1];