Skip to content

Instantly share code, notes, and snippets.

View aessing's full-sized avatar
:octocat:
Crafting some epic stuff

Andre Essing aessing

:octocat:
Crafting some epic stuff
View GitHub Profile
@MarkPryceMaherMSFT
MarkPryceMaherMSFT / Delta Lake.sql
Last active September 6, 2022 18:10
Example of reading Delta Lake with Azure Synapse Dedicated SQL Pool. This is a POC, just to see if this is possible. *NON-PRODUCTION CODE*
/*
IF OBJECT_ID('mpmtest') IS NOT NULL
BEGIN;
DROP TABLE mpmtest
END
declare @path varchar(400), @dt datetime2, @credential varchar(500),@outputable varchar(500),@display int, @debug int;
set @path = 'https://cstestwss.blob.core.windows.net/csetestws/delta/demo/'
--set @dt = convert(datetime2,'2022/07/06 18:37:00'); --getdate(); -- for time travel --
set @dt = getdate(); -- for time travel --
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
@shanselman
shanselman / ohmyposhv3-v2.json
Last active November 4, 2024 10:39
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"copyOnSelect": false,
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
// Add custom keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings
"keybindings":
[
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
@ricealexander
ricealexander / emoji-list.md
Last active July 19, 2024 03:20 — forked from rxaviers/gist:7360908
Comprehensive list of GitHub-supported emojis
@ddneves
ddneves / IgniteDownloader.ps1
Last active May 17, 2020 22:44
Ignite Downloader
#########################################################################################
## Author: David das Neves
## Date: 15.12.2019
## Description: Filtering of Ignite session files with OutGridView
## Downloading with 10 downloads in parallel including resume functionality
#########################################################################################
# Start PowerShell as admin
# via code: Start-Process powershell -Verb runAs
@korkridake
korkridake / PySpark_DataFrame_Code.py
Last active October 3, 2022 11:25
Important PySpark functions to work with dataframes
print(sc)
print(spark)
# <pyspark.sql.session.SparkSession at 0x7f8df8673ba8>
# -------------------------------------------------------------------------------
# Import PySpark Libraries
# -------------------------------------------------------------------------------
import math
import re
import pandas as pd
@EmmanuelTsouris
EmmanuelTsouris / Install-VSCode.ps1
Last active May 18, 2024 17:25
Download and Silently Install Visual Studio Code (VSCode)
<#
.SYNOPSIS
This script installs Visual Studio Code Silently.
.DESCRIPTION
The script downloads the latest VSCode installer and performs a silent installation.
.NOTES
Run this script on a Windows Server instance.
#>
@rxaviers
rxaviers / gist:7360908
Last active November 23, 2024 17:14
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: