Skip to content

Instantly share code, notes, and snippets.

View theindianappguy's full-sized avatar
:octocat:
Working...

Sanskar Tiwari theindianappguy

:octocat:
Working...
View GitHub Profile
@theindianappguy
theindianappguy / Code.js
Created December 30, 2023 06:34
GoogleSheets-MailerLite-Integration-Automated-Email-Script
function doPost(request) {
// Open Google Sheet using ID
var sheet = SpreadsheetApp.openById("SHEETID");
var result = { "status": "SUCCESS" };
// try {
// Get all Parameters
var email = request.parameter.email || "";
var source = request?.parameter.source ?? "";
var today = new Date();
var dd = String(today.getDate()).padStart(2, '0');
@theindianappguy
theindianappguy / deploy.yml
Created June 17, 2020 12:59
Github Action WorkFlow to Auto Deploy Flutter Web App to Firebase Hosting and Github Pages.
# This is a basic workflow to help you get started with Actions
name: Build, Release app to Github Pages and Firebase Hosting
# name: Test, Build and Release apk
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
---
title: 'Learn how to build a markdown blog'
metaTitle: 'Learn jhow to buil a blog'
metaDesc: 'Learn how to build a markdown blog'
socialImage: image/how-to-convert-canva-to-google-slide.jpeg
date: '2022-04-27'
tags:
- 'blog'
- 'markdown'
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
import 'dart:io';
import 'dart:typed_data';
import 'dart:ui';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:image_gallery_saver/image_gallery_saver.dart';
import 'package:permission_handler/permission_handler.dart';
Widget brandName() {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize : MainAxisSize.min
children: <Widget>[
Text(
"Wallpaper",
style: TextStyle(color: Colors.black87, fontFamily: 'Overpass'),
),
Text(
@theindianappguy
theindianappguy / send-google-forms-response-to-slack.md
Last active August 13, 2021 06:07
Send Google Forms Response to Slack

title: Send Google Forms Response to Slack date: "2021-08-12T10:10:36+0000" template: "post" draft: false slug: "send-google-forms-response-to-slack" category: "Product" tags:

  • "Handwriting"
  • "Learning to write"
@theindianappguy
theindianappguy / Code.gs
Created June 27, 2021 07:31
Get Email Id By Subject
function onOpen() {
var Ui = SpreadsheetApp.getUi()
var menu = Ui.createAddonMenu()
.addItem("Get Message ID", "getMsgIds")
.addToUi()
}
function getMsgIds() {
var MsgSubject = Browser.inputBox("Enter the subject of the Email");
if (!MsgSubject) {
Browser.msgBox("oh oh, seems you forgot to provide the message subject, please try again. I\n\\n\\n\\n Thank you! \\n\\n Regards, l\n G")
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 3.2 (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages), Requirement.parse('idna<3,>=2.5'), {'requests'})
During handling of the above exception, another exception occurred: