Skip to content

Instantly share code, notes, and snippets.

@ddobrinskiy
ddobrinskiy / Code.gs
Created June 16, 2022 15:18
Add current ts to Google Sheets on edit
// Code.gs file
// don't forget to save & run (to get permissions)
function onEdit() {
var colNum = 1 // hard coded number of column to put the date in
var s = SpreadsheetApp.getActiveSheet();
if( s.getName() === "Sheet 1" || s.getName() === "Sheet 2" ) { //checks that we're on the correct sheet
var r = s.getActiveCell(); // r is our active cell
if( r.getColumn() !== colNum ) { //checks the edited column
var nextCell = s.getRange(r.getRow(),colNum); // next cell will be on the same row in column #colNum
@ddobrinskiy
ddobrinskiy / private_fork.md
Created February 7, 2021 09:41 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

Keybase proof

I hereby claim:

  • I am ddobrinskiy on github.
  • I am dzlob (https://keybase.io/dzlob) on keybase.
  • I have a public key whose fingerprint is 7A3D 932B 037F 4E7C 31E6 E4D2 84C7 8A85 2DB9 940E

To claim this, I am signing this object:

@ddobrinskiy
ddobrinskiy / keybase.md
Created May 19, 2018 18:09
Keybase proof-of-identy

Keybase proof

I hereby claim:

  • I am starm3nace on github.
  • I am daviddobr (https://keybase.io/daviddobr) on keybase.
  • I have a public key whose fingerprint is F924 93D4 CD46 0BF6 0671 DAA3 8FA9 A292 B236 E687

To claim this, I am signing this object: