Skip to content

Instantly share code, notes, and snippets.

View kumarvaradarajulu's full-sized avatar

kumarvaradarajulu

  • CrowdStrike
  • Bangalore, India
View GitHub Profile
@kumarvaradarajulu
kumarvaradarajulu / list.md
Created July 1, 2023 07:58 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@kumarvaradarajulu
kumarvaradarajulu / kvar_json_resume_schema.json
Created December 18, 2022 05:48
Custom JSON Resume schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"iso8601": {
"type": "string",
"description": "e.g. 2014-06-29",
"pattern": "^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$"
}
},
@kumarvaradarajulu
kumarvaradarajulu / Systems Design Template.md
Last active August 7, 2021 17:20
Systems Design Template

Systems Design Template!

Hi! I'm your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.

FEATURE EXPECTATIONS

StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!

Use cases

@kumarvaradarajulu
kumarvaradarajulu / sampleesume.json
Created August 1, 2021 04:38
Sample json resume
{
"basics": {
"name": "John Doe",
"label": "Programmer",
"image": "",
"email": "john@gmail.com",
"phone": "(912) 555-4321",
"url": "https://johndoe.com",
"summary": "A summary of John Doe…",
"location": {
@kumarvaradarajulu
kumarvaradarajulu / next_nginx.md
Created May 31, 2020 15:12 — forked from kocisov/next_nginx.md
How to setup next.js app on nginx with letsencrypt

How to setup next.js app on nginx with letsencrypt

next.js, nginx, reverse-proxy, ssl

1. Install nginx and letsencrypt

$ sudo apt-get update
$ sudo apt-get install nginx letsencrypt

Also enable nginx in ufw

@kumarvaradarajulu
kumarvaradarajulu / System Design.md
Created May 4, 2020 08:51 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@kumarvaradarajulu
kumarvaradarajulu / config.py
Created March 7, 2020 15:49
Json file to Python object
#usr/bin/python
"""
Module that reads config.json and creates a Config object.
Config object add methods to access json nested data as regular Python objects with nested dot calls.
Input config.json:
{
"one": {
@kumarvaradarajulu
kumarvaradarajulu / jio_control.ini
Last active December 26, 2019 07:56
Jio download control
YES
""""""""""""""""""""""VUNDLE PLUGIN""""""""""""""""""""
" 不兼容vi
set nocompatible
" 不检测文件类型
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
@kumarvaradarajulu
kumarvaradarajulu / gunicorn_with_virtualenv
Created June 5, 2016 08:04 — forked from shrkw/gunicorn_with_virtualenv
CentOS init script for Gunicorn with Virtualenv
#!/bin/sh
#
# gunicorn_sr Startup script for gunicorn for sr
#
# chkconfig: - 86 14
# processname: gunicorn
# pidfile:
# description: Python application server
#
### BEGIN INIT INFO