Skip to content

Instantly share code, notes, and snippets.

View ganeshkumartk's full-sized avatar
Loves Coffee Chat with >_

Ganesh Kumar T K ganeshkumartk

Loves Coffee Chat with >_
View GitHub Profile
@ganeshkumartk
ganeshkumartk / About_me.md
Last active May 9, 2020 04:36
Hello world! to Gist with about me.

About Me

Hello world!, I'm Ganesh Kumar .


I'm doing Mechanical Engineering degree from IIITDM Kancheepuram, with Specialization:

  • Smart Manufacturing

IIITDM Kancheepuram

Having very few opportunities in those fields without Masters or Doctorate degrees, I thought I'd try something I've been doing (badly) for years as a hobby.

@ganeshkumartk
ganeshkumartk / index.html
Last active July 17, 2019 18:22
Logo_Anime.js
<div class="logo-animation">
<div class="letters">
<div class="letter letter-a">
<svg viewBox="0 0 162 162">
<g fill="none" fill-rule="evenodd" stroke="#5E89FB">
<path class="fill in" stroke-width="40" d="M101 141H81a60 60 0 1 1 0-120c33.14 0 59 26.86 60 60v80"/>
<path class="fill out" stroke-width="40" d="M141 161V81c-1-33.14-26.86-60-60-60a60 60 0 1 0 0 120h20"/>
<path class="line out" stroke-width="2" d="M121 161V81.33C120.18 58.59 102.7 41 81 41a40 40 0 1 0 0 80h20v40H81A80 80 0 1 1 81 1c43.8 0 78.66 35.27 80 79.7V161h-40z"/>
</g>
</svg>
@ganeshkumartk
ganeshkumartk / Things I Do.md
Last active June 6, 2019 15:46
Wha i Do ?!

What I do?

I code

Coding

I write articles

Writting Articles

Installing Node.js live-server

The NodeJS live-server package runs a temporary server displaying any HTML/CSS/JS resources in the current folder. It automatically reloads the page in your browser when any of these files change.

OS X

  • Verify that Node.js is installed. If you see anything when you run which npm in a terminal, it is. If not, follow the instructions at nodejs.org to install.
  • Install live-server: npm install -g live-server
  • Move your terminal to where your pages live: cd <path-to-content>
  • Start the server: live-server .

Installing Node.js live-server

The NodeJS live-server package runs a temporary server displaying any HTML/CSS/JS resources in the current folder. It automatically reloads the page in your browser when any of these files change.

OS X

  • Verify that Node.js is installed. If you see anything when you run which npm in a terminal, it is. If not, follow the instructions at nodejs.org to install.
  • Install live-server: npm install -g live-server
  • Move your terminal to where your pages live: cd <path-to-content>
  • Start the server: live-server .
@ganeshkumartk
ganeshkumartk / app.py
Created March 5, 2020 17:02
Keras live model serve flask backend
import os
import sys
# Flask
from flask import Flask, redirect, url_for, request, render_template, Response, jsonify, redirect
from werkzeug.utils import secure_filename
from gevent.pywsgi import WSGIServer
# TensorFlow and tf.keras
import tensorflow as tf
@ganeshkumartk
ganeshkumartk / index.html
Last active March 5, 2020 17:29
Index page: Place it in templates folder ---- main.css & main.js: Place in static folder
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='main.css') }}" />
  </head>
<body>
@ganeshkumartk
ganeshkumartk / util.py
Created March 5, 2020 17:31
Utilities for base64 conversion
"""Utilities
"""
import re
import base64
import numpy as np
from PIL import Image
from io import BytesIO
Patterns 🌥️ https://t.co/W3LbsLx7Ll
@ganeshkumartk
ganeshkumartk / GoogleHackMasterList.txt
Created March 13, 2020 14:46 — forked from cmartinbaughman/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www&#8221; domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com