Kanshi Tanaike
!pip install playwright | |
!playwright install | |
# colab need this for async | |
import nest_asyncio | |
nest_asyncio.apply() | |
# start browser, not to use 'with' context | |
from playwright.async_api import async_playwright | |
playwright = await async_playwright().start() | |
browser = await playwright.chromium.launch() |
class UsersProperties { | |
constructor(property) { | |
this.property = property || "users"; | |
this.service = PropertiesService.getScriptProperties(); | |
} | |
get() { | |
return JSON.parse(this.service.getProperty(this.property)); | |
} |
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse |
#!/bin/sh | |
# e.g. CONTAINER_REGISTRY=asia.gcr.io/your-project-name/gcf/asia-northeast1 | |
CONTAINER_REGISTRY=`WRITE YOUR REGISTRY NAME` | |
IMAGE_LIST=`gcloud container images list --repository=$CONTAINER_REGISTRY | awk 'NR!=1'` | |
for line in $IMAGE_LIST; do | |
gcloud container images delete "$line/worker" --quiet & gcloud container images delete "$line/cache" --quiet & | |
done |
// Create a loading bar in your Google Sheet using Google Apps Script | |
// Author: Al Chen ([email protected]) | |
// Last Updated: April 13th, 2021 | |
// Notes: Assumes you are using the V8 runtime (https://developers.google.com/apps-script/guides/v8-runtime) | |
// Example Google Sheet: https://docs.google.com/spreadsheets/d/1ngvYKEMunqCVufR10rlK42iENAERp-uyiPN_aiq-MKo/edit?usp=sharing | |
SOURCE_SHEET_ID = 'YOUR_GOOGLE_SHEETS_ID' | |
SOURCE_WORKSHEET_NAME = 'YOUR_WORKSHEET_NAME' | |
function loop() { |
Published: January 16, 2021
Kanshi Tanaike
At Stackoverflow, a lot of people post the questions and answers to the questions every day. There are various tags in Stackoverflow. A lot of discussions are performed at each tag. Their discussions bring the important information and are much useful for a lot of people. As one of tags, there is "google-apps-script". I sometimes discuss at the questions with that tag. When we see the discussions, we can notice that the discussions are changed and progressed by the time, because "Google Apps Script" which is the origin of the tag is updated. This report thinks this change as the trend of tag of "google-apps-script". This trend includes the number of questions, questioners, answerers and tags adding to the tag of "google-apps-script". The trend of tag of "google-apps-script" is deeply related to the progression of Google Apps Script and the various applications for Google Apps Script.
set $screenrecorder `bash $HOME/scripts/toggle-screen-recorder.sh` | |
bindsym --to-code $mod+Shift+R exec $screenrecorder |
function someImportantFunction() { | |
// [ 1 ]. do some stuff | |
// | |
// | |
// | |
Logger.log('Success!'); | |
// [ 2 ]. Report the execution | |
var recipient = '[email protected]'; // change!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
// |