Skip to content

Instantly share code, notes, and snippets.

View batazor's full-sized avatar
:electron:
I want to learn something new

Victor Login batazor

:electron:
I want to learn something new
View GitHub Profile
function getEmails(sheetName, emailColumn, messageColumn) {
// Get the active spreadsheet and the specified sheet
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var sheet = spreadsheet.getSheetByName(sheetName);
// Get the range containing the data
var dataRange = sheet.getRange(2, 1, sheet.getLastRow() - 1, sheet.getLastColumn());
// Get the values from the data range
var data = dataRange.getValues();

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@batazor
batazor / System Design.md
Created March 17, 2021 20:32 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
artice(filter: {cat: {eq: 15}}) { # skip if comments == null
id
name
comments(filter: {authorId: {eq: 10}}) {
id, name
}
}
// GetHandler ...
func (api *API) GetHandler() *relay.Handler {
buf := bytes.Buffer{}
pkger.Walk("/pkg/api/graphql/schema", func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if !info.IsDir() {
@batazor
batazor / pkijs-decode-pem-node.js
Last active September 23, 2019 09:11 — forked from adisbladis/pkijs-decode-pem-node.js
Minimal example of loading a PEM certificate using pkijs (in nodejs)
#!/usr/bin/env node
// Minimal example of loading a PEM certificate using pkijs (in node)
// babel-polyfill needs to be loaded for pkijs
// It uses webcrypto which needs browser shims
require('babel-polyfill')
const Pkijs = require('pkijs')
const Asn1js = require('asn1js')
const FS = require('fs')
  • Allocation
    • обнаружение, исправление
  • Профилирование кода
apt update
apt install -y qemu qemu-user-static qemu-user binfmt-support
docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static arm32v7/debian /bin/bash

.... you code