Skip to content

Instantly share code, notes, and snippets.

@tushroy
tushroy / OracleDynamicParameters.cs
Created August 20, 2017 11:12 — forked from vijayganeshpk/OracleDynamicParameters.cs
OracleDynamicParameters class for Dapper
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>>( );
@tushroy
tushroy / kms
Created October 25, 2018 05:49
KMS server Windows
Online kms host address:
--------
kms.digiboy.ir
54.223.212.31
kms.cnlic.com
kms.chinancce.com
kms.ddns.net
franklv.ddns.net
k.zpale.com
m.zpale.com
@tushroy
tushroy / sampleapi.json
Created April 20, 2020 08:05
sampleapi json
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "Customer Details API"
},
"host": "localhost",
"basePath": "/api/v1/custinfo",
"tags": [
{
{
"user":{
"name":"abcd",
"password":"saregama"
},
"token":"k7V3T0TgQsXqxfLCrdFjlbju61we4kNW"
}
[
{
"channelId" : "discovery-science",
"channelName" : "Discovery Science",
"url" : "http://streamidvo.multitvsolution.in/DiscoverScienceEng-a/playlist.m3u8",
"img" : "discovery-science.png"
},
{
"channelId" : "sony-aath",
"channelName" : "Sony Aath",
@tushroy
tushroy / proxmox-realtek-r8168.md
Last active April 2, 2025 19:09
Realtek r8168 Driver for Proxmox VE Kernel version 6.8

Realtek r8168 Driver for Proxmox VE Kernel version 6.8

Blacklist r8169 kernel driver for being loaded

echo blacklist r8169 >> /etc/modprobe.d/blacklist-r8169.conf

Once all of this is completed we are going to update our GRUB to have some specific kernel parameters for our realtek driver