Skip to content

Instantly share code, notes, and snippets.

View khanakia's full-sized avatar
🎯
Focusing

Aman Bansal khanakia

🎯
Focusing
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 10 columns, instead of 2. in line 9.
1,"Eldon Base for stackable storage shelf, platinum",Muhammed MacIntyre,3,-213.25,38.94,35,Nunavut,Storage & Organization,0.8
2,"1.7 Cubic Foot Compact ""Cube"" Office Refrigerators",Barry French,293,457.81,208.16,68.02,Nunavut,Appliances,0.58
3,"Cardinal Slant-D® Ring Binder, Heavy Gauge Vinyl",Barry French,293,46.71,8.69,2.99,Nunavut,Binders and Binder Accessories,0.39
4,R380,Clay Rozendal,483,1198.97,195.99,3.99,Nunavut,Telephones and Communication,0.58
5,Holmes HEPA Air Purifier,Carlos Soltero,515,30.94,21.78,5.94,Nunavut,Appliances,0.5
6,G.E. Longer-Life Indoor Recessed Floodlight Bulbs,Carlos Soltero,515,4.43,6.64,4.95,Nunavut,Office Furnishings,0.37
7,"Angle-D Binders with Locking Rings, Label Holders",Carl Jackson,613,-54.04,7.3,7.72,Nunavut,Binders and Binder Accessories,0.38
8,"SAFCO Mobile Desk Side File, Wire Frame",Carl Jackson,613,127.70,42.76,6.22,Nunavut,Storage & Organization,
9,"SAFCO Commercial Wire Shelving, Black",Monica Federle,643,-695.26,138.14,35,Nunavut,Storage & Organization,
10,Xer
<section class="sectionArticle border-bottom">
<div class="container">
<h1 class="entry-title" itemprop="headline" style="text-align: center;">We Help Purpose-Driven Entrepreneurs<br>
To Change The World</h1>
<p style="text-align: center;">Tenbulls strives to help small business owners to live their passion and designing their life on their terms.<br>
We provide our customers with first-class web design support to build your brand online so you can focus on the things you love.</p>
</div>
</section>
@khanakia
khanakia / ubuntu.md
Created November 22, 2019 05:41
Ubuntu 18 Commands
@khanakia
khanakia / mongo_ubuntu.md
Last active November 22, 2019 05:05
Mongodb on Ubuntu 18
@khanakia
khanakia / install_nodejs.sh
Last active November 22, 2019 04:28
Install Node.js Ubuntu
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
## For Older Version you can use
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
@khanakia
khanakia / profiles.json
Created November 14, 2019 15:30
Windows Terminal Preview Profile.json
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"globals" : {
@khanakia
khanakia / index.js
Last active February 11, 2024 22:28
Render React.js Component from CommonJs File
const React = require('react')
var ReactDOMServer = require('react-dom/server')
const _app = require("./public/dist/admin/main.cjs")
var App = React.createFactory(_app)
console.log(ReactDOMServer.renderToString(App()))
@khanakia
khanakia / mysql_connection.cpp
Last active February 23, 2018 14:43
Connection To Mysql using mysql.h in C++ in Mac OSX
/*
By Default g++ uses clang compiler which comes with Xcode which is not a genuine compiler so you need to reinstall to have genuine compiler for g++
You can check version with g++ --version
1. Install macports using brew
2. sudo port selfupdate
3. sudo port install gcc46
4. sudo port select --set gcc mp-gcc46
5. Now check again gcc --version it should Say (gcc (MacPorts gcc46 4.6.4_11) 4.6.4) ...