Skip to content

Instantly share code, notes, and snippets.

Building stuff for the Internet!

Amit Agarwal labnol

Building stuff for the Internet!
View GitHub Profile
labnol / file-upload-forms
Created Jan 22, 2019
File Upload Forms for Google Drive
View file-upload-forms
File Upload Forms for Google Drive
With the File Upload forms, you can upload files of any size and the files are sent directly to the owner’s Google Drive while the form data is saved in a Google Spreadsheet.
A [Pen]( by [Amit Agarwal]( on [CodePen](
View unfollow.js
// 1. Go to
// 2. Keep scrolling to the bottom repeatedly until all your followers are loaded.
// 3. Run this in your console.
[]'.unfollow-text')).forEach(function(button) {;
labnol / instagram
Created Aug 19, 2014
Save Instagram Photos
View instagram
function send2gp() {
var success = new Boolean(false);
var retry = 0;
var max_retry = 3; // 最高リトライ回数 max retry count
var errmsg = '';
var tokiboys1 = '長男の名前'; // 長男の名前を設定 define my first boy's name
var tokiboys2 = '二男の名前'; // 二男の名前を設定 define my second boy's name
var papa = 'パパの名前'; // 送信者(パパ)の名前を設定 define my name
// エラーで終了した場合はリトライする(Max3回)

Best Google Chrome Extensions

List compiled by Amit Agarwal

  1. Vimium — Power users can browse the web using keyboard shortcuts. No mouse required.
  2. Buffer — Share links to multiple social websites with a go.
  3. PushBullet — Send web links, text notes and even push files from computer to your phone.
  4. Clip Better — Don't send raw links over email, send previews that suggest what a link is all about.
  5. Streamus — A YouTube music play for Chrome that also includes a radio.
  6. Mighty Text — Send and receive SMS text messages from your desktop
labnol /
Last active Jul 20, 2021 — forked from junaidk/
How to Learn Google Apps Script

Learning Google Apps Script

Find the best resources for learning Google Apps Script, the glue that connects all GSuite services including Gmail, Google Drive, Calendar, Google Sheets, Forms, Maps, Analytics and more.

A good place to learn more about Google Apps Script is the official documentation available at Here are other Apps Script resources that will help you get up to speed.

  1. Google Apps Script Code Samples by Amit Agarwal
  2. Google Apps Script Development - Create Google Apps Script projects locally inside VS Code - video tutorial
  3. Awesome Google Scripts by Amit Agarwal
  4. Google Developer Experts - Follow Apps Scr
View index.html
<iframe src="!1m14!1m8!1m3!1d56790.47490202523!2d78.042155!3d27.175014999999924!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39747121d702ff6d%3A0xdd2ae4803f767dde!2sTaj+Mahal!5e0!3m2!1sen!2s!4v1398864446719" width="800" height="600" frameborder="0" style="border:0"></iframe>

Untitled Slide

Welcome to Glide.

Glide is the easiest way to create useful slide for all of your Gists.

  • input key <- to go backward.
  • input key -> to go forward.


labnol /
Last active Aug 29, 2015
Obama's entry from Wikipedia

Barack Obama

Barack Hussein Obama II (born August 4, 1961) is the 44th and current President of the United States, and the first African American to hold the office. Born in Honolulu, Hawaii, Obama is a graduate of Columbia University and Harvard Law School, where he served as president of the Harvard Law Review. He was a community organizer in Chicago before earning his law degree.

In 2004, Obama received national attention during his campaign to represent Illinois in the United States Senate with his victory in the March Democratic Party primary, his keynote address at the Democratic National Convention in July, and his election to the Senate in November. He began his presidential campaign in 2007 and, after a close primary campaign against Hillary Rodham Clinton in 2008, he won sufficient delegates in the Democratic Party primaries to receive the presidential nomination. He then defeated Republican nominee John McCain in the general election, and was inaugurated as president on January

labnol /
Created Apr 16, 2014
Table in Markdown
Country 1990 2008 2025
China 1141 1333 1458
India 849 1140 1398
USA 250 304 352
Indonesia 178 228 273
Brazil 150 192 223
View bookmarklet.js
// You create your bookmarklet by instantiating
// a new Bookmarklet function, then pass in the options like so.
// This example checks to see if the var is already defined, and makes
// sure not to overwrite it. This could happen if the user clicks on
// the bookmarklet more than once.
var MyBookmarklet = MyBookmarklet || new Bookmarklet({
// debug: true, // use debug to bust the cache on your resources
css: ['/my/style.css'],
js: [],