Skip to content

Instantly share code, notes, and snippets.

View daljeet-singh's full-sized avatar

Daljeet Singh daljeet-singh

View GitHub Profile
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active May 16, 2025 21:12
crack activate Office on mac with license file
<?php
/***********************************************************
MYSQL VERSION
************************************************************/
$username="root"; $password=""; $database="exam_codes";
$con = mysql_connect("localhost",$username,$password) or die( "Unable to Connect database");
mysql_select_db($database,$con) or die( "Unable to select database");
// Table Name that you want
// to export in csv
@marclamberti
marclamberti / Airflow Version
Last active November 27, 2022 06:54
the_complete_hands_on_introduction_to_apache_airflow
2.1.0
@klesouza
klesouza / beam_parquet_dynamicdestination.py
Last active March 23, 2023 11:32
Apache Beam Python SDK - write Parquet files with dynamic destinations
class ParquetSink(beam.io.fileio.FileSink):
def __init__(self,
file_path_prefix,
schema,
row_group_buffer_size=64 * 1024 * 1024,
record_batch_size=1000,
codec='none',
use_deprecated_int96_timestamps=False,
file_name_suffix='',
num_shards=0,