This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myFunction() { | |
var presentation = SlidesApp.getActivePresentation(); | |
var max = 10000; | |
var count = presentation.getSlides().length; | |
while(count < max) { | |
var slide = presentation.appendSlide(SlidesApp.PredefinedLayout.BLANK); | |
slide.insertTextBox("THIS IS SLIDE NUNBER #" + count) | |
count++; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
echo We need some sudo up in here! | |
sudo echo Thank you pookie | |
echo Downloading... | |
curl -o discord.deb -L -s "https://discord.com/api/download?platform=linux&format=deb" | |
echo Installing... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var doc = SlidesApp.openByUrl("https://docs.google.com/presentation/d/1vgxlzg4dC-GhneJcSwDH8W489G_6hjCtSoE9CT79IOQ/edit"); | |
function onOpen() { | |
var ui = SlidesApp.getUi(); | |
ui.createMenu('Funnie Maker') | |
.addItem('Do a funnie (Or dont????)', 'funnie') | |
.addToUi(); | |
} | |
function funnie() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//config | |
var email = "" | |
var subjet = "" | |
var body = "" | |
var timesToRun = 10 | |
//no toutch | |
var times = 1 | |
function myFunction() { | |
if (times == timesToRun + 1) { | |
// +1 to make it not stop early |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myFunction() { | |
var alert = "Due friday! - Script" | |
var doc = DocumentApp.getActiveDocument(); | |
var nam = "Script" | |
doc.setName(nam); | |
Utilities.sleep(5000); | |
doc.setName(alert); | |
Utilities.sleep(5000); | |
myFunction(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var time = 1 | |
function myFunction() { | |
var doc = DocumentApp.getActiveDocument(); | |
var nam = doc.getName | |
doc.setName(nam + ": " + time); | |
time = time + 1; | |
myFunction(); | |
} |