Skip to content

Instantly share code, notes, and snippets.

@gdscbot
gdscbot / Code.gs
Created March 5, 2024 05:32
Ido's Google Apps script Workshop
function isFib(x) {
let a=1, b=1;
while(b<=x){
if(b==x){
return true;
}
let temp = b;
b+=a;
a=temp;
}
@gdscbot
gdscbot / Linear_Regression_Workshop_1.ipynb
Created November 18, 2023 03:17
Linear_Regression_Workshop_1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gdscbot
gdscbot / index.js
Created February 23, 2023 22:49
2023-02-23 Build your own Discord Bot starter
const {
Client, Events, GatewayIntentBits, Partials, ActionRowBuilder, ButtonBuilder
} = require('discord.js');
// Create a new client instance
const client = new Client({
intents: [GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent], partials: [Partials.Message]
});