Skip to content

Instantly share code, notes, and snippets.

@Sivamani-18
Sivamani-18 / GoogleDrivePicker.md
Last active July 23, 2025 20:53
React Google Drive Picker component that allows you to select document from Google Drive.

Google Drive Picker

The Google Drive Picker allows you to integrate Google Drive file selection into your web application. With the picker, users can browse their Google Drive files and select one or more files to be used by your application.

To get started with the Google Drive Picker API, you'll need to perform the following steps:

Enable the Google Drive API: Visit the Google API Console (https://console.developers.google.com/), create a new project, and enable the Google Drive API.

from IPython.display import clear_output
clear_output()
print("")
print("")
print(" __ _ _ __ __ _ ____ _ _ _ _ ")
print(" / \\ / )( \\ / _\\ ( ( \\(_ _)/ )( \\( \\/ ) ")
print(" ( O )) \\/ (/ \\/ / )( ) \\/ (/ \\/ \\ ")
print(" \\__\\)\\____/\\_/\\_/\\_)__) (__) \\____/\\_)(_/ ")
print(" __ _ _ ____ ____ __ _ _ ____ __ _ ____ ____ ____ ")
print(" / _\\ / )( \\( __)/ ___) / \\ ( \\/ )( __)( ( \\( __)/ ___)/ ___)")
@jakebathman
jakebathman / StateBoundaries.sql
Last active November 1, 2025 07:48
The approximate max/min latitude and longitude for all states and major territories
-- Create the table
CREATE TABLE IF NOT EXISTS `StateBoundaries` (
`State` varchar(10) DEFAULT NULL,
`Name` varchar(255) DEFAULT NULL,
`MinLat` varchar(50) DEFAULT NULL,
`MaxLat` varchar(50) DEFAULT NULL,
`MinLon` varchar(50) DEFAULT NULL,
`MaxLon` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@iwek
iwek / tsv-to-json.js
Last active March 20, 2023 02:46
TSV to JSON Conversion in JavaScript
//var tsv is the TSV file with headers
function tsvJSON(tsv){
var lines=tsv.split("\n");
var result = [];
var headers=lines[0].split("\t");
for(var i=1;i<lines.length;i++){
@hofmannsven
hofmannsven / README.md
Last active November 22, 2025 10:31
Git CLI Cheatsheet

Moved

Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.

Why it was moved

Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!