Skip to content

Instantly share code, notes, and snippets.

View akashraj9828's full-sized avatar
๐ŸŒ
Shooting zombies with banana.

Akash Raj akashraj9828

๐ŸŒ
Shooting zombies with banana.
View GitHub Profile
@akashraj9828
akashraj9828 / web-servers.md
Created January 27, 2019 16:44 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
info : META:
Date: Fri Mar 8 18:34:17 2019
Current_time: 18:34:17
HostName : mypc
Local IP: 192.168.1.155
Public IP: 43.231.57.63
Working Dir: C:\Users\Akash\Desktop\py\pricebaba\login and signup
Dir_list: ['.vscode', '123.log', '8.3.19.log', 'check_login.py', 'clr.py', 'data.xlsx', 'data_26_2_19.xlsx', 'data_old_.xlsx', 'done.txt', 'exception.txt', 'exist.txt', 'failed.txt', 'full_log.txt', 'full_log2.txt', 'git.py', 'log.txt', 'login', 'login.py', 'login_log.txt', 'login_log2.txt', 'log_log.txt', 'pricebaba_req.py', 'probaly don't exist.txt', 'pxl.py', 'read.py', 'reg_emails.txt', 'signup', 'temp.py', '__pycache__']
@akashraj9828
akashraj9828 / settings.json
Last active April 24, 2020 21:57
My windows terminal config file
// SCHEMA
// https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md
// This file was initially generated by Windows Terminal 0.11.1121.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
@akashraj9828
akashraj9828 / index.html
Created May 17, 2020 19:41
SVG TEXT ANIMATION GENERATOR
<h1 class="msg">SVG TEXT ANIMATION GENERATOR</h1>
<div class="settings">
<div>
<label>Font:<select id="font-select"></select></label>
<label>Variant:<select id="font-variant"></select></label>
</div>
<div>
<label>Text: <input type="text" id="input-text" value="AKASH"></label>
<label>Size: <input type="number" id="input-size" value="100"></label>
@akashraj9828
akashraj9828 / gist:88a9a0fe3d5b4ee1ff1fef5ac2e6c3f5
Last active August 8, 2020 08:25
JS snippets for the web
// Send connection request to all // Linkedin
x=document.querySelectorAll("[data-control-name='people_connect']");
for(e of x){e.click()};
x=document.querySelectorAll("[data-control-name='invite']");
for(e of x){e.click()};
@akashraj9828
akashraj9828 / SSL
Created October 29, 2020 10:22
Get SSL without root/sudo
# downlaod acme.sh
wget https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh
# install acme.sh
sh acme.sh --install --force
# make ~/acme.sh
mkdir ~/acme.sh
mv acme.sh ~/acme.sh/
REM bulk_ren.bat
REM directory extenstion 1 extenstion 2
for /r ./src/layouts %%i in (*.ts) do ren "%%i" "%%~ni.tsx"
@akashraj9828
akashraj9828 / question.md
Last active August 4, 2023 09:41
Technical Discussion

Technical discussion

Questions are welcome.

Problem statement:

An IT company wants to screen the candidates that come through for the interview process. The company would like the application flexible and allow candidates from various domains are able to take a test.

@akashraj9828
akashraj9828 / @Task.md
Last active August 4, 2023 09:41
Take home Assingment

DESCRIPTION

We procure retail store shelf photos using our own mobile apps or using a thirdparty provider.

Every photo captured is assigned a unique id (imageUUID) and processed using CV algorithms. An analysis output is generated in JSON or TXT format (For this assigment we will be working with TXT format).

Every product detected (called as a "facing" and visually shown as a "bounding box" on the photo) has the following major properties

UPC = Unique product ID for the product detected on shelf.