Skip to content

Instantly share code, notes, and snippets.

@tanaikech
tanaikech / submit.md
Last active May 11, 2023 20:29
Requesting with Keeping Cookies using Google Apps Script (SessionFetch)

Requesting with Keeping Cookies using Google Apps Script (SessionFetch)

This is a sample script for requesting with keeping cookies using Google Apps Script.

This might be similar to requests.Session" of Python. Ref

Sample script

This is Class SessionFetch.

@tanaikech
tanaikech / submit.md
Last active May 6, 2024 02:34
Redeploying Web Apps without Changing URL of Web Apps for new IDE

Redeploying Web Apps without Changing URL of Web Apps for new IDE

At March 15, 2021, one endpoint is created for one deployment. Ref By this, when you redeploy "Web Apps", the endpoint is changed. Because the deployment ID is changed. It seems that this it the new specification. In this report, I would like to introduce the method for redeploying Web Apps without changing the URL of Web Apps for new IDE.

Deploy Web Apps

  1. Open "New deployment" dialog with "Deploy" -> "New deployment".

  2. Select "Web app" for "Select type".

@haakov
haakov / cmdline_converter.py
Last active August 2, 2023 13:07
Standalone GNU Radio XML -> YAML block converter script
#
# Short script for converting GNU Radio XML blocks to YAML blocks
# without having to start GRC
#
# Please note that this program _WILL_ overwrite files.
#
# How to use:
# 1. Save this file to grc/converter/cmdline_converter.py
# 2. Navigate back to the GNU Radio project root
# 3. Run: python3 -m grc.converter.cmdline_converter [name.xml]
@JamesHagerman
JamesHagerman / my_ys1_notes.md
Last active December 21, 2022 10:43
Some useful YARD Stick One notes

Some useful YARD Stick One notes

This thing is a bit of a beast. People don't give it NEARLY the credit, or the documentation it deserves.

Two ways of using this thing: rfcat directly, or write a python script for it.

Basically, writing a python script is easier. Using rfcat directly is great but often, there are just too many silly settings to configure

@Starefossen
Starefossen / tmux-cheats.md
Last active August 21, 2024 14:20
My personal tmux cheat sheet for working with sessions, windows, and panes. `NB` I have remapped the command prefix to `ctrl` + `a`.

Sessions

New Session

  • tmux new [-s name] [cmd] (:new) - new session

Switch Session

  • tmux ls (:ls) - list sessions
  • tmux switch [-t name] (:switch) - switches to an existing session