Skip to content

Instantly share code, notes, and snippets.

View sajeetharan's full-sized avatar
💭
Debugging "Object reference not set to an instance of an object." 😬

Sajeetharan sajeetharan

💭
Debugging "Object reference not set to an instance of an object." 😬
View GitHub Profile
@sajeetharan
sajeetharan / newfnKeda
Created September 27, 2020 11:04
Create new function
C:\processOrder>func new
@sajeetharan
sajeetharan / fnkeda
Created September 27, 2020 11:00
Create a containerized azure function
⚡ C:\processOrder>func init --docker
@sajeetharan
sajeetharan / akskeda
Created September 27, 2020 10:38
Create AKS cluster for KEDA
⚡ C:\keda
C:\>az aks create --resource-group "rgKeda" --name "aksKeda" --node-count 2 --generate-ssh-keys
@sajeetharan
sajeetharan / sqkeda
Created September 27, 2020 06:40
Create Storage Queue
⚡ C:\keda
❯ az storage queue create --name "sqkeda" --account-name "sakeda"
@sajeetharan
sajeetharan / sbKeda
Last active September 27, 2020 06:40
Create Storage Account
⚡ C:\keda
❯ az storage account create --name sakeda --resource-group rgKeda
@sajeetharan
sajeetharan / rgKeda
Created September 27, 2020 06:01
Create resource group
⚡ C:\keda
❯ az group create --location "southeastasia" --name "rgKeda"
# provider "azurerm" {
# subscription_id = "REPLACE-WITH-YOUR-SUBSCRIPTION-ID"
# client_id = "REPLACE-WITH-YOUR-CLIENT-ID"
# client_secret = "REPLACE-WITH-YOUR-CLIENT-SECRET"
# tenant_id = "REPLACE-WITH-YOUR-TENANT-ID"
# }
resource "azurerm_resource_group" "rg" {
name = "${var.resource_group}"
location = "${var.location}"
#!/bin/bash
if [ "$#" -ne 13 ]; then
printf "Usage: ${0} [csv output file] [client] [client configuration directory] [data directory] [download|upload] [threads] [chunk size] [packet loss] [http|https] [proxy] [storage URL] [storage access key] [storage region]\n"
exit 0
fi
flightgw_bin=/usr/local/bin/flight-gateway
net_dev=eth0
@sajeetharan
sajeetharan / README.md
Created July 11, 2020 15:57
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using MultiStorageProvider.Common.Helpers;
using MultiStorageProvider.Common.Service.Interface;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;