Skip to content

Instantly share code, notes, and snippets.

View Rishabh04-02's full-sized avatar

Rishabh Rishabh04-02

View GitHub Profile
  1. Samsung Galaxy Note 10 Lite

specs:

Display: 6.7-inch, Full HD+
SoC: Exynos 9810
RAM: 6/8GB
Storage: 128GB
Cameras: 12, 12, and 12MP

Front camera: 32MP

@Rishabh04-02
Rishabh04-02 / configuratio ODK Aggregate
Last active May 18, 2021 06:02
Configuration - Installing ODK Aggregate on DigitalOcean - ODK official Documentation
# Documentation followed - https://docs.opendatakit.org/aggregate-digital-ocean/
# cloud-config
packages:
- zip
- unzip
- wget
- curl
- tomcat8
- tomcat8-common
{"infrastructure:Infra_Safety_Image": "http://www.google.com/intl/en_com/images/srpr/logo2w.png", "classroom_observation:T_Class": "h", "infrastructure:civil": "c", "infrastructure:Infra_Toilet_Image1": "http://www.google.com/intl/en_com/images/srpr/logo2w.png", "infrastructure:Infra_Toilet_Image2": "http://www.google.com/intl/en_com/images/srpr/logo2w.png", "classroom_observation:T_LOs": "Level2", "infrastructure:Fund_utilize": "2300", "basic_details:S_Loc:Latitude": "31.97197707", "uuid": "19y83974892348", "infrastructure:Infra_Toilet_fuct": "Yes", "basic_details:S_Loc:Altitude": "1255", "classroom_observation:T_FAs": "Yes", "classroom_observation:T_Tdprep": "Yes", "school_details:block": "KULLU-2", "basic_details:S_Loc:Accuracy": "6.432", "infrastructure:Infra_Toilet": "yes", "varMappingID": "1WMY9kfREyayOkKlh-KyVsEbAeYI8vDD8FPcpJg6OWhY", "school_details:district": "KULLU", "infrastructure:Infra_Safety": "Yes", "basic_details:S_Loc:Longitude": "77.12937994", "infrastructure:sports": "b", "docTemplateID": "
@Rishabh04-02
Rishabh04-02 / design document.md
Last active October 30, 2019 09:30 — forked from Rishabh04-021/design document.md
Design Document for PDF Generator

Design Document for PDF Generator

Use Cases

The details regarding the API input, output and data processing is available in section - Input parameters for API, Output of API and Data Processing by the API.

  • Generate pdf for form responses (Priority) - A user submits a response to a custom form (may not be a Google form) and will get a pdf copy of his response.
  • Generate meeting/other invitations - A custom invitation for all the individuals regarding a meeting or similar activity.
  • Generate Invoices - Invoices can be generated for individual users/departments.
  • Generate digital report cards for students - Report cards can be generated for individuals which can include their performance for a particular session/semester.
  • Generate performance sheets for employees - Performance sheets can be generated for individuals based on their performance when evaluated on particular parameters.
@Rishabh04-02
Rishabh04-02 / psql-setup-docker.md
Last active October 17, 2019 09:34 — forked from ChakshuGautam/psql-setup-docker.sh
PSQL Docker setup - Cheatbook

Setup docker engine

-p 127.0.0.1:5432:5432 instead of -p 5432:5432. If you don’t explicitly tell it to run on localhost, it’ll run on0.0.0.0 which means other folks on the same network will be able to reach it. https://hub.docker.com/_/postgres => Gives a lot of info regarding docker secrets which should be the way forward.

docker pull postgres

mkdir -p $HOME/docker/volumes/postgres

docker run --rm --name pg-docker -e POSTGRES_PASSWORD=docker -d -p 127.0.0.1:5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data postgres

➜ libreswan master ✓ certutil -H
-A Add a certificate to the database (create if needed)
All options under -E apply
-B Run a series of certutil commands from a batch file
-i batch-file Specify the batch file
-E Add an Email certificate to the database (create if needed)
-n cert-name Specify the nickname of the certificate to add
-t trustargs Set the certificate trust attributes:
trustargs is of the form x,y,z where x is for SSL, y is for S/MIME,
and z is for code signing. Use ,, for no explicit trust.
@Rishabh04-02
Rishabh04-02 / 0-README.md
Created January 31, 2019 09:02 — forked from abhijeetchopra/0-README.md
Creating automatic scheduled backup copies of your Google Sheets using Google Apps Script

How to "Schedule Automatic Backups" of your Google Sheets

This tutorial demonstrates how to use Google Apps Script to:

  • Create copies of the Google Sheet in the desired destination folder automatically at set intervals.

  • Append the time stamp with each backup file's name.

  • Adjust time trigger for backing up every day/hour/minute.

I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04