Skip to content

Instantly share code, notes, and snippets.

@gokulraja
gokulraja / LLM.md
Created March 30, 2023 21:16 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@gokulraja
gokulraja / Python
Created March 4, 2023 09:13
Learning
https://github.com/Asabeneh/30-Days-Of-Python
@gokulraja
gokulraja / 55-bytes-of-css.md
Created September 25, 2022 19:15 — forked from JoeyBurzynski/55-bytes-of-css.md
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@gokulraja
gokulraja / FillData.py
Last active August 4, 2021 09:38 — forked from Aravindha1234u/FillData.py
Python Xlwings
import json
import xlwings as xw
import pandas as pd
fileName = 'Sample_Exhibit_01.xlsx'
metadata = "metadata.json"
sample_data = {
"ExhibitName01":{
var express = require('express'),
ntlm = require('express-ntlm');
const port = 3000;
var app = express();
app.use(ntlm({
debug: function() {
var args = Array.prototype.slice.apply(arguments);
console.log.apply(null, args);
},
var express = require('express'),
ntlm = require('express-ntlm');
const port = 3000;
var app = express();
app.use(ntlm({
debug: function() {
var args = Array.prototype.slice.apply(arguments);
console.log.apply(null, args);
},
@gokulraja
gokulraja / express_ntlm.js
Created May 13, 2020 12:42 — forked from Harish2997/express_ntlm.js
Express-ntlm to get user details
var express = require('express'),
ntlm = require('express-ntlm');
var app = express();
app.use(ntlm());
app.all('*', function(request, response) {
response.end(JSON.stringify(request.ntlm)); });
app.listen(9000);
@gokulraja
gokulraja / SimpleHTTPHandler
Last active April 30, 2020 14:43
Python Simple HTTP Hanlder
from http.server import HTTPServer, BaseHTTPRequestHandler
from io import BytesIO
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.end_headers()
self.wfile.write(b'Hello, World!')
import openpyxl
import pandas as pd
import json
import ast
wb = openpyxl.load_workbook(r'C:\Users\Ausu\Documents\C(Sharp) Projects\Sample_JsonGenMetadata.xltm')
def getSheetNameTable():
listofSheetName = []
worksheet = wb["Metadata"]
@gokulraja
gokulraja / json schema
Created December 18, 2017 08:33
datadump from postman export json schema
{
"$ref": "#/definitions/Welcome",
"definitions": {
"Welcome": {
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "integer"
},