Skip to content

Instantly share code, notes, and snippets.

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

JINKA RANGA BHARATH bharathjinka09

🏠
Working from home
View GitHub Profile
@bharathjinka09
bharathjinka09 / functions.php
Created February 14, 2019 04:46
Regarding adding a custom check box field to charitable plugin donation form in wordpress
<?php
/**
* Core functions and definitions for Reach Theme.
*
* @package Reach
*/
require_once( 'inc/class-reach-theme.php' );
/**
@bharathjinka09
bharathjinka09 / myscript.sh
Created October 19, 2020 07:59 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@bharathjinka09
bharathjinka09 / index.html
Created December 19, 2020 12:54
Simple CRUD with Vue.js
<div id="app">
<h4 class="head"> Application</h4>
<div class="container">
<!-- <div class="img-container">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAA1VBMVEX///9BuIM1SV4lsncQMUxCvoU0PVtBu4Q1R10+t4E1RV05tn80QVw0Q1w0P1s0tX3x+vef2b54y6Tp9/G24s3i9OxPvozD59bb8ObP7N6s3seGz65cwpSV1Lc/oHxIvIlwyJ87e283UWI8g3I6bWs+mHlBr4E5Zmg8iXR/zalAqX84W2VZwZI+nnuc17tBsoI+kXc3VmMlO1TH09Pl7ex3jZNIZXANNU2fsLMeRFYTO1A6dG0Aq2kOIEhsgooCKkixwMHX4OA0Mlkil25adH2JnKFegISv2nx/AAAHGElEQVR4nO2ba1vUOhRGyww4FxhmRAVUUMQLCio3ARG8HfH8/590HvGAVHabld3dNpkn67M2TTMm27XfZFkikUgkEolEIpFIJBKJRCKRSCQSiUQikVCwet5F/Pg86+TrsdfQx1/dj/z8g73e+WrxOG/mZwhzL4YdJ7OHHhM8nHU/cPhiDr3d/OOSgSZd9IyZ3TvuF+qfeszwtO9+4OIue7nupGykR2P0kLnnI/cbHXzEE/x44H7c6DlbwvGj8rHYZ5rpdcBHPyn9mDeYnLif1u/04Ls5BnvIfqe9l4vuGQ6/wBl+Af+sF1+yGXYfukbbgJvNDljE2e9ogt/BNtPfgdvMhnO4e3ARt8lms4NmSD7WnW24hPfc463DRTwjm803MMFvZJs5g0u4Tj7peIAeNrPgfrHOJzDeJ/CcBfZKgzGZYHafnRi912CKBz+dw/0ES7jwmv1Gx/fRDLNltohzm2Sz+eAY7APZZjbZb3SwzCaYrcLN5h05MS4cg12Qk+Id3GZKCtI
@bharathjinka09
bharathjinka09 / index.html
Created December 24, 2020 07:52
Vuejs Todo List
<div id="app">
<task-list :tasks="tasks"></task-list>
</div>
<template id="task-list">
<section class="tasks">
<h1>
Tasks
<transition name="fade">
<small v-if="incomplete">({{ incomplete }})</small>
@bharathjinka09
bharathjinka09 / util.js
Created May 27, 2021 04:34 — forked from gitdagray/util.js
Javascript Utility Functions
// Youtube tutorial here: https://youtu.be/LDgPTw6tePk
// These functions are designed to be exported, but you could create a class instead. See tutorial video.
// #1 proper case
export const properCase = (string) => {
return `${string[0].toUpperCase()}${string.slice(1).toLowerCase()}`;
};
@bharathjinka09
bharathjinka09 / ecoomerce-product-zoom-with-thumbnail-and-slider.markdown
Created July 30, 2021 04:24
ecoomerce product zoom with thumbnail and slider
@bharathjinka09
bharathjinka09 / typescript-crash.ts
Created August 20, 2021 16:20 — forked from bradtraversy/typescript-crash.ts
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple
@bharathjinka09
bharathjinka09 / cross-browser-qrcode.markdown
Created September 30, 2021 14:30
Cross-browser QRCode
@bharathjinka09
bharathjinka09 / drf-api-swagger-doc.md
Created February 1, 2022 07:37 — forked from dotja/drf-api-swagger-doc.md
Django REST Framework API documentation using Swagger

API Documentation with DRF and Swagger

Overview:

  • We need to create a schema. The schema outlines all the endpoints and actions of our API.

  • We need to create the documentation that is a more human-readable form of the schema.

Steps: