Skip to content

Instantly share code, notes, and snippets.

View sauravtom's full-sized avatar
🏠
Working from home

Saurav Kumar sauravtom

🏠
Working from home
View GitHub Profile
@sauravtom
sauravtom / PRIVACY.md
Created October 30, 2026 00:12
Desk95 Launcher privacy policy

Desk95 Launcher Privacy Policy

Effective date: 30 October 2026

Desk95 Launcher is an Android home screen. This policy covers the app identified as in.xagi.desk95.

Data on your device

The app reads the names, launchable activities and icons of installed applications so it can display and launch them. It saves your selected theme, favourite shortcuts, Work folder selections and notes in the app's private storage. This information remains on your device.

/**
*⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣴⣿⣿⣿⠀⠀⢀⣠⣤⣶⣶⣶⣶⣶⣶⣶⣦⣤⣀⠀⠀⠀⠀⠀⢀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⡔⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢟⣫⣯⣷⣾⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣷⡙⢿⣿⣿⣿⣿⣿⣿⡿⢋⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣙⠿⠿⠿⢟⣫⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⢹⣿⣿⣿⣿⣿⣿⣿⣿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⠀⠀⠀⢀⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⢸⣿⣿⣿⡏⠉⠙⢿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⠀⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⡿⡍⠳⣄⡀⢀⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀
*⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢿⣿⢿⡄⠸⡿⢄⠛⣘⢠⣼⣿⣿⣿⣿⣿⣧⡀⠀⠀⠀⠀
*⠀⠀⠀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡞⣼⡻⡄⠳⡤⠽⠾⠿⠿⠿⢛⣻⣿⣿⣿⣷⡀⠀⠀⠀
import { IExecuteFunctions } from 'n8n-core';
import {
INodeExecutionData,,
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import * as http from 'http'
# Folder where data should be saved
DATA_FOLDER=/root/n8n/
# The top level domain to serve from
DOMAIN_NAME=example.com
# The subdomain to serve from
SUBDOMAIN=n8n
# DOMAIN_NAME and SUBDOMAIN combined decide where n8n will be reachable from
version: "3"
services:
traefik:
image: "traefik"
command:
- "--api=true"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
@sauravtom
sauravtom / word_count.exs
Last active April 22, 2019 14:29
Alchemist Challenge #2
#https://alchemist.camp/episodes/word-count
#filename = String.trim IO.gets "file to count word's from: "
filename = IO.gets("Select file: ") |> String.trim()
choice = IO.gets "What would you like to count ? [lines, words, characters] \n"
case choice |> String.trim() do
"words" -> IO.puts "you chose words"
#words = (File.read!(filename), ~r{\w}) |> String.split()
@sauravtom
sauravtom / guessing_game.exs
Created April 22, 2019 08:31
Alchemist Challenge #1
defmodule GuessingGame do
# guess between a low number and a high number - > guess the middle
#tell the user the guess
# if user say yes -> game over
# if bigger
# if smaller
# anything else
# elixr allows for multiple definitions of the same functions
def guess(a, b) when a > b do
pragma solidity ^0.4.25;
contract edm {
string public message;
constructor(string initMessage) public {
message = initMessage;
}
function update(string newMessage) public {
message = newMessage;
}

Keybase proof

I hereby claim:

  • I am sauravtom on github.
  • I am saurav (https://keybase.io/saurav) on keybase.
  • I have a public key whose fingerprint is 71E3 6A60 D3C0 3401 7D77 9363 652D 9E81 9FD6 F660

To claim this, I am signing this object:

//link to smart contract https://ethfiddle.com/Q4mg9xHlzR
let address = "0x03b6b93cf23f04a32aa94fe1ef96cae383900ea7";
let abi = [
{
"constant": false,
"inputs": [
{
"name": "newMessage",