Skip to content

Instantly share code, notes, and snippets.

View anburocky3's full-sized avatar
😎
Creating new stuffs.

Anbuselvan Annamalai anburocky3

😎
Creating new stuffs.
View GitHub Profile
@anburocky3
anburocky3 / FuelCostCalculator.js
Created August 11, 2022 18:20
Fuel Cost Calculator App made on ReactJS
import { useState } from "react";
function App() {
const [tripDistance, setTripDistance] = useState(0)
const [fuelConsumption, setFuelConsumption] = useState(0)
const [costPerLitre, setCostPerLitre] = useState(102)
const [totalCost, setTotalCost] = useState(0)
const calculateCost = () => {
const total_fuel_burnt = tripDistance / fuelConsumption
USER ID GENDER FOLLOWERS FOLLOWING
189941 Male 730 513
24195 Male 1073 1644
45082 Male 1961 1272
179352 Male 2750 2595
122942 Male 19 975
16262 Male 430 8388
166947 Male 321 52308
199190 Male 577 402
206755 Female 613 402
@anburocky3
anburocky3 / burp-suite-add-to-unity.sh
Created October 20, 2017 12:59
Shell script to add Latest Burp Suite Pro to Unity Launcher
# For example:
# If your burpsuite jar is named: burpsuite_pro_v1.7.11.jar
# ..and located at: /opt/burpsuite/
#
# export BURP_VER=1.7.11
# export BURP_PATH=/opt/burpsuite/
export BURP_VER=YOUR_VERSION
export BURP_PATH=YOUR_PATH
@anburocky3
anburocky3 / CaptureFaceBookReaction.html
Last active December 29, 2016 14:43
Counts Facebook Reactions with Token and display in web page.
<!--
How to use:
1.Create a facebook application here https://developers.facebook.com/apps/
- Open https://developers.facebook.com/tools/explorer , select your Application , select your FB Page, and copy access token :
This is called as the short lived access token, and will be valid for 30min or 1 hour
- Then open https://graph.facebook.com/oauth/ac...=<app_secret>&fb_exchange_token=<short_token> (replace the values correctly) .
This will give out another access token. Copy that token correctly from the response. It will be something like: