save_and_open_page
have_button(locator)
# Type(<scope>): <subject> | |
# <body> | |
# <footer> | |
# Type should be one of the following: | |
# * feat (new feature) | |
# * fix (bug fix) | |
# * docs (changes to documentation) |
#!/bin/bash | |
# | |
# by Manuel Alabor <[email protected]> | |
# https://github.com/swissmanu | |
# | |
SCRIPT_NAME=`basename $0` | |
VERSION="0.0.1" | |
print_help() |
// ==UserScript== | |
// @name Get CRX | |
// @description Download CRX of extension from Chrome Web Store | |
// @match https://chrome.google.com/webstore/* | |
// @grant none | |
// @version 2.0 | |
// ==/UserScript== | |
var getExtensionIdFromLocation = function ( location ) { |
At October 11, 2019, I published a Javascript library to to run the resumable upload for Google Drive. When this is used, the large file can be uploaded. You can also use this js library.
This is a sample script for uploading files to Google Drive using Javascript. The files are uploaded by Drive API v3. gapi.client.drive.files.create()
can create an empty file on Google Drive. But it cannot directly upload files including contents. I think that this might not be able to upload files and metadata with the multipart/related, although this might be resolved by the future update. So now, as one of workarounds, I use using XMLHttpRequest.
So there were a few threads going around recently about a challenge to write the longest sequence of keywords in Javascript:
There are, however, a few problems:
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |