Skip to content

Instantly share code, notes, and snippets.

Avatar

Vijay Ganesh P K vijayganeshpk

View GitHub Profile
@vijayganeshpk
vijayganeshpk / gcloud-auto-update.cmd
Created Apr 4, 2019
Google cloud SDK auto update - For running from scheduled task
View gcloud-auto-update.cmd
@ECHO OFF
SETLOCAL
FOR /F "delims=" %%i in ( '""C:\SDKs\Google\CloudSDK\google-cloud-sdk\bin\gcloud.cmd"" components copy-bundled-python' ) DO (
SET CLOUDSDK_PYTHON=%%i
)
CALL gcloud components update --quiet
View keybase.md

Keybase proof

I hereby claim:

  • I am vijaysg on github.
  • I am vganesh (https://keybase.io/vganesh) on keybase.
  • I have a public key ASC_6LdHz3RaDz2_jQCWF8UXOrPj4dMpFk6TH2hqJmLDigo

To claim this, I am signing this object:

@vijayganeshpk
vijayganeshpk / OracleDynamicParameters.cs
Last active Jun 17, 2020
OracleDynamicParameters class for Dapper
View OracleDynamicParameters.cs
using Dapper;
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
public class OracleDynamicParameters : Dapper.SqlMapper.IDynamicParameters {
private static Dictionary<SqlMapper.Identity, Action<IDbCommand, object>> paramReaderCache = new Dictionary<SqlMapper.Identity, Action<IDbCommand, object>>( );
You can’t perform that action at this time.