Skip to content

Instantly share code, notes, and snippets.


Naveen naveensrinivasan

View GitHub Profile
naveensrinivasan / main.go
Created Oct 10, 2022
An example to use Scorecard API to check for which repositories are maintained
View main.go
package main
import (
naveensrinivasan / scorecard-action-fork-main-results.sarif
Created Apr 9, 2022
scorecard-action sarif results between main and Golang-staging
View scorecard-action-fork-main-results.sarif
"$schema": "",
"version": "2.1.0",
"runs": [
"automationDetails": {
"id": "supply-chain/branch-protection/33f80c93dc79f860d874857c511c4d26d399609d-09 Apr 22 22:41 +0000"
"tool": {
"driver": {
View linkedlist.go
func removeNthFromEnd(head *ListNode, n int) *ListNode {
cur,cur2,counter:= head,head,0
if head == nil{
return head
for cur!= nil && cur.Next != nil{
cur = cur.Next.Next
View projects.txt
View cVimrc
" hi there!
let mapleader = ","
map W :tabdetach<CR>
map A :tabattach<Space>
map U lastClosedTab
map O :history<Space>
map yt :duplicate<CR>
map <C-s> openSearchBar
map <C-r> openSearchBarReverse
naveensrinivasan / cVim-alfred.css
Created Jun 4, 2019 — forked from franklinjavier/cVim-alfred.css
cVim theme inspired by Yosemite Spotlight
View cVim-alfred.css
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar {
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, Arial;
font-size: 9pt !important;
-webkit-font-smoothing: antialiased !important;
border-radius: 4px!important;
#cVim-link-container {
position: absolute;
pointer-events: none;
View splitter.sol
pragma solidity ^0.4.23;
contract Splitter {
address sender;
address public receiver1;
address public receiver2;
event AmountTransferred(address owner, uint amount);
constructor(address _sender,address _receiver1, address _receiver2) public{
View dns.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have columns, instead of 6. in line 3.
Name,"Full name","Description","Location","Coordinates",URL,Version,DNSSEC validation,No logs,Namecoin,Resolver address,Provider name,Provider public key,Provider public key TXT record
adguard-dns-family,"AdGuard DNS Family Protection","Adguard DNS with safesearch and adult content blocking","Anycast","",,1,no,yes,no,,,B831:5DD7:B14B:6EE3:20A4:70DC:2ED6:B1AA:398C:C9E5:86F8:5D45:45D6:B8C9:B500:5ABA,
adguard-dns,"AdGuard DNS","Remove ads and protect your computer from malware","Anycast","",,1,no,yes,no,,,D12B:47F2:52DC:F2C2:BBF8:9910:86EA:F79C:E449:5D8B:16C8:A0C4:322E:52CA:3F39:0873,
adguard-dns-family-ipv6,"AdGuard DNS Family Protection (IPv6)","Adguard DNS with safesearch and adult content blocking","Anycast","",

Setting up minikube for development

Minikube lets you simulate a cluster using virtualbox locally. It can be used to test and debug locally instead of the cloud.


These prerequisites that are required to run minikube are

  • Docker
  • kubectl
  • virtualbox