Skip to content

Instantly share code, notes, and snippets.

View martinsfjoao's full-sized avatar

João Martins martinsfjoao

View GitHub Profile
@martinsfjoao
martinsfjoao / deepl-translate-bookmarklet
Created January 19, 2021 12:47
Deepl Translate Bookmarklet
javascript: (function () {
let textToTranslate = prompt("Enter the text you want to translate:");
if (textToTranslate != null) {
window.location = 'https://www.deepl.com/en/translator#en/es/' + encodeURIComponent(textToTranslate);
}
else {
window.location = 'https://www.deepl.com/';
}
}());
@martinsfjoao
martinsfjoao / google-apps-script.md
Created April 22, 2019 10:45 — forked from labnol/google-apps-script.md
How to Learn Google Apps Script - The best resources for learning Google Apps Script, the glue that connects GSuite services including Gmail, Google Drive, Calendar, Maps, Analytics and more.

Learning Google Apps Script

The best place to learn more about Google Script is the official documentation available at developers.google.com. Here are other places that will help you get up to speed.

  1. Google Apps Scripts - Snippets by +Amit Agarwal
  2. Apps Script Starter - Create Google Apps Script projects locally inside VS Code.
  3. Digital Inspiration by +Amit Agarwal - Google Addons
  4. Awesome Google Scripts by +Amit Agarwal
  5. O'Reilly - Apps Script - by +James Ferreira
  6. Apps Script Webinars - YouTube - by +Eric Koleda
@martinsfjoao
martinsfjoao / hello_world.txt
Created October 17, 2018 14:50
Hello World Examples
Hello World!
@martinsfjoao
martinsfjoao / hello_world.py
Created October 17, 2018 13:26
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()