Skip to content

Instantly share code, notes, and snippets.

View hrishiksh's full-sized avatar

Hrishikesh Pathak hrishiksh

View GitHub Profile
@hrishiksh
hrishiksh / Check python2 version
Created July 20, 2021 12:47
Install BKChem in ubuntu 20.04 linux
python2 --version
// output
Python 2.7.18
@hrishiksh
hrishiksh / blur-index.js
Created July 17, 2022 19:37
detect and blur images pixlab
async function blurImage(faceCoordinate, imageUrl) {
try {
let blurimageResponse = await fetch("http://localhost:5000/mogrify", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
url: imageUrl,
coord: faceCoordinate,
@hrishiksh
hrishiksh / main.dart
Created October 18, 2022 10:41
Flutter routing with go_router
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:url_strategy/url_strategy.dart';
void main(List<String> args) {
setPathUrlStrategy();
return runApp(const MyApp());
}
class MyApp extends StatelessWidget {
@hrishiksh
hrishiksh / App-2.jsx
Created October 5, 2022 05:04
FaceIO react tailwind
import "./App.css";
import { useEffect } from "react";
function App() {
let faceio;
useEffect(() => {
faceio = new faceIO("fioa414d");
}, []);
@hrishiksh
hrishiksh / App.css
Created July 28, 2022 08:23
FaceIO reactjs gist
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
section {