Skip to content

Instantly share code, notes, and snippets.

View shashishailaj's full-sized avatar
🏠
Working from home

ShashiShailaj-MSFT shashishailaj

🏠
Working from home
View GitHub Profile
@shashishailaj
shashishailaj / WhatIHaveDone.md
Created February 13, 2022 16:15 — forked from AndreasMadsen/WhatIHaveDone.md
Playing with smartos
@shashishailaj
shashishailaj / Get-AzureADPSPermissions.ps1
Created August 31, 2020 19:08 — forked from psignoret/Get-AzureADPSPermissions.ps1
Script to list all delegated permissions and application permissions in Azure AD
<#
.SYNOPSIS
Lists delegated permissions (OAuth2PermissionGrants) and application permissions (AppRoleAssignments).
.PARAMETER DelegatedPermissions
If set, will return delegated permissions. If neither this switch nor the ApplicationPermissions switch is set,
both application and delegated permissions will be returned.
.PARAMETER ApplicationPermissions
If set, will return application permissions. If neither this switch nor the DelegatedPermissions switch is set,
@shashishailaj
shashishailaj / kitetickersample.html
Created February 1, 2020 16:24 — forked from ajinasokan/kitetickersample.html
Kite Ticker Pure JS Example
<script src="ticker.js"></script>
<script>
var ticker = new KiteTicker({api_key: "api_key", access_token: "access_token"});
ticker.connect();
ticker.on("ticks", onTicks);
ticker.on("connect", subscribe);
function onTicks(ticks) {
@shashishailaj
shashishailaj / gist:091a2cd5146c36604ecac9e70ce6d50a
Created November 5, 2017 09:54
How to Setup USB Disk, NFS Server and Bittorrent on OpenWrt Attitude Adjustment and connect from OSX

Background:

  • I have a TP-Link MR3020 router. I live in Bangalore and am using gBroadband.
  • I frequently travel from home and feel I am not making 100% use of my broadband bandwidth.
  • I also don't like keeping my USB HDD attached to my computer because if I move physically even the USB HDD gets disconnected.

So best option was to have NAS (Network Attached Device), set up NFS (Network File Server) on my router and access my files wirelessly from my computer running OSX Yosemite. Hence the title of this article! After many failed attempts, looking through incomplete documentation, I finaly have the perfect setup. Hope this helps you in some way :)

Jargon/terminology

@shashishailaj
shashishailaj / dabblet.css
Created August 7, 2014 15:02
The first commented line is your dabblet’s title
/**
*The first commented line is your dabblet’s title
*/
/*background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%; */
<HTML>
<HEAD>
<BODY>
@shashishailaj
shashishailaj / dabblet.css
Created August 7, 2014 14:13
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;