Skip to content

Instantly share code, notes, and snippets.

View element824's full-sized avatar

Koushik Nagarajan element824

View GitHub Profile
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@element824
element824 / ohmyposhv3-v2.json
Created February 28, 2025 13:41 — forked from shanselman/ohmyposhv3-v2.json
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@element824
element824 / IgniteDownloader.ps1
Created November 9, 2019 23:45 — forked from ddneves/IgniteDownloader.ps1
Ignite Downloader
#########################################################################################
## Author: David das Neves
## Date: 09.11.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
@element824
element824 / customvis.py
Created October 31, 2019 04:30 — forked from staceymakes/customvis.py
Custom Vision API Prediction - PYthon
import requests
import json
url="YOUR_PREDICTION_ENDPOINT _ AVAIL customvision.ai"
headers={'content-type':'application/octet-stream','Prediction-Key':'YOUR_PREDICTION_KEY'}
r =requests.post(url,data=open("YOUR_LOCAL_IMAGE.jpg","rb"),headers=headers)
print(r.content)
@element824
element824 / docker and sql server
Created April 24, 2019 20:13
docker and sql server
docker pull mcr.microsoft.com/mssql/server:2019-CTP2.5-ubuntu
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pass@Word1" -p 21143:1433 --name sql19-25t -v SQL2019:/var/opt/mssql -d mcr.microsoft.com/mssql/server:2019-CTP2.5-ubuntu
docker cp C:\Temp\WideWorldImporters-Full.bak fed5e2a1b82c:/var/opt/mssql/data/
@element824
element824 / .DS_Store
Last active June 7, 2018 06:31
d3 | Parallel Coordinates
Bud1%
license: mit
@element824
element824 / .block
Last active June 7, 2018 06:15
Sankey test
license: mit
Type in this code in RStudio and a list of all the data sets that are included with all the packges you have installed will come up:
data(package = .packages(all.available = TRUE))
/*
- Introduction to Microsoft R Service in SQL Server 2016 (Part 1)
- Author: Tomaž Kaštrun (twitter: @tomaz_tsql | blog: http://tomaztsql.wordpress.com
- Published: SQL Server Central http://www.sqlservercentral.com
- Date: 24.08.2016
*/
USE WideWorldImporters;