Skip to content

Instantly share code, notes, and snippets.

View maazghani's full-sized avatar
🏗️
gluing things

Maaz Ghani maazghani

🏗️
gluing things
View GitHub Profile
@maazghani
maazghani / 1.txt
Last active October 16, 2023 04:48
Time UTC IP Address Device Hostname Inbound/Outbound Raw Data [Redacted] Link
2023-10-15 18:12:16 192.168.86.19 iphone162 Inbound 6KFfrfbptc9WgAcAfCWysCTw4xg+myjeVU+KHs3p 7928-pcap
2023-10-15 18:58:57 192.168.86.19 iphone162 Inbound /HPm9m7Q7Di+DpYKXlgwgSxsekAmTnQ0NUPPvOPc 3196-pcap
2023-10-15 18:59:15 192.168.86.100 maazg-iphone-dev Inbound WuEfPpveacjIzmD71ITFDkd/ouSjbbosibjxphWz 9615-pcap
2023-10-15 18:20:19 192.168.86.100 maazg-iphone-dev Outbound jDBX4D2iNslcyQmWtyvN34DkogQw7cNdHwVMZtgw 3827-pcap
2023-10-15 18:19:49 192.168.86.100 maazg-iphone-dev Outbound EWjXd9/CrDUGSHrF0yIIwQTIqbP73wW+GXC2/g3H 3541-pcap
2023-10-15 18:06:03 192.168.86.100 maazg-iphone-dev Outbound OaFE0oxF6p1gaaYcsFvyG0r4OUuaFazEWygI2gk6 7678-pcap
2023-10-15 18:49:12 192.168.86.19 iphone162 Outbound MDt43wrb65Z5WSLdr3q5VLzYUefRhUvp8XcKAATq 1124-pcap
2023-10-15 18:56:01 192.168.86.19 iphone162 Outbound KlGysWSx4QEf4Vga7hV8XY0W35dXIJNmN1fcUYqa 4899-pcap
2023-10-15 18:51:20 192.168.86.19 iphone162 Inbound N4EycsqFcbuHAz7wkXJDs1axPuazoauRL
@maazghani
maazghani / adi-day-1.md
Last active August 14, 2023 15:40
aditya day 1

How to get a Social Insurance Number (SIN) in Canada on a work permit?

Check if you are eligible:

  • You must be at least 12 years old.
  • You must have a valid work permit.
  • You must provide original documents proving your identity, work-authorized immigration status, and age.

Gather the required documents:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Embarking on a new goalCreate an optimal driving plan to drive from Dallas to Seattle, and plan in gas station stops and rest stops into the driving plan
Task Added:Determine the optimal route from Dallas to Seattle using a reliable navigation system or online map.
Task Added:Calculate the distance between Dallas and Seattle and estimate the average fuel consumption of the vehicle.
Task Added:Identify gas stations along the route and determine the distance between each gas station and the vehicle's fuel range.
Task Added:Plan rest stops at suitable locations along the route to ensure driver comfort and safety.
✨ Starting task: Determine the optimal route from Dallas to Seattle using a reliable navigation system or online map.
🔍 Searching the web for "best route from Dallas to Seattle"...
Executing: Determine the optimal route from Dallas to Seattle using a reliable navigation system or online map.
To determine the optimal route from Dallas to Seattle, a reliable navigation system or online map should be used
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

Flight Options from Dallas to SFO

Dear Team,

I have prepared this notebook with a selection of flight options for James Weinman's upcoming trip from Dallas to SFO. The flights are scheduled to depart between 10pm on Tuesday, May 30, 2023, and 10am on Wednesday, May 31, 2023.

I have arranged a tentative meeting for us to discuss these options later tonight. I will send out a reminder closer to the time.

Please review the options ahead of the meeting so we can make an informed decision.

Best,

Website Performance Analysis - dadgang.co

This notebook presents an analysis of the website performance for dadgang.co. The analysis includes metrics on the site's accessibility, best practices, performance, PWA information, and SEO. Additionally, we will measure the load times of the site and create visualizations to illustrate the performance of the site.

The full report generated by Google's Lighthouse project can be found here.

Let's start by importing the necessary libraries a

Clickhouse Architecture

  • ClickHouse is a columnar database that supports SQL queries. It stores data in columns rather than rows, which makes it very efficient for analytical queries on large datasets.
  • It is designed to handle massive amounts of data and can scale horizontally across multiple servers.
  • ClickHouse has a pluggable storage engine architecture, which allows it to work with different types of storage like local disks, distributed file systems, object stores, and cloud storage.
  • ClickHouse also supports replication and sharding for high availability and performance.

Use Cases

  • ClickHouse is designed for OLAP (online analytical processing) workloads, which involve running complex analytical queries on large datasets.
  • It is commonly used for time-series data, log analytics, clickstream analysis, and business intelligence.
  • ClickHouse is often used in conjunction with other databases like MySQL or PostgreSQL, which are used for OLTP (online transaction processing) workloads.

Terminal Commands

git

git clone [the-url]
ex: git clone github.com/maazghani/site.git

# pull the latest code
git pull